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 pull request #515 from Bruce-Yii/fix/router-route-batch-hooks-timeout
Nandakishorada23b0eecf1
diff --cc laya/router.pyindex 6bdeaecc,3353b044..2b477a93--- a/laya/router.py+++ b/laya/router.py@@@ -838,8 -744,7 +849,8 @@@ class Router(HookRegistry)Returns:One normal Router prediction result per request, in the same order as the input."""+ mc = check_min_confidence(min_confidence) if min_confidence is not None else None- decisions = self.route_batch(requests)+ decisions = self.route_batch(requests, hooks_timeout=hooks_timeout)if not decisions:return []