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