Instructions to use errchh/SmolLM2-reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use errchh/SmolLM2-reasoning with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("errchh/SmolLM2-reasoning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from errchh/SmolLM2-reasoning: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/errchh/SmolLM2-reasoning/resolve/main/added_tokens.json
- Command line
-
hf download hf://errchh/SmolLM2-reasoning/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/errchh/SmolLM2-reasoning/resolve/main/added_tokens.json
225 Bytes
| { | |
| "</think>": 49156, | |
| "</tool_call>": 49158, | |
| "</tool_reponse>": 49160, | |
| "</tools>": 49154, | |
| "<eos>": 49161, | |
| "<pad>": 49152, | |
| "<think>": 49155, | |
| "<tool_call>": 49157, | |
| "<tool_reponse>": 49159, | |
| "<tools>": 49153 | |
| } | |