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