Instructions to use ybelkada/hubert-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ybelkada/hubert-tiny-random with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ybelkada/hubert-tiny-random")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("ybelkada/hubert-tiny-random") model = AutoModel.from_pretrained("ybelkada/hubert-tiny-random", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ybelkada/hubert-tiny-random: direct link, hf CLI and curl.
- Browser
- Download file 96 Bytes
-
https://huggingface.co/ybelkada/hubert-tiny-random/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ybelkada/hubert-tiny-random/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ybelkada/hubert-tiny-random/resolve/main/special_tokens_map.json
96 Bytes
| { | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |