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
docs(dotnet): the router example must pass a state shape Predict can serialize
Adeshina Lasisic090c711769f
diff --git a/laya-dotnet/README.md b/laya-dotnet/README.mdindex 8616cf93..02df368a 100644--- a/laya-dotnet/README.md+++ b/laya-dotnet/README.md@@ -481,8 +481,10 @@ override), loading checkpoints lazily under an LRU cache:```csharpusing var router = new LayaRouter(new LayaRouterOptions { MaxLoaded = 2 });-var result = router.Predict(new { message = "I was charged twice" }, questions); // -> english-var deDe = router.Predict(new { message = "Mein Konto wurde zweimal belastet" }, questions); // -> multilingual+var result = router.Predict(+ new Dictionary<string, object?> { ["message"] = "I was charged twice" }, questions); // -> english+var deDe = router.Predict(+ new Dictionary<string, object?> { ["message"] = "Mein Konto wurde zweimal belastet" }, questions); // -> multilingualConsole.WriteLine(result.Routing!.Reason); // "English Latin text"```