T-Decision-1 (T-Bank): Five Open Decision Models from 0.8B to 27B

Cover image for article 1170

T-Bank has released T-Decision-1 — a family of five open decision models with parameter counts from 0.8 to 27 billion. The models take a context, a question, and a set of allowed answer options as input, score the probability of every option in a single pass, and return the selected one. Use cases: routing support tickets, checking rule compliance, evaluating response quality, and classifying intent. All the models are open under the Apache 2.0 license and are available on Hugging Face and in GGUF format for local deployment.

Architecture and approach

Unlike generative LLMs, which produce free-form text, decision models solve a classification problem with multiple classes where the classes themselves are defined dynamically for each request. Input: context (a description of the situation), question (what needs to be decided), options (an array of allowed answer strings). Output: the index of the chosen option plus a probability distribution across all the options. This lets you use the model as a controllable router: there is no free-form output to parse, and the probabilities provide calibrated confidence.

The T-Decision-1 family is built on the ModernBERT architecture (encoder-only, bidirectional attention) with modifications for ranking and classification. Training proceeded in three stages. First, Masked Language Modeling on a Russian-English corpus (1.2T tokens) to build basic language understanding. Second, contrastive pre-training on (context, option) pairs with binary relevant/irrelevant labels, teaching the model to select the relevant options. Third, listwise fine-tuning on annotated data with multiple options, which directly trains the ranking of an option list. The loss is ListMLE / Softmax Cross Entropy over the logits of all options.

Five sizes: from an embedding model to a flagship

ModelParametersSize (GGUF Q4_K_M)Speed (CPU, tok/s)Recommended use case
T-Decision-1-0.8B0.8B~0.5 GB~1200Edge, mobile, ultra-low latency
T-Decision-1-1.5B1.5B~0.9 GB~800High-load microservices
T-Decision-1-4B4B~2.5 GB~350Balance of quality and speed
T-Decision-1-8B8B~5 GB~180Complex rules, many options
T-Decision-1-27B27B~16 GB~50Maximum quality, offline

All the models support a context of up to 8192 tokens (for the 0.8B-4B tier) and 16384 tokens (for 8B-27B). The tokenizer is BPE with a vocabulary of 65536 tokens, multilingual (Russian, English, code).

Benchmarks: decision-making quality

The evaluation was performed on internal T-Bank datasets (ticket routing, compliance checks, intent classification) and on open benchmarks (MMLU-style multiple choice, BoolQ, WiC):

  • Ticket Routing (internal, 50 classes): 0.8B — 87.2%, 1.5B — 91.5%, 4B — 94.8%, 8B — 96.1%, 27B — 97.3% accuracy.
  • Rule Compliance (a check of 200+ rules): 0.8B — 82.1% F1, 4B — 90.4%, 27B — 94.7% F1.
  • MMLU (multiple choice, 57 tasks): 4B — 68.2%, 27B — 78.9% (for comparison: ModernBERT-base 4B — 65.1%).

The key advantage is calibrated probabilities: the ECE (Expected Calibration Error) is 0.023 for the 4B model and 0.011 for the 27B model. This makes it possible to set confidence thresholds (for example, auto-accept when p > 0.95 and escalate to a human when p < 0.7).

Local deployment and integration

The models are released in GGUF (Q4_K_M, Q5_K_M, Q8_0) and Safetensors formats. An example of launching via llama.cpp:

./llama-server -m t-decision-1-4b-Q4_K_M.gguf \
  --ctx-size 8192 \
  --embedding \
  --port 8081

For decision tasks the embedding mode is used (the logits for all the options are obtained in a single forward pass). The API is compatible with the OpenAI embeddings endpoint with an options extension in the request body.

Integration in Python:

import requests
resp = requests.post("http://localhost:8081/v1/decision", json={
    "context": "The client complains about a charge for a subscription they never signed up for",
    "question": "Which department should the ticket be routed to?",
    "options": ["billing", "fraud", "support", "tech"]
})
print(resp.json()["choice"], resp.json()["probs"])
# {"choice": "fraud", "probs": {"billing": 0.12, "fraud": 0.81, "support": 0.05, "tech": 0.02}}

Comparison with generative LLMs and classical classifiers

ApproachLatency (4B, CPU)Structured outputProbability calibrationTraining on custom classes
T-Decision-1~3 msNative (index + probs)ECE 0.023Fine-tuning on your own data
LLM (Qwen 4B) + prompt~150 msRequires parsingPoor (overconfident)Few-shot / prompt engineering
BERT-classifier (fine-tuned)~5 msNativeRequires calibrationFull retraining

T-Decision-1 occupies the niche between the flexibility of LLMs (any classes on the fly) and the speed of classical classifiers. Fine-tuning on your own data takes 1-2 hours on a single GPU (LoRA, rank 16) and delivers a 3-5% gain on domain-specific tasks. For guidance on choosing a model for a task, see our model selection guide.

Practical deployment scenarios

  1. Automatic routing of support tickets. The context is the ticket text plus client metadata. The options are departments or queues. An auto-accept threshold of p > 0.95 covers 70% of tickets, and the remaining 30% go to manual sorting. This cuts the MTTR (mean time to route) from 15 minutes to under 1 minute.
  2. Compliance checks for transactions and actions. The rules are encoded as options: “compliant”, “non_compliant”, “requires_review”. The model evaluates every action in 2-3 ms, which makes real-time blocking of suspicious operations possible.
  3. Quality evaluation of RAG system answers. The context is the question plus the retrieved chunks plus the generated answer. The options are “faithful”, “hallucinated”, “partial”, “irrelevant”. The model works as a reward model in RLHF or as a filter before the answer is shown to the user. The open model decision tree is covered in our breakdown.
  4. Intent classification for voice assistants. The low latency (0.8B — 1.2 ms on CPU) allows the model to be embedded into on-device ASR → NLU → Action pipelines.

Useful resources: T-Bank ML repositories, Transformers documentation.

Spoiler: using a decision model for routing and classification in production

A practical checklist for rolling out T-Decision-1 in production:
  1. Pick the size: for high load (over 10k requests per minute) take the 1.5B model; for a balance of quality and speed take the 4B; for maximum offline quality take the 27B.
  2. Prepare a fine-tuning dataset: at least 500 examples per class in the {context, question, options, label} format. Use LoRA rank 16, a learning rate of 1e-4, and 2 epochs.
  3. Set up calibration: measure the ECE on a validation set and apply temperature scaling if needed (T=1.0-1.5).
  4. Deploy: llama.cpp server in embedding mode, request batching (batch_size 32-64), and health checks via /health.
  5. Monitoring: p99 latency under 50 ms, accuracy measured on shadow traffic, and drift detection based on the distribution of probs.
  6. Fallback: if the model becomes unavailable, apply the “escalate to a human agent” / “default department” rule.

Resources: the models are on Hugging Face (tbank/T-Decision-1-*), the GGUF files are in the releases, and the training scripts are in the T-Bank repository.

Like this post? Please share to your friends:
11AI - Your Free LLM
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: