Instructions to use AIDA-UPM/robit-roberta-base-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIDA-UPM/robit-roberta-base-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="AIDA-UPM/robit-roberta-base-it")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AIDA-UPM/robit-roberta-base-it") model = AutoModelForMaskedLM.from_pretrained("AIDA-UPM/robit-roberta-base-it") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("AIDA-UPM/robit-roberta-base-it")
model = AutoModelForMaskedLM.from_pretrained("AIDA-UPM/robit-roberta-base-it")Quick Links
This model is a Pytorch version of flax-community/robit-roberta-base-it. All credits to their developers.
- Downloads last month
- 13
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="AIDA-UPM/robit-roberta-base-it")