T-Decision-1: Open models for decisions in Russian and English

Community Article
Published December 1, 2026

At T-Tech we’re releasing T-Decision-1, five open models that choose among the answers an application supplies. On the Russian track of the T Decision Index, our benchmark for Russian and English tasks, the 27B model scored 74.30 out of 100, up from 64.30 for its Qwen3.8 base on the same questions. Our 9B scored 71.60, 0.36 points ahead of the strongest external model we evaluated on that track, Copernicus-57B.

All five sizes (0.8B, 2B, 4B, 9B, and 27B) are available in the T-Decision-1 collection on Hugging Face under Apache 2.0. New labels and criteria go in the request, so a service can change the decision it asks for and keep the same weights. On the English track, our 27B was on par with the strongest models we evaluated.

Try the Python adapter · See the benchmark results · Choose a checkpoint · Explore the full leaderboard

How T-Decision-1 makes a decision

The adapter puts each question in its own prompt with the context and allowed answers supplied by the application. For each question, T-Decision-1 scores the allowed labels at the first answer position. For a return policy, for instance, the adapter can assign A to accept and B to reject. It converts the two scores into probabilities and returns the service’s key for the more likely action.

A customer returns an unopened item on day 12 of a 30-day return window. Using TypeSafe’s Jev interface, the store puts the policy and the case in state. In questions, it can ask for an action, a yes/no decision, or a rating. Each entry supplies its own instructions and any criteria it needs.

Format What the service gets back Question about the return
Choice Selected key and probabilities for every option Which action follows the policy, accept or reject?
Noul Probability of “yes” Is the return within the allowed window?
Score Distribution over the scale and its probability-weighted mean How clearly does the case support the decision?

A support team could use the same formats to choose a queue, decide whether a human agent should take over, or rate how much a problem interferes with a customer’s use of the service.

The Python client and HTTP service implement the Jev interface, so existing Jev applications can keep their request code. The adapter reads scores from SGLang, vLLM, or llama.cpp. The adapter accepts 2 to 256 options for Choice and 2 to 256 scale levels for Score. With 129–256 labels, the vLLM adapter requests the scores in two batches, both at the same answer position.

Run the 27B example

With Python 3.10 or newer, download the client adapter using the Hugging Face CLI and install its dependencies.

hf download t-tech/T-Decision-1-27B src/tdecision_adapter.py --local-dir .
python3 -m pip install httpx aiohttp transformers
Start the 27B server with SGLang on one H100

This example uses SGLang 0.5.22. In an environment with that version installed, set MODEL_PATH to the Hub ID below or a local checkpoint directory.

export MODEL_PATH="t-tech/T-Decision-1-27B"
SGLANG_JIT_DEEPGEMM_PRECOMPILE=0 python3 -m sglang.launch_server \
  --model-path "$MODEL_PATH" --served-model-name T-Decision-1 \
  --host 127.0.0.1 --port 30000 --dtype bfloat16 \
  --context-length 32768 --max-prefill-tokens 49152 --attention-backend fa3 \
  --disable-radix-cache --chunked-prefill-size -1 \
  --cuda-graph-backend-prefill disabled --cuda-graph-backend-decode disabled

Choose a return action

With the 27B server running, run this Python example from the directory containing src/tdecision_adapter.py.

from src.tdecision_adapter import TDecisionClient

request = {
    "state": "The customer returned an unopened item after 12 days. Returns are allowed for 30 days.",
    "questions": {"action": {
        "type": "choice",
        "instructions": "Which action follows the policy?",
        "criteria": {"accept": "Accept the return", "reject": "Reject the return"},
    }},
}
client = TDecisionClient(url="http://127.0.0.1:30000", backend="sglang")
try:
    action = client.decide(request)["answers"]["action"]
    key = action["choice"]
    print(key, action["probabilities"][key])
finally:
    client.close()

Our 27B BF16 run printed accept 0.9996540083968218.

The first value is the selected key. The second is the probability the model assigned to it. The adapter also returns confidence, which rescales that probability relative to a uniform choice. For the calibration measurements below, we use the selected key’s probability.

Full example with Choice, Noul, and Score

This version asks all three questions about the same return. The answers are keyed by their original question IDs.

from src.tdecision_adapter import TDecisionClient

