
laya
Python
Typed decisions in 100 languages in 33 ms

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
- Use cases
- / Triage support tickets to departments in milliseconds
- / Moderate user-generated content in any language zero-shot
- / Route customer inquiries by urgency and priority in batch
Stars25k
Forks2.2k
Stars / day418.5
LicenceApache-2.0
- calibration
- classification
- decision-model
- huggingface
- jev
- modernbert
- multilingual
- nlp
- python
- pytorch
Useful? Star it. That is the only thanks most maintainers get.
Also from NandhaKishorM
- laya★ 25k