Transformers
Safetensors
reasoning
chain-of-thought
deepseek
qwen
unsloth
chatml
agent
code
thinking
distilled
Instructions to use 3amthoughts/DeepLink-R1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 3amthoughts/DeepLink-R1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("3amthoughts/DeepLink-R1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download chat_template.jinja from 3amthoughts/DeepLink-R1: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/3amthoughts/DeepLink-R1/resolve/main/chat_template.jinja
- Command line
-
hf download hf://3amthoughts/DeepLink-R1/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/3amthoughts/DeepLink-R1/resolve/main/chat_template.jinja
398 Bytes
| {% for message in messages %}{% if message['role'] == 'user' %}{{'<|im_start|>user | |
| ' + message['content'] + '<|im_end|> | |
| '}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant | |
| ' + message['content'] + '<|im_end|> | |
| ' }}{% else %}{{ '<|im_start|>system | |
| ' + message['content'] + '<|im_end|> | |
| ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant | |
| ' }}{% endif %} |