Build your own single-pass decision model: masking vocabulary with Qwen3-1.7B to mimic Jev
bibryam · x · 2026-10-11
Nish Tahir breaks down how "System one" decision models like Jev work and how to replicate them. Even with Structured Output, an LLM needs one forward pass per token (11 in his example) to emit valid JSON. Decision models instead assume a fixed option set (A–E), mask the vocabulary to those tokens, and pick the highest-probability answer in a single pass. The author demos this with Qwen/Qwen3-1.7B and transformers, including full code and a visualization. He also cautions that constrained output doesn't guarantee correctness, and that raw token probabilities aren't calibrated confidence scores without extra training.
More from Research
- 2026 study: girls' STEM interest rose far more with female tutors than male tutors — DynamicWebPaige · 2026-12-02
- GXL launches Paperclip, a scientific evidence knowledge layer built for AI agents — james_y_zou · 2026-12-02
- ASTEROID: distilling exploration from privileged experts cuts training interactions ~100x — natashajaques · 2026-12-02
- Google open-sources CellGemma, a virtual cell model for drug screening on a single GPU — TinfoilTricorn · 2026-12-02
- UK study: 1-on-1 AI tutoring nearly erased the math gender gap for 1,100+ kids — DynamicWebPaige · 2026-12-02
- auto-optimize speeds up GPN-Star variant-effect scoring by 1.87x-3.80x in open PR — jmschreiber91 · 2026-12-02