Instructions to use MagDevX/mag_tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MagDevX/mag_tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MagDevX/mag_tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from MagDevX/mag_tokenizer: direct link, hf CLI and curl.
- Browser
- Download file 132 Bytes
-
https://huggingface.co/MagDevX/mag_tokenizer/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://MagDevX/mag_tokenizer/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/MagDevX/mag_tokenizer/resolve/main/tokenizer_config.json
132 Bytes
| { | |
| "backend": "tokenizers", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |