Hugging Face Transformers Introduces Decision Models Primitive
On November 10, Hugging Face merged PR #50054 into the Transformers library, adding a "decision models" primitive and introducing the AutoModelForDecision interface. Maintainer Lysandre Jik believes this may matter more than supporting any single model.
Confirmed
- Transformers merged PR #50054 from Jev and decision core, adding the decision models primitive
- The new AutoModelForDecision is positioned as "an interface, not an implementation": it defines a unified input/output structure for easy integration while leaving each model free in its implementation
- Unlike traditional LLMs generating text (e.g., outputting JSON to answer a classification question), decision models directly evaluate given options and return a probability distribution — well suited to tasks that don't need text generation, such as customer support ticket routing and classification
- Hugging Face published a systematic tutorial introducing Decision Models
- Beyond the transformers integration, decision models can also run directly via llama.cpp
- tomaarsen recommended the Decision Index benchmark, covering decision capabilities across 275 models, some of which already have native transformers support
Why it matters
- This is an architecture-level extension to the Transformers library, establishing "directly outputting decision distributions" as a first-class capability instead of the indirect approach of having LLMs generate JSON
- tomaarsen said he is bullish on consistent output structures from models, seeing them as valuable for machine learning tasks
- The Decision Index and llama.cpp support show a usable toolchain already exists in this ecosystem, making it easy for developers to evaluate and deploy
2026-11-10 ~ 2026-11-10 · 6 related posts
Primary sources
- Hugging Face adds Decision Models to transformers: probability distributions over choices, no text generation — tomaarsen ·
- Decision Index benchmarks 275 models, with several now natively supported in transformers — tomaarsen ·
- Hugging Face Transformers merges decision models primitive: Jev, KEV, CLEF, Decider — multimodalart ·
- [source] Hugging Face Transformers merges decision models primitive: Jev, KEV, CLEF, Decider — multimodalart · 2026-11-10
- Hugging Face explains Decision Models: probability outputs without text generation — ariG23498 · 2026-11-10
- [source] Hugging Face adds Decision Models to transformers: probability distributions over choices, no text generation — tomaarsen · 2026-11-10
- Hugging Face adds AutoModelForDecision interface to transformers for decision models — tomaarsen · 2026-11-10
- [source] Decision Index benchmarks 275 models, with several now natively supported in transformers — tomaarsen · 2026-11-10
- Decision Index benchmarks 275 models; some now natively supported in transformers — tomaarsen · 2026-11-10