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 #546 from aashish254/feat-cli-model-aliases
Nandakishora4986f64f7ad
diff --cc README.mdindex 9bc735b3,05da2736..acd32b79--- a/README.md+++ b/README.md@@@ -198,9 -198,8 +198,10 @@@ Installing the package also installs alaya "I was charged twice, please refund" # routing decision only; works offline, no downloadlaya "Refactor this service" --predict # full answers (downloads the checkpoint on first use)laya "Mein Konto wurde zweimal belastet" --lang de # force a language instead of detecting it+ laya "My payment failed twice" --model ml # pin a checkpoint: names, aliases and casing all resolve as the SDK resolves themlaya "My payment failed twice" --preset triage # answer a ready-made preset (triage, email, guard, moderation, router)+laya --batch tickets.txt --predict # score a file of requests, one per line, in one batch+cat tickets.txt | laya --batch - --predict --json # stdin; one JSON line of answers per requestlaya # interactive mode```diff --cc laya/cli.pyindex 2a455a7a,a9d23b63..8ea3b611--- a/laya/cli.py+++ b/laya/cli.py@@@ -4,9 -4,8 +4,10 @@@laya "Refactor this service" --predict # full answers, loads the checkpointlaya # interactive modelaya "Mein Konto wurde zweimal belastet" --lang de # explicit language+ laya "My payment failed twice" --model ml # pin a checkpoint, by name or aliaslaya "My payment failed twice" --preset triage # a ready-made question preset+ laya --batch tickets.txt --predict # a file of requests, one per line+ cat tickets.txt | laya --batch - --predict --json # stdin, one JSON line of answers eachRouting (the default) never downloads a checkpoint, so it works offline andreturns in milliseconds. --predict loads the routed checkpoint on first use,