Skip to content

Jev directory

Laya

Open multilingual System 1 decision models with published checkpoints for choice, score and noul questions, plus a router that dispatches each request to the right checkpoint in one forward pass.
Stars
33.3k
Language
Python
License
APACHE-2.0
Reading time
3 min
Published by
Community
Author
NandhaKishorM
Last verified
Sep 2026

About this project

Multilingual, non-autoregressive System 1 decision engine. Typed decisions over 100+ languages in a single forward pass — 33 ms — trained with reinforcement learning against strictly proper scoring rules (RLCD), with a router that picks the right checkpoint per request. With uv, run uv add laya in a uv project or uv pip install laya in a virtual environment.

Quoted from the project's README. Read the full README.

Highlights

  • Three checkpoints cover English (ModernBERT-large, 421M) and 100+ languages (mmBERT-base, 322M), with a Router picking per request.
  • Answers typed choice, score and noul questions in one forward pass: 33 ms for one question and 7.2 ms per question batched on a T4.
  • Trained with RLCD, reinforcement learning against strictly proper scoring rules, with a predict_shortlist path for many labels.
  • The README reports Jev gave zero probability to the true label on 16% of DAIR Emotion examples and scored 0.425 on 77-label Banking77.
  • Base checkpoints score near chance zero-shot (0.36 and 0.35 against a 0.318 baseline) while the fine-tuned checkpoint reaches 0.766.

Quickstart

python
import laya
from laya import Router

router = Router(preload=True)
state = {"body": "We were billed twice. Please refund the duplicate today."}
questions = {"department": {"type": "choice", "instructions": "Which department should handle this?", "criteria": {"billing": "invoices, payments, refunds", "technical": "bugs, outages", "sales": "pricing"}}}
res = router.predict(state, questions)
print(res["answers"]["department"]["choice"])

Watch out

Apache-2.0, developed by Convai Innovations. Needs Python 3.10+ and a GPU for fast inference; Jev comparisons use different prompts and sample sizes, raw calibration is weak, and it is not affiliated with TypeSafe.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

Hacker News: ASTGL replay chose local Laya routing over hosted Jev on one Mac Studio setup.

Jmeg8r15 pointsDoes an open-weight decision model beat a hosted one? Jev vs. LayaRead the thread on Hacker News

Reddit: High-traffic thread on open Laya weights versus TypeSafe's hosted Jev launch.

Reddit: A walkthrough of routing between models with Jev.

X: Standard One SH (StandardThinking)

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai