Text Generation
Transformers
Safetensors
deepseek_v3
conversational
custom_code
text-generation-inference
fp8
Instructions to use tngtech/DeepSeek-TNG-R1T2-Chimera with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tngtech/DeepSeek-TNG-R1T2-Chimera with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tngtech/DeepSeek-TNG-R1T2-Chimera", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tngtech/DeepSeek-TNG-R1T2-Chimera", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("tngtech/DeepSeek-TNG-R1T2-Chimera", trust_remote_code=True, device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tngtech/DeepSeek-TNG-R1T2-Chimera with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tngtech/DeepSeek-TNG-R1T2-Chimera" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tngtech/DeepSeek-TNG-R1T2-Chimera", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tngtech/DeepSeek-TNG-R1T2-Chimera
- SGLang
How to use tngtech/DeepSeek-TNG-R1T2-Chimera 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 "tngtech/DeepSeek-TNG-R1T2-Chimera" \ --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": "tngtech/DeepSeek-TNG-R1T2-Chimera", "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 "tngtech/DeepSeek-TNG-R1T2-Chimera" \ --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": "tngtech/DeepSeek-TNG-R1T2-Chimera", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use tngtech/DeepSeek-TNG-R1T2-Chimera with Docker Model Runner:
docker model run hf.co/tngtech/DeepSeek-TNG-R1T2-Chimera
Commit History
-
Update README.md
Verified signature748c3e0
-
Update README.md - fix url to company logo
Verified signature28b70f2
-
Update README.md
Verified signaturec0f05b5
-
Update README.md
Verified signature2827249 -
Update README.md
Verified signaturecf3c8de
-
fix special tokens in tokenizer_config chat template
0b8033a
-
Update README.md - add link to vLLM PR for tool call parser
Verified signatureb0f8af4 -
Update README.md - add instructions for enabling tool calling
Verified signature83558b9 -
Update tokenizer_config.json - update chat template with tool-calling capabilities
Verified signatureR1T2 is capable of tool calling using `<tool_call>{...}</tool_call>` syntax.2cf44bb -
Upload tool_parser_vllm.py
Verified signaturee5ed271 -
Upload tool_chat_template.jinja
Verified signaturea8bf049
-
EQ Bench link
Verified signature075753e -
Update README.md
Verified signature24c7204 -
Update README.md
Verified signature73ca231 -
Update README.md
Verified signature7b96918
-
Add recommendations for SGLang version and argument settings
Verified signatured62e25b
-
Update README.md
Verified signatureadd DOI88175a8
-
Update README.md - section headings
Verified signaturedffb1f7 -
Update README.md - update recommended settings
Verified signature177f84e
-
Update README.md - add link to release announcement
Verified signaturec65acbd -
Update README.md - add benchmark evaluation temperature
Verified signatureccd720f -
Update README.md - language typos
Verified signature903a224
-
Update README.md
Verified signature5c70b2b -
Update README.md
Verified signatureabe2867 -
Update README.md
Verified signature312cafa
-
Update README.md
Verified signature470e343 -
Add model.safetensors.index.json
Verified signature6f21856
-
Update README.md
Verified signaturefdeb826 -
Update README.md: fix link to LICENSE
Verified signaturedbde829 -
Upload LICENSE.DeepSeek
Verified signature77aa8bf -
Upload intelligence_score_vs_output_tokens.png
Verified signatureaed26a1 -
Update README.md
Verified signature213b8a6 -
Update README.md
Verified signature3c3d48d -
Update README.md
Verified signature162fed2 -
Update README.md: add link to R1T Chimera
Verified signature18ac100 -
Update README.md: fix typo
Verified signature6a3eae2 -
Update README.md
Verified signature11e76f2 -
Update README.md
Verified signature18a0c73 -
Update README.md
Verified signature7531624 -
Update README.md
Verified signaturea5907ba -
Update README.md
Verified signature3b51f47 -
Update README.md
Verified signature6e71df0 -
Update README.md
Verified signaturef6ba7e0 -
Update README.md
Verified signature975dbeb -
Update README.md
Verified signature75d696c -
Update README.md
Verified signaturef60e279 -
Update README.md
Verified signaturee40ca83 -
Upload intelligence_score_vs_output_tokens.png
Verified signatureff546dd -
Delete r1t2-intelligence-score.png
Verified signature950fbce -
Create r1t2-intelligence-score.png
Verified signature93f40a8