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
load(): declare the VegaAgent forward reference for the type checker
Nandakishoraec33ac03779
diff --git a/laya/agent.py b/laya/agent.pyindex 6cab09cd..5397af06 100644--- a/laya/agent.py+++ b/laya/agent.py@@ -2178,6 +2178,7 @@ def _is_local_checkpoint_arg(model_id_or_path: str) -> bool:if TYPE_CHECKING: # pragma: no cover - the annotation below is the only usefrom .onnx_agent import ONNXAgent+ from .vega import VegaAgentdef load(model_id_or_path: str = "convaiinnovations/laya", device: Optional[str] = None,