client = TDecisionClient(url="http://127.0.0.1:30000", backend="sglang")
request = {
    "state": "The customer returned an unopened item after 12 days. Returns are allowed for 30 days.",
    "questions": {
        "action": {
            "type": "choice",
            "instructions": "Which action follows the policy?",
            "criteria": {"accept": "Accept the return", "reject": "Reject the return"},
        },
        "in_window": {"type": "noul", "instructions": "Is the return within the allowed window?"},
        "evidence": {
            "type": "score",
            "instructions": "How clearly does the context support the decision?",
            "criteria": ["No support", "Partial support", "Explicit support"],
        },
    },
}
try:
    answers = client.decide(request)["answers"]
    action = answers["action"]
    key = action["choice"]
    print(key, action["probabilities"][key])
    print(answers["in_window"]["noul"], answers["evidence"]["score"])
finally:
    client.close()

In our run, Noul assigned 99.98% probability to the return being within the 30-day window. Score gave the evidence a mean rating of 1.934 on the 0–2 scale, where 2 means “Explicit support.”

Why we built a Russian decision benchmark

To choose an open model for a new service, we wanted a reproducible benchmark where we could test any checkpoint and trace a mistake back to an individual example. Some tasks are closed in the two benchmarks we already had for English, the Jev Decision Index and the Artificial Analysis Decision Index.

We started by translating 42 English datasets into Russian and evaluating 24 open-model configurations on both versions. The models ranked in roughly the same order on the English originals and the Russian translations, with a Spearman correlation of 0.90. Even in translation, though, the tasks and wording reflected the choices of the English dataset authors. For the Russian index, we collected material originally written in Russian, from exams to reviews. For example, we used the Russian portion of the multilingual Global PIQA dataset, which native speakers wrote.

The T Decision Index covers 52 Russian and 54 English datasets across eight task groups.

Task group Example question Example dataset RU datasets EN datasets
Knowledge and reasoning Which method will keep tea hot longer? Global PIQA 11 16
Language and context Who does “he” refer to in this conversation? RusConText 13 15
Routing and classification Which section does this news story belong in? Headline Classification 7 3
Retrieval and relevance Which passage in the help documentation answers the question? MIRACL (Russian subset) 2 2
Tools and actions Does the policy allow this return? Support-JSON-RU 2 6
Emotion and stance Does the author support the initiative? RuStance 11 4
Judgments and preferences How would you rate the answer on a usefulness scale? POLLUX 1 6
Safety and compliance Does the comment contain a toxic remark? Multilingual Toxicity (Russian subset) 5 2
Total 52 54

To identify what each candidate dataset actually tested, we used the same taxonomy we used for training, tagging examples by domain, topic, and decision type. Six datasets, for instance, contained 5,417 Russian questions about tools. Every question asked either whether to call a tool or which function to call. To cover actions governed by a policy, we added 36 scenarios from Support-JSON-RU. One asks whether the service rules require escalating a case to a human. The taxonomy helped us spot gaps even when we already had thousands of questions on a topic.

Whenever a substantial share of a new dataset fell into “other,” we examined those examples and added categories. Eventually, almost all the examples in new datasets fit existing categories. That was when we settled on the final set of datasets for each language.

We score each dataset by the rules of its original task. In the Russian GOAT matching task, a model must match five types of language errors to sentences. A question earns credit only when all five matches are correct. Karpo-Decision-31B matched 263 of 285 pairs correctly (92.28%) and solved 38 of the 57 questions in full. Its score for this task in the index is 66.67%.

We then combine dataset scores within each task group and give each group equal weight to obtain a score from 0 to 100 for each language. A simple average over datasets would give language and context 13 times the weight of judgments and preferences in the Russian index. One has 13 datasets and the other has just one.

Results on Russian and English tasks

At each size, we evaluated the original Qwen and the fine-tuned T-Decision-1 on the same questions in decision format. We ran all five T-Decision-1 sizes in SGLang and scored the two language tracks separately.

The four smaller checkpoints start from Qwen3.5, and 27B starts from Qwen3.8. Each pair of scores shows the base model followed by T-Decision-1. The checkpoint links open the model cards for the released bfloat16 (BF16) weights. The last column gives ten-bin expected calibration error (ECE₁₀) in percentage points: it measures how closely the model’s stated probabilities match observed accuracy. Lower is better.

Released checkpoint · Qwen starting checkpoint RU index ↑ EN index ↑ ECE₁₀ ↓ (pp)
T-Decision-1-0.8B · Qwen3.5 35.84 → 56.47 34.84 → 66.81 3.34
T-Decision-1-2B · Qwen3.5 41.92 → 61.24 43.22 → 72.25 4.72
T-Decision-1-4B · Qwen3.5 55.13 → 67.74 60.61 → 76.52 3.41
T-Decision-1-9B · Qwen3.5 57.60 → 71.60 64.05 → 78.10 3.87
T-Decision-1-27B · Qwen3.8 64.30 → 74.30 69.64 → 80.06 3.90

Comparison with other models

On the Russian track, each of the five checkpoints led the open models we measured in its size class. The table is ordered by Russian score. The 27B model card includes the full text leaderboard and results on the Jev Decision Index and Microsoft Decision Index.

Our 27B led the Russian track even though Copernicus has roughly twice as many parameters. Perplexity Decider v1.3, which uses the same Qwen base as our 27B, scored 69.99.

On the Russian index, 27B scored 3.07 points above FlexDM-LoRA-v2.1, its closest competitor in the same size class. At the compact end, our 2B and 0.8B models outscored their GLiDE counterparts by 4.80 and 4.15 points, respectively.

On the English index, the top three scores in this comparison were effectively tied. T-Decision-1 27B, Karpo-Decision-31B and Perplexity Decider v1.3 all scored between 80.01 and 80.06. The gap was wider for compact models, with T-Decision-1 2B scoring 2.58 points above GLiDE-2B. We also ran the two public text suites using their published scoring rules. Our 27B scored 70.86 on Jev Decision Index Public (37 datasets) and 85.60 on Microsoft Decision Index Public (18 datasets).

Choose a checkpoint

  • 0.8B and 2B suit high-volume workloads.
  • 4B and 9B are our starting points for most uses.
  • 27B is our choice when a wrong answer is costly.

Moving from 9B to 27B added 2.70 points on the Russian index. The trade-off is easiest to see on a task where one wrong match costs the whole answer.

On the Russian GOAT matching task, 9B solved 13 of 57 questions in full. 27B solved 31. On our one-H100 throughput test, 9B handled 18.92 valid requests per second in BF16, versus 5.94 for 27B. That is 3.2 times the throughput.

Visual benchmark results

We fine-tuned on text alone and kept Qwen’s visual encoder. Across the 11 datasets in the Jev Visual Decision Index, 0.8B scored 51.38 and 27B scored 74.48, close to mammoth-1 at 74.46. Perplexity Decider v1.3 scored 76.98 on the same tasks.

We gave 9B the Russian index chart and four choices (2B, 4B, 9B, and 27B). The question was «Какая модель T-Decision-1 набрала больше всего баллов на русском индексе?» (“Which T-Decision-1 model scored highest on the Russian index?”).

Given the Russian index chart, T-Decision-1 9B in BF16 on SGLang chose 27B with 99.86% probability. It assigned 0.02% to 2B, 0.02% to 4B, and 0.10% to 9B.

Recorded response from 9B in BF16 on SGLang. Given the chart above, it assigned 0.02% to 2B, 0.02% to 4B, 0.10% to 9B, and 99.86% to 27B.

Calibration and routing thresholds

For a service that routes support tickets, the probability of the chosen queue determines which tickets can go straight through. Suppose a customer writes, “I forgot my password and can’t sign in.” The service offers three queues — access for account recovery, billing for payments, and delivery for deliveries. A Choice response gives the service all three probabilities.

Illustrative Choice response to a password-recovery ticket. The allowed queues are access (68%), billing (20%), and delivery (12%).

Simulated probabilities. The selected queue is access (68%). With an 80% threshold for automatic routing, this ticket would go to a human.

A service can route tickets above a threshold automatically and send the rest to a person. Among tickets where a well-calibrated model assigns the chosen queue a probability near 0.80, it should choose correctly about eight times in ten. If it overestimates those probabilities, the service will send too many tickets to the wrong queue.

For calibration, all 49 models saw the same 43,217 examples from 21 Russian datasets and 10,794 examples from 16 English datasets. We divided the range of selected-answer probabilities into ten equal-width bins. In each bin, we compared the mean probability assigned to the chosen answer with the fraction of answers that were correct. Ten-bin expected calibration error (ECE₁₀) is the weighted average of the absolute gaps across bins. Each dataset has the same total weight within its language. We report the mean of the Russian and English ECE₁₀ values.

For 27B, calibration error was 6.20 percentage points on the Russian examples and 1.60 on the English examples. The two sets contain different tasks, so this comparison alone cannot tell us how much of the gap comes from the language.

Mean Russian and English index score versus ten-bin calibration error. The five T-Decision-1 sizes have mean ECE values between 3.34 and 4.72 percentage points.

Each point is a model configuration. Points toward the upper left combine a lower ECE₁₀ (left) with a higher mean score on the Russian and English indices (up).

To choose an operating threshold, take labeled tickets representative of your service. Use the probability of the selected queue.

  1. At each candidate threshold, measure what fraction of tickets the model would route automatically.
  2. Among those tickets, check how often it would choose the wrong queue.
  3. Choose the threshold that routes the most tickets at an error rate the service can accept. Check it on fresh tickets.

Throughput on one H100

For throughput, we ran 10,000 Russian and English requests of up to 16,384 tokens on one H100. After warm-up, we chose the number of concurrent requests for each configuration and repeated the run on the full set. All five T-Decision-1 models ran in BF16 with SGLang. We divided the number of valid responses by the duration of the run to get requests per second.

T-Decision-1 size Valid requests/s per H100 ↑
0.8B 112.38
2B 68.92
4B 31.10
9B 18.92
27B 5.94

For the comparison across families, we included all 23 models with a documented way to serve concurrent requests or batches. We used the serving configurations available in the respective model cards. Comparable vLLM and SGLang settings were available for only some of the external models. The throughput numbers therefore reflect both the checkpoint and the serving setup we could test.

Mean Russian and English index score against valid requests per second per H100 for the serving configurations we tested. Green points mark T-Decision-1 in BF16.

Farther right means more valid requests per second on one H100. Higher means a better mean RU/EN index score. The dashed line is the Pareto frontier for the measured configurations. All five T-Decision-1 sizes (green, BF16) lie on it.

Running quantized checkpoints with llama.cpp

To run quantized weights locally with llama.cpp, use the GGUF format. The 27B GGUF model card gives a llama.cpp configuration for the 27B Q5_K_M checkpoint. This server and the SGLang example both listen on port 30000, so start one server at a time. Use the tested llama.cpp build and point MODEL_DIR to the local directory containing the model GGUF, mmproj-BF16.gguf, and the matching tokenizer/ directory.

export MODEL_DIR=./T-Decision-1-27B-GGUF
llama-server --model "$MODEL_DIR/T-Decision-1-27B-Q5_K_M.gguf" \
  --mmproj "$MODEL_DIR/mmproj-BF16.gguf" --alias T-Decision-1 \
  --host 127.0.0.1 --port 30000 --ctx-size 32768 \
  --batch-size 32768 --ubatch-size 32768 --parallel 1 \
  --no-cache-prompt --no-context-shift --n-gpu-layers 999 --flash-attn on

This command loads the projector for image requests. Each question must fit in a single microbatch, and prompt reuse must be disabled to preserve bidirectional full attention.

In the client terminal, set MODEL_DIR to the same model directory. If the terminals use different working directories, use an absolute path.

export MODEL_DIR=./T-Decision-1-27B-GGUF

Open the short Choice example and keep its request and try/finally blocks. Replace its import and client initialization with the lines below, then run it from the directory containing src/tdecision_adapter.py.

import os
from src.tdecision_adapter import TDecisionClient

client = TDecisionClient(
    url="http://127.0.0.1:30000", model_path=os.path.join(os.environ["MODEL_DIR"], "tokenizer"),
    backend="llama",
)

How quantization changes the index scores

The llama.cpp example above uses the 27B Q5_K_M weights. On our two text indices, that quantization changed the score by −0.019 points on the Russian index and +0.208 on the English index relative to 27B in BF16.

Range of reported GGUF score changes across four quantizations at each model size, shown separately for Russian and English. Zero is the BF16 score for that size.

Each cell gives ΔRU / ΔEN in T Decision Index points, for the four GGUF quantizations. A delta is the GGUF score minus the BF16 score of the same size.

Size Q4_K_M Q5_K_M Q6_K Q8_0
0.8B −0.835 / −0.148 −0.351 / +0.284 −0.409 / −0.082 −0.036 / −0.015
2B −0.214 / +0.266 −0.142 / −0.027 +0.001 / −0.090 −0.005 / +0.024
4B −0.312 / −0.290 +0.080 / −0.288 +0.010 / −0.163 −0.049 / +0.078
9B −0.311 / +0.203 −0.228 / +0.083 −0.067 / +0.027 −0.034 / −0.038
27B −0.190 / −0.031 −0.019 / +0.208 −0.129 / +0.098 +0.058 / −0.011

Selecting training data for LargeMix

Counting by format tells us little about whether the right examples are in the mix. We built LargeMix, the training set for the open models, entirely from public sources.

