Instructions to use BSC-LT/mRoBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BSC-LT/mRoBERTa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="BSC-LT/mRoBERTa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("BSC-LT/mRoBERTa") model = AutoModelForMaskedLM.from_pretrained("BSC-LT/mRoBERTa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from BSC-LT/mRoBERTa: direct link, hf CLI and curl.
- Browser
- Download file 4.81 MB
-
https://huggingface.co/BSC-LT/mRoBERTa/resolve/refs%2Fpr%2F3/tokenizer.model
- Command line
-
hf download hf://BSC-LT/mRoBERTa@refs/pr/3/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/BSC-LT/mRoBERTa/resolve/refs%2Fpr%2F3/tokenizer.model
4.81 MB
- Xet hash:
- 732243bcc8f84066e336dbd546cd90c6056580170ad93a1ba19e92021f521084
- Size of remote file:
- 4.81 MB
- SHA256:
- 5072e3209a04aa01dbf4db72b8fec52cf8cd06a042c9ba819678e084f7b665d5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.