Instructions to use galbitang/polyglot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use galbitang/polyglot with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("galbitang/polyglot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from galbitang/polyglot: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/galbitang/polyglot/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://galbitang/polyglot/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/galbitang/polyglot/resolve/main/special_tokens_map.json
184 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|endoftext|>", | |
| "<|sep|>", | |
| "<|acc|>", | |
| "<|tel|>", | |
| "<|rrn|>" | |
| ], | |
| "eos_token": "<|endoftext|>", | |
| "pad_token": "<|endoftext|>" | |
| } |