Instructions to use t-tech/T-pro-it-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use t-tech/T-pro-it-2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="t-tech/T-pro-it-2.0") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("t-tech/T-pro-it-2.0") model = AutoModelForCausalLM.from_pretrained("t-tech/T-pro-it-2.0") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use t-tech/T-pro-it-2.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "t-tech/T-pro-it-2.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "t-tech/T-pro-it-2.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/t-tech/T-pro-it-2.0
- SGLang
How to use t-tech/T-pro-it-2.0 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "t-tech/T-pro-it-2.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "t-tech/T-pro-it-2.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "t-tech/T-pro-it-2.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "t-tech/T-pro-it-2.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use t-tech/T-pro-it-2.0 with Docker Model Runner:
docker model run hf.co/t-tech/T-pro-it-2.0
Update README.md
Browse files
README.md
CHANGED
|
@@ -299,4 +299,41 @@ T-pro-it-2.0 natively supports a context length of 32,768 tokens.
|
|
| 299 |
For conversations where the input significantly exceeds this limit, follow the recommendations from the [Qwen3 model card](https://huggingface.co/Qwen/Qwen3-235B-A22B#processing-long-texts) on processing long texts.
|
| 300 |
|
| 301 |
For example, in SGLang, you can enable 128K context support with the following command:
|
| 302 |
-
`llama-server ... --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 299 |
For conversations where the input significantly exceeds this limit, follow the recommendations from the [Qwen3 model card](https://huggingface.co/Qwen/Qwen3-235B-A22B#processing-long-texts) on processing long texts.
|
| 300 |
|
| 301 |
For example, in SGLang, you can enable 128K context support with the following command:
|
| 302 |
+
`llama-server ... --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768`
|
| 303 |
+
|
| 304 |
+
## 📖 Citation
|
| 305 |
+
|
| 306 |
+
If you use this model in your research or projects, please cite:
|
| 307 |
+
|
| 308 |
+
```bibtex
|
| 309 |
+
@inproceedings{stoianov-etal-2026-pro,
|
| 310 |
+
title = "{T}-pro 2.0: An Efficient {R}ussian Hybrid-Reasoning Model and Playground",
|
| 311 |
+
author = "Stoianov, Dmitrii and
|
| 312 |
+
Taranets, Danil and
|
| 313 |
+
Tsymboi, Olga and
|
| 314 |
+
Latypov, Ramil and
|
| 315 |
+
Dautov, Almaz and
|
| 316 |
+
Kruglikov, Vladislav and
|
| 317 |
+
Nikita, Surkov and
|
| 318 |
+
Abramov, German and
|
| 319 |
+
Gein, Pavel and
|
| 320 |
+
Abulkhanov, Dmitry and
|
| 321 |
+
Gashkov, Mikhail and
|
| 322 |
+
Zelenkovskiy, Viktor and
|
| 323 |
+
Batalov, Artem and
|
| 324 |
+
Medvedev, Aleksandr and
|
| 325 |
+
Potapov, Anatolii",
|
| 326 |
+
editor = "Croce, Danilo and
|
| 327 |
+
Leidner, Jochen and
|
| 328 |
+
Moosavi, Nafise Sadat",
|
| 329 |
+
booktitle = "Proceedings of the 19th Conference of the {E}uropean Chapter of the {A}ssociation for {C}omputational {L}inguistics (Volume 3: System Demonstrations)",
|
| 330 |
+
month = mar,
|
| 331 |
+
year = "2026",
|
| 332 |
+
address = "Rabat, Marocco",
|
| 333 |
+
publisher = "Association for Computational Linguistics",
|
| 334 |
+
url = "https://aclanthology.org/2026.eacl-demo.22/",
|
| 335 |
+
doi = "10.18653/v1/2026.eacl-demo.22",
|
| 336 |
+
pages = "297--319",
|
| 337 |
+
ISBN = "979-8-89176-382-1"
|
| 338 |
+
}
|
| 339 |
+
```
|