Instructions to use g8a9/roberta-tiny-8l-10M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use g8a9/roberta-tiny-8l-10M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="g8a9/roberta-tiny-8l-10M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("g8a9/roberta-tiny-8l-10M") model = AutoModelForMaskedLM.from_pretrained("g8a9/roberta-tiny-8l-10M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from g8a9/roberta-tiny-8l-10M: direct link, hf CLI and curl.
- Browser
- Download file 795 kB
-
https://huggingface.co/g8a9/roberta-tiny-8l-10M/resolve/main/vocab.json
- Command line
-
hf download hf://g8a9/roberta-tiny-8l-10M/vocab.json
-
curl -L -o vocab.json https://huggingface.co/g8a9/roberta-tiny-8l-10M/resolve/main/vocab.json
795 kB
File too large to display, you can check the raw version instead.