Instructions to use ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/resolve/main/added_tokens.json
- Command line
-
hf download hf://ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/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 | |
| } | |