We used an LLM to tag each example with its domain, topic, and decision type, and measured input length and the number of options directly. Topics were nested within domains, such as customer support within banking. What mattered for selection was how these features combined. Even a corpus rich in long conversations and routing tasks can have very few examples of routing a ticket from a long conversation.

The taxonomy changed as we went. When we found a group of tasks that didn’t fit, we inspected the examples and extended the taxonomy. Benchmark results showed us which groups the model struggled with. We looked for new sources for those groups, then checked after fine-tuning whether performance had improved there and held up elsewhere.

Could the 9B model retain its performance on a smaller training set? From a pool of 30 million labeled decisions, we drew a random sample of 12.2 million for the first run. For the second, we used the taxonomy to select examples. Five million decisions was the smallest set we found that covered all the feature combinations we needed at the time. Both runs started from the same weights and trained for one epoch on 32 H100s.

The random 12.2M sample used 330.9 H100-hours and scored 69.03 on RU and 76.45 on EN. The taxonomy-selected 5M sample used 113.7 H100-hours and scored 69.12 on RU and 76.53 on EN.

Two runs of the 9B model on 32 H100s. We evaluated both on an interim index with 46 Russian and 42 English datasets.

The two runs finished within 0.1 points of each other on both language tracks. With taxonomy-based selection, the model processed 2.39 billion input tokens, down from 5.96 billion. Training took 113.7 H100-hours, down from 330.9, a 2.9-fold reduction. The random sample contained about 2.4 times as many decisions.

By release time the taxonomy had grown. We added examples for the new task types and for familiar ones where the model still made mistakes. The final LargeMix contained 10.24 million decisions and 4.16 billion input tokens. About 58% were Choice, 36% Noul, and 6% Score. When combining sources, we removed duplicates and filtered out overlaps with evaluation data, checking for both identical examples and questions derived from the same original record.

Fine-tuning Qwen for decisions

Each of the five released checkpoints began with the corresponding pretrained Qwen. We ran one epoch of supervised fine-tuning (SFT) on LargeMix, our mix of publicly sourced training examples, using cross-entropy (CE) plus 0.5 times the Brier loss. We updated all parameters in the text model, including the vocabulary head. We packed training examples into sequences of up to 32,768 tokens. The models have a configured context window of 262,144 tokens, and we tested quality on inputs up to 32,768 tokens.

One token per answer

We used Qwen’s existing vocabulary head, so we had no need for a separate classification head. Each allowed answer gets a single-token label. For example, the labels for “billing,” “delivery,” and “account access” could be A, B, and C.

In one forward pass, Qwen computes a score, or logit, for every vocabulary token at the last input position. We take the logits for the allowed labels and apply softmax to just those logits. This gives us a probability for each option. The label with the highest probability is the model’s choice. Noul uses two labels, for “yes” and “no.” Choice has one label per option, and Score has one per level on the scale.

The correct label served as the target token, so we could use a standard SFT pipeline.

Bidirectional attention lets earlier tokens see the question

With a standard left-to-right attention mask, the last input token can attend to the whole request. Earlier tokens can only attend to what they have seen so far. Consider a support conversation that begins with a customer saying, “This is my third day waiting.” At the end of the request, the service asks, “Is the customer unhappy with how long they’ve been waiting for a reply?” Under the standard mask, the model forms its representation of the customer’s words before it sees the question. The whole input is already available when the model makes a decision, so we tested whether letting those words attend to the question would improve accuracy.

Attention masks for one request. With a causal mask, earlier message tokens cannot attend to the later question. Bidirectional full attention lets them do so. Gated DeltaNet remains causal.

We compared three attention masks on Qwen3.5-9B, keeping the training data, example order, loss function, and training budget fixed. We evaluated all three attention masks on 10,000 questions from an interim version of our internal benchmark.

Attention mask Accuracy
Left-to-right (causal) 91.78%
Block mask separating the context and question 93.13%
Bidirectional over the full input for a single question 94.38%

Bidirectional attention improved accuracy by 2.60 percentage points over the causal mask. We adopted it for all five T-Decision-1 models. In Qwen’s hybrid architecture, we changed the mask only in the full-attention layers. The Gated DeltaNet layers still process tokens from left to right.

Calibrating probabilities with Brier loss

Cross-entropy penalizes low probability on the correct label. The Brier term measures how far the probabilities across all allowed labels are from the target distribution.

At an answer position, cross-entropy uses the probability of the correct token after a softmax over the full vocabulary. A separate softmax over the allowed labels gives the probabilities returned for Choice and used in the Brier loss.

L=−log⁡py+0.5∑i∈A(qi−1[i=y])2 L = -\log p_y + 0.5 \sum_{i \in A} \left(q_i - \mathbf{1}[i = y]\right)^2

Here y is the correct label and A is the set of allowed labels. The indicator 1[i = y] equals 1 when label i is correct and 0 otherwise. Both terms use the same logits. For CE, softmax over the full vocabulary gives the probability py of the correct label. For Brier, softmax over the allowed labels gives the probability qi of each label i. We average the loss over answer positions.

To see whether we could improve calibration during training, we compared cross-entropy alone (CE) with CE plus a Brier loss term. We evaluated both on a held-out mix of internal and public tasks. Negative log-likelihood (NLL) is the mean negative log probability assigned to the correct answer.

Training loss Accuracy ↑ Negative log-likelihood (NLL) ↓ Expected calibration error (ECE) ↓
CE 71.36% 0.2445 15.66%
CE + 0.5 × Brier 71.41% 0.2167 13.05%

Adding the Brier term changed accuracy by just 0.05 percentage points. Calibration error fell by 2.61 percentage points, and NLL fell from 0.2445 to 0.2167.

Direct fine-tuning versus a reasoning teacher

While developing our internal 27B model, we tested whether reasoning before choosing an answer could improve classification. We planned to train a reasoning teacher and then distill its answer distributions into a decision model. If the teacher improved accuracy, the student could benefit without taking longer at inference.

We trained the teacher with Group Relative Policy Optimization (GRPO), generating several reasoning traces per question, rewarding correct answers, and including Brier loss. On an interim version of the internal benchmark, the teacher reached 94.98% accuracy and an NLL of 0.1868. A model trained with direct SFT to choose an answer without reasoning reached 95.78% accuracy and an NLL of 0.1221. We estimated that GRPO also needed about six times as much training compute for the same number of examples. We stopped at the teacher evaluation and kept direct SFT.

Choosing a model for T-Tech services

Before the public release, we trained several internal models on a mix of T-Tech service requests and public examples. Two went into production. We use T-Decision-Internal 27B where an error is costly and 4B where services need higher throughput. To choose between them, we measured accuracy on held-out requests with the instruction templates our services already use. The internal models had seen these templates during training. Some instruction templates had few training examples, while others had a strong class imbalance.

Decisions in T-Tech’s internal LLM traffic

We regularly review requests to the LLMs we run at T-Tech to understand what product teams use them for and where we can reduce inference costs. From August through October, an average of 78.7% of requests contained at least one question with a predefined set of answers.

A customer writes, “I was charged twice.” The support service needs to route the ticket and draft a reply. Routing means choosing “billing” from a list that also includes “delivery” and “account access.” The service can make that choice in a separate call and use text generation for the reply.

The decision that could be separated out depended on the team:

Service area Decision
Customer support From the conversation, did the support agent tell the customer when the issue would be resolved?
Model and data evaluation Did the result of a tool call help the bot answer the customer’s question?
Content and moderation Is the post about investing, and does it include technical analysis?
Sales and marketing Does the conversation indicate that the customer’s business needs to accept card payments (merchant acquiring)?
IT and software development Did the developer address the feedback they received in code review?
Lending and collections From the call transcript, does the customer need debt restructuring or working capital financing?
Search and recommendations Which catalog category fits this product, or does it meet the criteria for a particular collection?

We initially recommended smaller LLMs to product teams. That cut inference costs, but even for a fixed set of choices, the model still generated text and the service had to extract an answer from it.

In September 2026, TypeSafe introduced Jev. Given a context, questions, and allowed answers, it returns decisions with probabilities. We wanted to try it on our internal tasks. At the time, Jev was available only through an external API, and our company data had to stay within our infrastructure. There were no open weights for this type of model yet, so we adopted the task format and trained a model we could run ourselves. Other open models appeared while we were working on ours. Those models are included in the public comparison above.

Testing new conversations under familiar instructions

We wanted to know how a model would handle a new request under an instruction a service uses regularly. We held the benchmark requests out of training. The same instruction template could appear in both splits, applied to different conversations.

A single service request could contain several classification tasks. We asked Qwen3.8-Flash-Next-FP8 to convert each request into decision format three times, independently. We kept questions that matched in meaning in at least two conversions. The same model then checked that each question preserved the conditions in the original instruction.

Qwen3.8-Flash-Next-FP8, GLM-5.3-Flash, and DeepSeek-V4.1-Flash supplied reference answers independently. For Choice and Score, at least two of the three had to agree. For Noul, we required all three to agree. In a spot check, our AI trainers confirmed 96.3% of the reference answers they examined.

