Skip to content

Minojev

Local decision models that return Jev-shaped typed distributions instead of generated text: freeze a backbone, cache candidate features once, train a roughly 0.8M-parameter decision head, calibrate per primitive.

Stars
22
Language
Python
License
MIT
Published by
Community
Author
zeredy879
Last verified
Oct 2026

zeredy879/minojev

User repository on GitHub

View on GitHub

Decisions, not tokens: minojev reads calibrated, typed probability distributions straight from hidden states in one forward pass — zero output tokens, fully reproducible on a laptop CPU.

Forks
1
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.Homepage

About this project

简体中文 · English · Live demos · Benchmark · Models · Data. Typed decisions, not text. choice (2–255 candidates), boolean, and score (2–10 levels) return complete probability distributions. Zero output tokens. Every record reports decodesteps: 0; there is nothing to parse and no format to break. Head training is the core. Freeze any language model, train only the small decision head, and get a calibrated decision layer in minutes.

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

Highlights

  • Every record reports decode_steps: 0, so there are no output tokens and no format to parse, and the full candidate distribution comes back each time.
  • On a bundled 120-decision suite the head-trained model scores 95.8% against 80.0% for a same-backbone generative baseline, at a fifth of the p95.
  • A zero-training route reads declared option logits directly at letter slots and scores 88.3% on that same suite, with no head training at all.
  • The head is a shared scorer plus set attention at about 0.8M parameters, trained on cached hidden states, so the frozen backbone never updates.

Watch out

This is not a client for the hosted API. It ships its own models and data on Hugging Face and runs locally: the bundled release freezes Qwen3-1.7B, caches candidate hidden states, trains the head and fits one temperature per primitive on held-out outcomes. The comparison is internal and narrow. Same backbone, same questions, same prompts, a generative baseline with thinking disabled that is told to answer with a single letter, and a suite of 120 balanced decisions across banking77, CLINC150, Amazon Polarity and GSM8K verification. ECE is not available for the generative baseline, so only the head-trained and logits numbers are calibrated. On a deliberate out-of-distribution workload of never-trained customer support domains the head-trained model scored 31.7% against 40.0% for the zero-shot generative baseline, and the README says plainly that head training specializes and is not a substitute for data breadth. The 97.5% accuracy and 98.9%-at-confidence-0.9 figures come from a separate 200-request run of the calibrated release, not the 120-decision table. Latency numbers are from the author's machine and the README gives hardware only as an Apple Silicon laptop for training, minutes rather than a benchmark host. Question ids are never placed in the model input, choice takes 2 to 255 candidates and score 2 to 10 ordered levels. Our README copy is truncated inside the repository layout listing, so modules past src/minojev/logits.py are not documented here. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

16GitHub stars
Vendor-neutral harness that tests whether Jev reranking improves a small RAG stack, using frozen hybrid BM25 plus BGE-M3 candidates and isolating retrieval, rerank, and generation stages.
Jev Practices & Patterns#community#jevbest#catalog-import
1GitHub stars
Runnable benchmark putting Jev, jev-preview and Claude Sonnet 5 through one real agent task — classifying a tool call as readonly, destructive, privileged or exfiltration — on the same 60 labelled cases, with raw per-call results committed.
Jev Practices & Patterns#community#awesomejev#catalog-import
1GitHub stars
Benchmark of Jev as a production reranker against Qwen3-Reranker-0.6B on BEIR SciFact and NFCorpus. Ranking quality is a wash, Jev runs about twice as fast with a much tighter tail, and the cross-encoder costs roughly a quarter as much. Every raw API response is committed, so the numbers recompute without an API key.
Jev Practices & Patterns#community#awesomejev#catalog-import
24GitHub stars
Unofficial laptop study of parallel constrained decoding: prefill once, share the KV cache across fields, and decide all schema fields in one batched forward pass without writing JSON.
Jev Practices & Patterns#community#jevbest#catalog-import
17GitHub stars
Local offline System One server speaking the hosted /v1/systemone wire format, so existing SDK code runs unchanged against small on-machine models.
Jev Practices & Patterns#community#awesomejev#catalog-import
39GitHub stars
Reproduction kit that rebuilds a frozen typed-decision benchmark suite from public sources and runs any engine through it with resume, scoring, and index computation.
Jev Practices & Patterns#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

Most Jev accuracy problems are state problems. What belongs in a state, what is a pre-made judgment to leave out, and why naming the slice you ask about matters more than the wording.
Jev Practices & Patterns#state#design#primitives
Read article
A Noul returns one number and no separate confidence. How to read the value, pin its boundary with criteria, split compound questions, and set a per-action threshold that matches the cost of being wrong.
Jev Practices & Patterns#noul#primitives#confidence
Read article
A Score is a weighted position, not a ruler. Why the number can land between levels, why levels are judged separately, and how to combine several atomic scores in code instead of one crowded rubric.
Jev Practices & Patterns#score#primitives#scoring
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai