Laya: Open-Source Model Returns Calibrated Probabilities in 33ms Across 100+ Languages

victormustar · x · 2026-10-06

Laya (Apache 2.0, 5.2k+ likes) is now on Hugging Face: a multilingual, non-autoregressive System 1 decision model. Given a state (text, email, ticket, or JSON) and typed questions, it returns typed answers with mathematically calibrated probabilities in a single forward pass (33 ms) across 100+ languages.\n\n- Training: reinforcement learning against strictly proper scoring rules (RLCD), so reporting honest probabilities is the only way to maximise reward\n- No text generation: nothing to parse, nothing to hallucinate\n- Deployment: pip install laya, with optional extras for HTTP server, MCP server, LangChain/LangGraph, and ONNX Runtime\n- Long documents: the multilingual variant reads up to 8,192 tokens (default 1,024 truncates; pass maxlen=8192). Accuracy holds up to 4,000 tokens (16-18/20 correct) but varies beyond that (8-17/20)

Original post →

More from coding & agent

coding & agent channel →