We capped the number of questions from each account so the busiest services would have less influence on the results. Within each service and question format, we grouped questions by what the instruction asked and what counted as a correct answer. We then selected a variety of contexts within each group. We also balanced the mix of formats and adjusted the proportions of “yes” and “no” answers within Noul.

The final benchmark contains 10,000 questions. We deliberately gave rare formats and tasks from less active services more representation than they had in the original traffic, so that errors on those tasks would carry more weight in the overall score.

Measure Before sampling Internal benchmark
Share of questions from the five most active accounts 53.9% 18.6%
Noul / Choice / Score 63.2% / 33.6% / 3.1% 60% / 30% / 10%
Share of “yes” answers among Noul questions 29.7% 34.9%

Generating training questions from service conversations

For the benchmark, we preserved the meaning of the service’s original question and every condition that determined its answer. For training, an LLM could propose additional questions about the same conversation. The same ensemble that labeled the benchmark labeled each new question separately. One service request could therefore yield several training examples.

Even with the additional questions, some formats were scarce in our traffic, so we used public training data from the start. In the initial internal sample, fewer than 1% of the examples were Score questions. When we reviewed errors, we saw that the model often confused adjacent levels on a scale. We added more scale-rating tasks from public datasets.

Class imbalance in yes/no questions

For binary Noul questions, the model had to learn the specific criterion in each service’s instruction. For each new conversation, a service might ask, “Does the customer complain about how long they’ve been waiting for a reply?” Only a complaint about the wait qualifies as a positive example. A public dataset could contain thousands of support tickets without a single complaint about waiting. We had no ready source of rare positive examples for every internal instruction.

About 16% of binary questions in the training sample had a “yes” label. The imbalance could be much stronger for an individual instruction. For one instruction, about 98% of the labels were “no.” Always answering “no” would give 98% accuracy while missing every case the service wanted to find. We tried two changes to the loss to help the model find rare positive cases using the data we already had.

Weighted cross-entropy (WCE). We computed the weights of “yes” and “no” separately for each instruction template. The rarer “yes” was, the higher its weight. Suppose a customer writes, “I’ve been waiting half an hour for a reply,” and the model confidently answers “no.” We penalized that error more heavily than an equally confident false “yes” on a common negative example.

Pairwise ranking (DP-Rank). We added a ranking term to WCE. Within a batch, we paired two conversations with the same instruction and different reference answers. Take the question “Is the customer complaining about the wait?” One customer writes, “I’ve been waiting half an hour for a reply.” The other says, “They replied right away, but why was I charged a fee?” We trained the model to give “yes” a higher probability in the first conversation, labeled “yes,” than in the second, labeled “no.”

The final internal benchmark was still in development, so we compared CE, WCE, and WCE with pairwise ranking on an interim version. We measured F1 for the positive class and balanced accuracy.

Training loss F1 for “yes” (out of 100) ↑ Balanced accuracy gain over CE (percentage points)
CE 41.54 —
WCE 48.34 +2.30
WCE + DP-Rank 50.08 +4.44

Class weighting added 6.80 points to F1 for “yes.” Pairwise ranking added a further 1.74 points. We also tried repeating rare examples, which performed worse than changing the loss.

Accuracy on the internal benchmark

On the final benchmark, the internal 27B reached 92.99% accuracy and the internal 4B reached 90.11%. The comparison answers a deployment question specific to T-Tech: our models had seen the services’ instruction templates during training, while the external models had not. The public T Decision Index provides a broader comparison across tasks.

We compared T-Decision-Internal with open decision models and generative LLMs that could handle the same tasks. We included the internal version of T-Pro 2.1 that our product teams had previously used. We measured accuracy across all questions, giving each one equal weight. A correct answer earned one point. An incorrect, missing, or incorrectly formatted answer earned zero.

To measure the effect of fine-tuning, we evaluated the base Qwen models in the same way as the decision models. We took the allowed label with the highest probability as the answer. For Score, we used the scale level corresponding to that label.

Model Accuracy (%) Noul (%) Choice (%) Score (%)
T-Decision-Internal 27B 92.99 95.05 91.30 85.70
Poindexter-Labs/Copernicus-57B 92.20 94.45 90.43 84.00
MachinePulseAI/karpo-decision-31B 91.89 94.23 90.47 82.10
fastino/GLiDE-27B 91.66 94.22 89.10 84.00
perplexity-ai/pplx-decider-v1.3 91.32 94.12 88.93 81.70
google/gemma-4-31B-it 90.84 93.40 89.37 79.90
baselabs/mammoth-1 (27B) 90.41 92.95 88.60 80.60
perplexity-ai/pplx-decider-v1.1-27b 90.26 93.30 87.37 80.70
T-Decision-Internal 4B 90.11 93.00 87.73 79.90
fastino/GLiDE-9B 88.43 92.07 85.27 76.10
tattrongvu/Jeffan-9B-1211 87.91 91.45 84.60 76.60
baselabs/elephant-1 (9B) 87.38 90.58 84.63 76.40
Qwen/Qwen3.8-27B 86.64 89.02 86.03 74.20
t-tech/T-pro-it-2.1 (internal version) 86.36 90.43 83.73 69.80
akhilaaa3/Jev-Omni 85.87 89.85 83.27 69.80
Qwen/Qwen3.5-9B 81.16 83.20 80.70 70.30
Qwen/Qwen3.5-4B 79.12 83.08 77.07 61.50

Jev-Omni is a third-party model based on Gemma, independent of TypeSafe’s Jev. We evaluated Gemma 4 31B IT and T-Pro 2.1 in generative mode without reasoning.

T-Decision-Internal 27B had the highest accuracy at 92.99%, compared with 92.20% for the closest external model, Copernicus-57B. The gap was 0.79 percentage points, or about 10% fewer errors (7.01% versus 7.80%). Our 4B model scored 90.11%, 3.75 percentage points above T-Pro 2.1. The difference was larger on Score, where 4B reached 79.90% and T-Pro 2.1 reached 69.80%.

Throughput on internal requests

For a production service, we also need to know how many requests a single GPU can handle. We measured throughput per H100 alongside accuracy. For open models, we started with the authors’ recommended serving setup and tuned the number of concurrent requests during measurement. We raised the load while keeping mean response time within the same limit for every model. In the main measurement, a request counted only if the model returned a correctly formatted answer to every question it contained. We ran the internal models in FP8 and the external models at their published precision.

On the internal benchmark, T-Decision-Internal 27B reached 92.99% accuracy. The 4B model reached 90.11% while handling 4.6 times as many requests per second on the same H100.

Points farther right handled more valid requests per second per H100. Higher points scored better on the internal benchmark. Green marks T-Decision-Internal in FP8. The dashed line marks the Pareto frontier for the configurations shown.

27B was more accurate, while 4B handled 4.6 times as many requests per second on the same H100.

Limits to keep in mind

  • Benchmark selection. We built both benchmarks. A different choice of datasets for the T Decision Index could change the rankings. On the internal benchmark, our models had the advantage of seeing the services’ instruction templates during training.
  • English results. Our larger checkpoints performed on par with the strongest open models of comparable size.
  • Confidence thresholds. Calibration was worse on the Russian slice. For 27B, ECE₁₀ was 6.20 percentage points on the Russian slice and 1.60 on the English one. Choose a threshold on your own service data.
  • Explanations. The models return a choice and probabilities without explaining how they reached the decision.
  • Images. We kept Qwen’s visual encoder. The released models can answer questions about images, although we fine-tuned them only on text.
  • Throughput. We benchmarked the open T-Decision-1 family on one H100 in BF16, with requests of up to 16,384 tokens. Throughput will vary with the workload and the serving configuration. The external models in our comparison differed in the configurations their model cards documented.
  • Context length. The configured context window is 262,144 tokens. We tested quality on inputs up to 32,768 tokens.

Trying T-Decision-1 on your own data

All five sizes are available in the T-Decision-1 collection on Hugging Face under Apache 2.0. The repository includes the SGLang adapter, text and image examples, and further measurements. In the T Decision Index Space you can open individual benchmarks and compare checkpoints on the kinds of decisions your service makes.

Bring one of your own policies and a set of labeled cases. Which cases go to the wrong queue? Which would still clear your threshold for automatic routing? Tell us in the comments where the model gets those decisions wrong and which tasks you would like to see in the index. Your examples will help us choose what to work on for the next version.

Citation

If you use T-Decision-1 or the T Decision Index, please cite:

@misc{tdecision2026,
  title  = {T-Decision-1: Open models for decisions in Russian and English},
  author = {Latypov, Ramil and Gashkov, Mikhail and Zelenkovskiy, Viktor and Potapov, Anatolii},
  year   = {2026},
  url    = {https://huggingface.co/blog/t-tech/t-decision-1}
}

Community

Sign up or log in to comment