Back to repos

laya

Python

Typed decisions in 100 languages in 33 ms

NandhaKishorM/laya on GitHub

What you get

Give Laya your state (text, email, ticket, JSON) and your schema (choose from, score, yes/no). It evaluates all questions in a single forward pass, routes between English and multilingual checkpoints automatically, and returns calibrated confidence scores. Zero-shot or fine-tune on your own domain for higher accuracy.

Why it exists

Single forward pass for all questions; no text generation, nothing to hallucinate, no parsing needed

How it works

Router detects script and language in <1 ms; 100+ languages zero-shot; 0.766 accuracy fine-tuned on domain tasks

For
Teams building support triage, content moderation, or decision workflows that need instant, calibrated decisions

Stars25k
Forks2.2k
Stars / day418.5
LicenceApache-2.0

Useful? Star it. That is the only thanks most maintainers get.

Also from NandhaKishorM