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 special_tokens_map.json from ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ismailmo1/SmolLM2-1.7B-Instruct-thinking-function_calling/resolve/main/special_tokens_map.json
551 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<tools>", | |
| "</tools>", | |
| "<think>", | |
| "</think>", | |
| "<tool_call>", | |
| "</tool_call>", | |
| "<tool_reponse>", | |
| "</tool_reponse>", | |
| "<pad>", | |
| "<eos>" | |
| ], | |
| "bos_token": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": "<eos>", | |
| "pad_token": "<pad>", | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |