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