madewithlaya

Catalog / Documents & data

0102GitHub

jevbench: Jev vs GPT-5-mini, Claude Sonnet 5, fine-tuned DistilBERT, BART NLI and Laya

Six classifiers over SST-2, AG News and more, reporting accuracy, macro-F1, ECE, p50/p95 latency, throughput and cost side by side. Laya runs locally on MPS or CPU.

Open source ↗ github.comcost$0 for the local rowstime-
dhruvmehra/jevbenchREADME ↗
# jevbench

Is TypeSafe's **JEV** a better text classifier than LLMs, BERT, or the open-weights
alternatives? This is a small, reproducible benchmark that runs six classifiers over
three public datasets and reports accuracy, calibration, latency, throughput and cost
side by side.



Full tables with macro-F1, ECE, p50/p95 and throughput: [`docs/results/2026-09-22-n500-summary.md`](docs/results/2026-09-22-n500-summary.md).

## What is being compared

| Classifier | What it is | Runs |
|---|---|---|
| `jev` | TypeSafe `typesafe/jev-1.13`, a "System One" model. One `choice` question per example, returns per-label probabilities. | OpenRouter **Decisions API** (`/api/alpha/decisions`, not chat completions) |
| `laya` | Convai `convaiinnovations/laya`, open-weights (Apache 2.0) System One model, 421M params, same question format as JEV | local, MPS or CPU |
| `llm-cheap` | small fast LLM (default `openai/gpt-5-mini`), JSON-schema enum output | OpenRouter chat completions |
| `llm-frontier` | frontier LLM (default `anthropic/claude-sonnet-5`), same prompt | OpenRouter chat completions |
| `bert-ft` | `distilbert-base-uncased` fine-tuned per dataset on up to 10k train examples | local, MPS or CPU |
| `bert-zs` | `facebook/bart-large-mnli` zero-shot NLI | local, MPS or CPU |

| Dataset | HF repo | Labels | Eval split |
|---|---|---|---|
| `sst2` | `stanfordnlp/sst2` | 2, sentiment | validation |
| `agnews` | `fancyzhx/ag_news` | 4, topic | test |
| `banking77` | `legacy-datasets/banking77` | 77, intent | test |

A fixed, seeded sample of N examples (default 500) is drawn from each held-out split.
Every zero-shot model receives the **same label descriptions**, defined once in
`src/jevbench/datasets.py` and reused for JEV criteria, Laya criteria, the LLM prompt
and the NLI hypothe

Also filed under Documents & data

  1. 0104

    zero-shot-ie-bench: GLiNER 2.5, GLiFormer, GLiClass, Laya, Von and Jev in one web UI

    Seven zero-shot extraction and classification families demoed, benchmarked and cross-compared, with sizes, licences and costs in one table.

    @umstek · Documents & data · free for the local rows

  2. 0103

    Zero-shot benchmark: Laya's advertised win over Jev does not reproduce on four datasets

    Frozen protocol, raw predictions, calibration and latency for Jev 1.13, PrismNLI-0.4B and Laya. Laya ties Jev on dair-ai/emotion and trails by 10–33 points elsewhere.

    @elcronos · Documents & data

  3. 0098

    Agentic GraphRAG over S&P 10-Ks with Laya as a shadow decision engine beside Jev

    Anthony Alcaraz's talk demo routes typed decisions through Jev and shows Laya's answers beside them. On the TSMC run Laya rejected every true claim; that's the point.

    @AnthonyAlcaraz · Documents & data · free (Laya shadow); Bedrock for reasoning

  4. 0087

    chunklaya: why Laya stops reading after ~200 tokens, and a chunking harness that fixes it

    Measures the decision head's attention drop-off on long inputs across 400 documents, then chunks, screens and aggregates, or locates the one passage that matters.

    @myxamediyar · Documents & data · free, no extra cost over a larger context window