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 emissions.csv from g8a9/roberta-tiny-8l-10M: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/g8a9/roberta-tiny-8l-10M/resolve/main/emissions.csv
- Command line
-
hf download hf://g8a9/roberta-tiny-8l-10M/emissions.csv
-
curl -L -o emissions.csv https://huggingface.co/g8a9/roberta-tiny-8l-10M/resolve/main/emissions.csv
296 Bytes
| timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region | |
| 2023-02-17T02:11:48,4a0531f7-2fa8-40b5-be6d-9c42048a715d,codecarbon,11126.190213680267,0.6553786463396575,0.9920445490512199,Italy,ITA,lombardy,N,, | |