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 tokenizer_config.json from 3amthoughts/DeepLink-R1: direct link, hf CLI and curl.
- Browser
- Download file 684 Bytes
-
https://huggingface.co/3amthoughts/DeepLink-R1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://3amthoughts/DeepLink-R1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/3amthoughts/DeepLink-R1/resolve/main/tokenizer_config.json
684 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin▁of▁sentence|>", | |
| "eos_token": "<|im_end|>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|PAD_TOKEN|>", | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": null, | |
| "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{'<|im_start|>user\n' + message['content'] + '<|im_end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n' }}{% else %}{{ '<|im_start|>system\n' + message['content'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}" | |
| } |