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)
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29