Instructions to use N-Bot-Int/SmolSam3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use N-Bot-Int/SmolSam3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("N-Bot-Int/SmolSam3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download tokenizer_config.json from N-Bot-Int/SmolSam3: direct link, hf CLI and curl.
- Browser
- Download file 431 Bytes
-
https://huggingface.co/N-Bot-Int/SmolSam3/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://N-Bot-Int/SmolSam3/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/N-Bot-Int/SmolSam3/resolve/main/tokenizer_config.json
431 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|im_end|>", | |
| "fast": false, | |
| "is_local": false, | |
| "max_length": null, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<|im_end|>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "left", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |