Skip to content

How-ToGPU

How to Run T-Decision-1 Locally for Fast Yes/No and Labelling Jobs

T-Tech's new T-Decision-1 open models pick labels, answer yes/no questions and score text with probabilities. We explain which size fits your graphics card, which llama.cpp build to use and how to send your first request.

By , Systems & Technical Editor

4 min read

How to Run T-Decision-1 Locally for Fast Yes/No and Labelling Jobs

This guide is based on T-Tech's launch post, its T-Decision-1 model cards and the GGUF file listings on Hugging Face, all read on 4 December 2026. Memory fits beyond the published file sizes are our estimates.

T-Tech released T-Decision-1 on 1 December 2026. It's a family of five open models (0.8B, 2B, 4B, 9B and 27B) under the Apache 2.0 licence, built for one job: choosing between answers your application supplies. Instead of writing a paragraph, it returns a pick from a list of labels, the probability of "yes" for a yes/no question, or a score on a scale you define, with probabilities for each option. That makes it useful for things like sorting support tickets, routing requests or checking text against a policy. If you've used decision models in Ollama, the idea will be familiar: T-Tech says its Python client and HTTP service implement the same Jev interface.

Step 1: Pick a size that fits your graphics card

T-Tech publishes GGUF files for every size in four quantisations. These are the official file sizes for the two sizes most home users will want, plus the smaller 4B:

Model

Q4_K_M

Q5_K_M

Q6_K

Q8_0

T-Decision-1-4B

3.85GB

4.28GB

4.74GB

5.75GB

T-Decision-1-9B

6.88GB

7.69GB

8.56GB

10.48GB

T-Decision-1-27B

18.24GB

20.83GB

23.58GB

29.79GB

Each repository also includes a vision projector file (mmproj-BF16.gguf, 0.92GB for 9B and 0.93GB for 27B) that's needed if you want to ask questions about images. T-Tech's advice is that 4B and 9B are its starting points for most uses, 0.8B and 2B suit high-volume workloads, and 27B is its choice when a wrong answer is costly.

In our estimate, the 9B model at Q6_K or Q8_0 sits comfortably on a 16GB card, 9B at Q4_K_M or Q5_K_M suits 12GB, and 4B suits an 8GB card. The 27B model's example uses the 20.83GB Q5_K_M file, which in our estimate calls for at least a 24GB card; a 32GB RTX 5090 gives comfortable headroom. T-Tech also found that quantisation barely moves its scores: for the 27B Q5_K_M file, the change was −0.019 points on its Russian index and +0.208 on its English index compared with the full BF16 weights. See our best graphics cards for T-Decision-1 for specific picks.

Step 2: Get the right llama.cpp build

T-Tech's model card says to use "the tested llama.cpp build", which links to a specific commit of the llama.cpp repository on GitHub (4c92c5b). The model relies on bidirectional attention in its full-attention layers, so stick with that build, or a later one you've confirmed works, rather than an old copy. If you're new to llama.cpp, our llama.cpp vs LM Studio comparison explains how it differs from the desktop apps.

Step 3: Download only the files you need

Each GGUF repository contains all four quantisations, so downloading the whole thing wastes space. The Hugging Face CLI lets you list the exact files you want, or pick a folder with --include. For the 9B model at Q6_K, for example:

hf download t-tech/T-Decision-1-9B-GGUF T-Decision-1-9B-Q6_K.gguf mmproj-BF16.gguf src/tdecision_adapter.py --local-dir ./T-Decision-1-9B-GGUF
hf download t-tech/T-Decision-1-9B-GGUF --include "tokenizer/*" --local-dir ./T-Decision-1-9B-GGUF

The tokenizer folder and the src/tdecision_adapter.py client are part of the same repository, and the client needs both.

Step 4: Start the server with T-Tech's settings

T-Tech's published command for the 27B model is below; for 9B, change the file name to the one you downloaded. The commands are written for a Linux or macOS-style shell; in Windows PowerShell, set the variable with $env:MODEL_DIR="./T-Decision-1-9B-GGUF" instead of export.

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

Don't drop the unusual flags. T-Tech says each question must fit in a single microbatch and prompt reuse must be disabled to preserve bidirectional full attention, which is why the batch sizes match the context size and the prompt cache is off. The --n-gpu-layers 999 setting puts the whole model on the graphics card. Our guide to Flash Attention in LM Studio and llama.cpp explains the --flash-attn option.

Step 5: Ask your first question

The client needs Python 3.10 or newer. Install its dependencies with python3 -m pip install httpx aiohttp transformers (our uv guide shows a tidy way to keep a separate environment). Then, from the folder containing src/tdecision_adapter.py, run this shortened version of T-Tech's example:

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",
)
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?"},
    },
}
try:
    print(client.decide(request)["answers"])
finally:
    client.close()

"choice" picks one of your labels, "noul" is the yes/no type and "score" rates text on a scale you list. T-Tech says the adapter accepts 2 to 256 options. If you'd rather call it from other apps, the same script can run as an HTTP service with a /v1/systemone endpoint; the model card shows the command.

Tips

  • Set your own thresholds. T-Tech recommends tuning any cut-off (for example "route automatically above 80%") on your own labelled examples. It reports that the 27B model's calibration error was 6.20 percentage points on its Russian examples and 1.60 on English ones.

  • Don't expect explanations. T-Tech notes the models return a choice and probabilities, not reasoning.

  • Long inputs. The configured context window is 262,144 tokens, but T-Tech says it tested quality on inputs up to 32,768 tokens, which matches the example's context size.

  • Scores are T-Tech's own. The benchmark figures in the launch post come from T-Tech's own T Decision Index, and the company notes that a different choice of datasets could change the rankings.

Not sure which size to run? Our T-Decision-1 9B vs 27B comparison sets out the trade-offs.

The bottom line

T-Decision-1 is a practical way to run fast, local yes/no and labelling jobs: start with the 9B GGUF on a 12GB or 16GB card (our estimate of the fit), use T-Tech's tested llama.cpp build and its exact server flags, and tune any thresholds on your own data.

In this article

Sources

  1. 01T-Tech, T-Decision-1: Open models for decisions in Russian and English (Hugging Face blog)
  2. 02T-Tech, T-Decision-1 collection (Hugging Face)
  3. 03T-Tech, T-Decision-1-27B-GGUF model card and files (Hugging Face)
  4. 04T-Tech, T-Decision-1-9B-GGUF model card and files (Hugging Face)
  5. 05T-Tech, T-Decision-1-4B-GGUF files (Hugging Face)
  6. 06ggml-org, llama.cpp tested build 4c92c5b (GitHub)
  7. 07Hugging Face, Command Line Interface (CLI) guide

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Graphics Cards for T-Decision-1 in 2026

Best Picks

Best Graphics Cards for T-Decision-1 in 2026

The best graphics cards for running T-Tech's T-Decision-1 decision models at home, from the 16GB RTX 5060 Ti and RTX 5070 Ti to the 12GB RTX 5070, 32GB RTX 5090 and Radeon AI PRO R9700, and an 8GB budget option.

Hannah Vance3 min

Best Graphics Cards for MiniCPM 5 in 2026

Best Picks

Best Graphics Cards for MiniCPM 5 in 2026

The best graphics cards for running OpenBMB's new MiniCPM5-15B-A2.5B at home, from the 16GB RTX 5060 Ti and RTX 5070 Ti to the 12GB RTX 5070, 32GB RTX 5090 and Radeon AI PRO R9700, and an 8GB budget option, ranked by memory.

Hannah Vance3 min