Instructions to use FacebookAI/xlm-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FacebookAI/xlm-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FacebookAI/xlm-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("FacebookAI/xlm-roberta-large") model = AutoModelForMaskedLM.from_pretrained("FacebookAI/xlm-roberta-large") - Inference
- Notebooks
- Google Colab
- Kaggle
Model card a copy/paste?
#7
by tilusnet - opened
Hi,
Am I right that the xlm-roberta-large model card is identical to that of xlm-roberta-base?
What makes this model "large" vs the "base"?
Thanks.