Views
No views yet
Main BF16 model: t-tech/T-pro-it-2.0
fp8-quantized model checkpoint for T-pro-it-2.0, whose name ends with -FP8. The quantization method is fine-grained fp8 quantization with block size of 128. You can find more details in the quantization_config field in config.json.transformers, sglang, and vllm, as the original bfloat16 model.
However, please pay attention to the following known issues:transformers:
transformers for distributed inference. You may need to set the environment variable CUDA_LAUNCH_BLOCKING=1 if multiple devices are used in inference.enable_thinking flag in tokenizer.apply_chat_template.| Mode | Temperature | presence_penalty |
|---|---|---|
| No‑think (general requests) | ≤ 0.3 | 1.0 |
| Think mode (standard requests) | ≈ 0.6 | 1.0 |
| Complex reasoning requests | ≥ 0.8 | 1.0 |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3torch.manual_seed(42)
4
5model_name = "t-tech/T-pro-it-2.0-FP8"
6tokenizer = AutoTokenizer.from_pretrained(model_name)
7model = AutoModelForCausalLM.from_pretrained(
8 model_name,
9 torch_dtype="auto",
10 device_map="auto",
11)
12
13prompt = (
14 "Пожалуйста, вычисли определённый интеграл ∫_0^1 x² eˣ dx, "
15 "пошагово объясни решение и укажи окончательный результат."
16)
17messages = [
18 {"role": "system", "content": "Ты T-pro, виртуальный ассистент в Т-Технологии. Твоя задача - быть полезным диалоговым ассистентом."},
19 {"role": "user", "content": prompt}
20]
21text = tokenizer.apply_chat_template(
22 messages,
23 tokenize=False,
24 add_generation_prompt=True,
25 enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
26)
27model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
28
29generated_ids = model.generate(
30 **model_inputs,
31 max_new_tokens=512
32)
33generated_ids = [
34 output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
35]
36
37response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
38
39print(response)
40sglang>=0.4.6.post1 or vllm>=0.8.5 or to create an OpenAI-compatible API endpoint:python -m sglang.launch_server --model-path t-tech/T‑pro‑it‑2.0‑FP8 --reasoning-parser qwen3vllm serve t-tech/T‑pro‑it‑2.0‑FP8 --enable-reasoning --reasoning-parser qwen31@inproceedings{stoianov-etal-2026-pro,
2 title = "{T}-pro 2.0: An Efficient {R}ussian Hybrid-Reasoning Model and Playground",
3 author = "Stoianov, Dmitrii and
4 Taranets, Danil and
5 Tsymboi, Olga and
6 Latypov, Ramil and
7 Dautov, Almaz and
8 Kruglikov, Vladislav and
9 Nikita, Surkov and
10 Abramov, German and
11 Gein, Pavel and
12 Abulkhanov, Dmitry and
13 Gashkov, Mikhail and
14 Zelenkovskiy, Viktor and
15 Batalov, Artem and
16 Medvedev, Aleksandr and
17 Potapov, Anatolii",
18 editor = "Croce, Danilo and
19 Leidner, Jochen and
20 Moosavi, Nafise Sadat",
21 booktitle = "Proceedings of the 19th Conference of the {E}uropean Chapter of the {A}ssociation for {C}omputational {L}inguistics (Volume 3: System Demonstrations)",
22 month = mar,
23 year = "2026",
24 address = "Rabat, Marocco",
25 publisher = "Association for Computational Linguistics",
26 url = "https://aclanthology.org/2026.eacl-demo.22/",
27 doi = "10.18653/v1/2026.eacl-demo.22",
28 pages = "297--319",
29 ISBN = "979-8-89176-382-1"
30 }