Instructions to use Pyro-X2/math-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pyro-X2/math-tokenizer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Pyro-X2/math-tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Pyro-X2/math-tokenizer: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/Pyro-X2/math-tokenizer/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Pyro-X2/math-tokenizer/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Pyro-X2/math-tokenizer/resolve/main/special_tokens_map.json
437 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "</s>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |