XLM-RoBERTa
by Meta · Nov 5, 2019
XLM-RoBERTa is an open-weight chat llm from Meta, released Nov 5, 2019. It has 550M parameters.
- Provider
- Meta
- Released
- Nov 5, 2019
- Type
- Chat LLM
- Parameters
- 550M
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (non-commercial)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 2.1e+22 FLOP
- Training data
- 167B tokens/words
About XLM-RoBERTa
This paper shows that pretraining multilingual language models at scale leads to significant performance gains for a wide range of cross-lingual transfer tasks. We train a Transformer-based masked language model on one hundred languages, using more than two terabytes of filtered CommonCrawl data. Our model, dubbed XLM-R, significantly outperforms multilingual BERT (mBERT) on a variety of cross-lingual benchmarks, including +14.6% average accuracy on XNLI, +13% average F1 score on MLQA, and +2.4% F1 score on NER.
How to run XLM-RoBERTa
XLM-RoBERTa is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 550M parameters it needs roughly 1 GB of memory at 4-bit quantization.
XLM-RoBERTa vs alternatives
- XLM-RoBERTa vs GPT-2 (774M)
- XLM-RoBERTa vs GPT-2 (355M)
- XLM-RoBERTa vs XLNet
- XLM-RoBERTa vs Megatron-LM (355M)
- XLM-RoBERTa vs MT-DNN
- XLM-RoBERTa vs Transformer-XL (257M)
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| GPT-2 (774M)open | OpenAI | Feb 2019 | 774M | — | — | — | — |
| GPT-2 (355M)open | OpenAI | Feb 2019 | 355M | — | — | — | — |
| XLNetopen | Google DeepMind | Jun 2019 | 340M | — | — | — | — |
| Megatron-LM (355M)open | NVIDIA | Sep 2019 | 355M | — | — | — | — |
| MT-DNNopen | Microsoft | Jan 2019 | 330M | — | — | — | — |
| Transformer-XL (257M)open | Google DeepMind | Jan 2019 | 257M | — | — | — | — |
| DensePhrasesopen | Korea University | Dec 2020 | — | — | — | — | — |
| Hopfield Networks (2020)open | Johannes Kepler University Linz | Jul 2020 | — | — | — | — | — |
More models from Meta
All Meta models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Muse Spark 1.3 Contributor | Sep 2026 | — | 1M | $0.1 | $0.2 |
| Llama-3.3-70B-Instructopen | Dec 2024 | 71B | 128K | $0.71 | $0.71 |
| Muse Spark Openopen | Oct 2026 | 816B | 1M | $1.25 | $4.25 |
| Muse Spark 1.2 | Aug 2026 | — | 1M | $0.1 | $0.2 |
| Muse Wonder | Oct 2026 | — | 1M | $4 | $20 |
| Muse Spark 1.1 | Apr 2026 | — | 1M | $1.25 | $4.25 |
| Llama 4 Maverickopen | Apr 2025 | 402B | 512K | $0.35 | $1 |
| Llama 4 Scoutopen | Apr 2025 | 109B | 320K | $0.1 | $0.3 |
Frequently asked questions
Who made XLM-RoBERTa?
XLM-RoBERTa was developed by Meta (United States of America). It was released on Nov 5, 2019.
Is XLM-RoBERTa open source?
Yes. XLM-RoBERTa's weights are publicly available, so you can download and run it yourself.
How many parameters does XLM-RoBERTa have?
XLM-RoBERTa has 550M parameters.
Sources: epoch · paper. Last updated 2026-11-22.