facebookresearch/XLM
PyTorch original implementation of Cross-lingual Language Model Pretraining. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2770
- days_rel: n/a
- days_push: 1296
- n_releases_24m: 0
Adoption not part of the score
2920 stars · 498 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyTorch implementation of Cross-lingual Language Model Pretraining (XLM) from Facebook AI Research, covering MLM, CLM, and TLM objectives plus XLM-R. It includes pretrained models and fine-tuning code for GLUE, XNLI, and supervised/unsupervised machine translation.
Use cases
- pretrain a cross-lingual language model
- fine-tune BERT-style models on XNLI
- train unsupervised machine translation models
- reproduce the XLM research paper
- run masked language model pretraining on custom corpora
- evaluate cross-lingual text classification
When to choose
- you need the original XLM/XLM-R research code and pretrained weights
- you want to experiment with cross-lingual pretraining objectives like TLM
- you need multi-GPU/multi-node pretraining in PyTorch
When to avoid
- you want a maintained library for production NLP - use Hugging Face Transformers instead
- you need modern tooling or recent PyTorch support (code tested on PyTorch 0.4/1.0)
- you only need inference with pretrained multilingual models
Facets
library · maturity maintenance
machine-learning llm-training nlp machine-learning deep-learning python pytorch cross-lingual pretraining bert machine-translation research-code facebook-research natural-language-processing gpu linux
1 source
- readme: https://github.com/facebookresearch/XLM · fetched 2026-08-28 · 2bf84f798a85
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookresearch/XLM | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebookresearch/XLM")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem