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