XLM
by Meta · Jun 1, 2019
XLM is an open-weight translation model from Meta, released Jun 1, 2019. It has 665M parameters.
- Provider
- Meta
- Released
- Jun 1, 2019
- Type
- Translation model
- Parameters
- 665M
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (non-commercial)
- Knowledge cutoff
- —
- Status
- Historical
About XLM
Recent studies have demonstrated the efficiency of generative pretraining for English natural language understanding. In this work, we extend this approach to multiple languages and show the effectiveness of cross-lingual pretraining. We propose two methods to learn cross-lingual language models (XLMs): one unsupervised that only relies on monolingual data, and one supervised that leverages parallel data with a new cross-lingual language model objective. We obtain state-of-the-art results on cross-lingual classification, unsupervised and supervised machine translation.
How to run XLM
XLM 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 665M parameters it needs roughly 1 GB of memory at 4-bit quantization.
XLM vs alternatives
- XLM vs Cross-lingual alignment
- XLM vs Big Transformer for Back-Translation
- XLM vs SDE
- XLM vs Xiaoice
- XLM vs Adaptive Inputs + LayerDrop
- XLM vs mBART-50
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Cross-lingual alignmentopen | Tel Aviv University | Apr 2019 | — | — | — | — | — |
| Big Transformer for Back-Translationopen | Google DeepMind | Aug 2018 | — | — | — | — | — |
| SDE | Google DeepMind | Feb 2019 | — | — | — | — | — |
| Xiaoice | Microsoft | Sep 2019 | — | — | — | — | — |
| Adaptive Inputs + LayerDropopen | Meta | Sep 2019 | 423M | — | — | — | — |
| mBART-50open | Meta | Aug 2020 | 610M | — | — | — | — |
| Chinese - English translation | Microsoft | Mar 2018 | — | — | — | — | — |
| TaLK Convolution | Carleton University | Feb 2020 | 240M | — | — | — | — |
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?
XLM was developed by Meta (United States of America). It was released on Jun 1, 2019.
Is XLM open source?
Yes. XLM's weights are publicly available, so you can download and run it yourself.
How many parameters does XLM have?
XLM has 665M parameters.
Sources: epoch · paper. Last updated 2026-11-22.