Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
Merge PR #804
Nandakishord25c9bd3803c
diff --cc tests/test_hooks_api.pyindex d86d7d1e,9aeca9de..367c856b--- a/tests/test_hooks_api.py+++ b/tests/test_hooks_api.py@@@ -1092,13 -962,17 +1093,23 @@@ check_param("evaluate_shortlist", evalucheck_param("evaluate_shortlist", evaluate_shortlist, "dataset_path", None)for param in ("checkpoint_id", "embedder_id"):check_param("evaluate_shortlist", evaluate_shortlist, param, inspect.Parameter.empty)+ # The framework integrations send the two routing hints (`task`, `lang_guess`) in the same body, so+ # "a chain step and a raw HTTP client get the same answer" has to hold of them too. If serve dropped+ # one from `BODY_CONTROLS`, a wrapper sending it would get a 422 its caller cannot fix from the+ # integrations -- this says so at the shared declaration instead of at a request.+ from laya.integrations._controls import ROUTER_ONLY_CONTROLS as _router_only # noqa: E402++ check("serve accepts every routing hint an integration sends",+ [key for key in _router_only if key not in _http_controls], [])+ check("routing hints are not among serve's refusals",+ sorted(set(_router_only) & set(_http_refusals)), [])+from laya.evals_tournament import evaluate_tournament # noqa: E402++check_param("evaluate_tournament", evaluate_tournament, "group_size", 16)+check_param("evaluate_tournament", evaluate_tournament, "dataset_path", None)+check_param("evaluate_tournament", evaluate_tournament, "checkpoint_id", inspect.Parameter.empty)+# docs/hooks/examples.md ## Composition teaches one scope ordering contract; the pre-fix wording# ("Installed hooks first, then convenience callables") named only two tiers and put installed at