Languages
NLLB-200 and what low-resource language means
NLLB-200 is Meta AI's open translation model for 200 languages. Model sizes, FLORES-200 codes, the CC BY-NC 4.0 license, how to run it, and its limits.
Oct 12, 2026 · Updated Nov 9, 20266 min read9 sources
Why it matters
The weights are licensed for non-commercial use only, and the model cards rule out production, documents, and medical or legal text, so check both before you build on NLLB-200.
The short version
- 1NLLB-200 is Meta AI's July 2022 model family that translates directly between any pair of 200 languages, in 5 checkpoints from 600M to 54.5B parameters.
- 2The weights are under CC BY-NC 4.0, a non-commercial license, and the code is MIT. The model cards call NLLB-200 a research model not released for production.
- 3Run it one sentence at a time, under 512 tokens, with FLORES-200 language codes such as eng_Latn for the source and the target.
NLLB-200 is a family of open machine translation models from Meta AI, published on July 11, 2022, that translates directly between any pair of 200 languages (NLLB paper, arXiv 2207.04672). NLLB stands for No Language Left Behind, the project's name.
The weights are free to download under a non-commercial license, CC BY-NC 4.0 (LICENSE.model.md). Meta's own model cards call it a research model for single sentences, not a production system (model card).
NLLB-200 at a glance
| Question | Answer | Source |
|---|---|---|
| Who made it | Meta AI's NLLB Team | Paper, p. 1 |
| Languages | 200 per the model cards; 202 in the training data | Model card; paper, Section 8.1.6 |
| Directions tested | Over 40,000, on FLORES-200 | Paper, abstract |
| Sizes | 600M to 54.5B parameters, 5 checkpoints | README |
| Weights license | CC BY-NC 4.0 | LICENSE.model.md |
| Code license | MIT | README |
| Input length | Trained on inputs of 512 tokens or fewer | Model card |
| Intended use | Research, single-sentence translation | Model card |
Searchers write the name as nllb-200, NLLB 200, Meta NLLB, or Meta's NLLB-200. They all mean the same model family.
NLLB-200 model sizes and checkpoints
Meta released 5 checkpoints. The two distilled models are smaller models trained from NLLB-200 by online distillation (README).
| Hugging Face ID | Type | Parameters | Download |
|---|---|---|---|
| facebook/nllb-moe-54b | Mixture of experts (MoE) | 54.5B | About 350 GB |
| facebook/nllb-200-3.3B | Dense | 3.3B | 17.6 GB in 3 files |
| facebook/nllb-200-1.3B | Dense | 1.3B | 5.5 GB |
| facebook/nllb-200-distilled-1.3B | Distilled dense | 1.3B | 5.5 GB |
| facebook/nllb-200-distilled-600M | Distilled dense | 600M | 2.5 GB |
The 350 GB figure comes from the MoE model card. The other sizes are the PyTorch weight files listed under each repository's files tab. The MoE model has 54.5B parameters but compute per token similar to a 3.3B dense model (paper, Section 8.2.4).
Which checkpoint to pick
The paper scored the full model and its distilled students on FLORES-200 devtest with chrF++, a character-level overlap score where higher is better (Table 41, Section 8.6.3).
| Model in Table 41 | Average chrF++ |
|---|---|
| NLLB-200, 54B MoE | 48.3 |
| Distilled dense, 1.3B | 46.9 |
| Dense baseline, 1.3B | 46.4 |
| Distilled dense, 615M | 44.6 |
The paper calls the small model 615M; the README calls it 600M. Distillation beat a same-size model trained from scratch at both sizes. So start with distilled-600M to test your pipeline, and move to distilled-1.3B when you need the quality.
Which license is NLLB-200 under
NLLB-200 weights are under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). The README says all models are licensed under CC-BY-NC 4.0, and the LICENSE.model.md file holds that full license text. Each Hugging Face card lists cc-by-nc-4.0 (600M card).
What the license file says, by section:
| Section | What it says |
|---|---|
| 1(i) | NonCommercial means "not primarily intended for or directed towards commercial advantage or monetary compensation." |
| 2(a)(1) | You may copy, share, and adapt the weights for NonCommercial purposes only. That covers fine-tuned versions too. |
| 3(a) | If you share the weights, keep the credit and license notices and say what you changed. |
| 6(a)-(b) | Break the terms and your rights end automatically. They come back if you fix it within 30 days of finding out. |
Two more facts to keep straight. The fairseq code is MIT-licensed, which does not change the weights license (README). The NLLB language identification (LID) model is also CC BY-NC 4.0.
Separate from the license, every card says NLLB-200 is a research model and is not released for production deployment (model card).
How to run NLLB-200
The quickest route is the Hugging Face Transformers library, which supports the NLLB models (Transformers NLLB docs).
- Install Transformers and PyTorch.
- Pick a checkpoint from the table above.
- Set the source language with
src_lang, using a FLORES-200 code such aseng_Latn. - Force the target language by passing its code as
forced_bos_token_id. - Send one sentence at a time and keep each under 512 tokens.
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
name = "facebook/nllb-200-distilled-600M"
tokenizer = AutoTokenizer.from_pretrained(name, src_lang="eng_Latn")
model = AutoModelForSeq2SeqLM.from_pretrained(name)
inputs = tokenizer("UN Chief says there is no military solution in Syria", return_tensors="pt")
out = model.generate(**inputs, forced_bos_token_id=tokenizer.convert_tokens_to_ids("fra_Latn"), max_length=30)
print(tokenizer.batch_decode(out, skip_special_tokens=True)[0])
Three things trip people up, per the Transformers docs:
- Older examples, including the README, use
tokenizer.lang_code_to_id. Current docs useconvert_tokens_to_ids. - The tokenizer changed in April 2023 to put the source language token first. Pass
legacy_behaviour=Trueto get the old behavior. - You can load a checkpoint in 8-bit with bitsandbytes to cut memory.
The original fairseq training and generation code lives on the nllb branch, and GitHub shows that repository as archived (README).
NLLB-200 languages and FLORES-200 codes
Each language has a code made of an ISO 639-3 language code and an ISO 15924 script code, such as eng_Latn or zho_Hant (paper, Section 3, p. 17). The full list is in the language_details field of each model card.
FLORES-200 is the human-translated benchmark released with the models. It has 3,001 sentences from 842 web articles, split into dev (997), devtest (1,012), and test (992). The dev and devtest text is public; the test set sits behind an evaluation server (paper, Section 4.1.3, p. 22). For more, read what is FLORES-200.
FLORES-200 has 204 language and script entries. Two of them, arb_Latn and min_Arab, had no training data, so the model was trained on 202 (Section 8.1.6, p. 96).
What low-resource means in NLLB
A low-resource language, in the paper, has fewer than 1 million publicly available, de-duplicated sentence pairs with any other language in the set. That rule classed 150 of the 200 languages as low-resource (Section 3, p. 17).
| Tier | NLLB definition | Count |
|---|---|---|
| High-resource | 1 million or more sentence pairs with another language | 50 of 200 |
| Low-resource | Fewer than 1 million | 150 of 200 |
| Very low-resource | Fewer than 100,000 unique pairs across all pairings | 84 |
The very-low-resource rule and its count of 84 are in Section 8.1.5, p. 96. When a vendor says a language is low-resource, ask which cutoff they mean.
Known limits of NLLB-200
The four dense-model cards list the same out-of-scope uses (3.3B card):
- Not released for production deployment.
- Not for domain-specific text, such as medical or legal.
- Not for document translation; built for single sentences.
- Trained on inputs of 512 tokens or fewer, so longer inputs may lose quality.
- Translations cannot be used as certified translations.
The cards add that the model was tested on the Wikimedia domain, with limited checks on other domains. Personal information may remain in the web-mined training data. Mistranslations can still occur, and the cards flag health and safety decisions as a risk.
How good is NLLB-200
On FLORES-101, NLLB-200 beat the nearest earlier system by almost 7.3 spBLEU on average, a 44 percent improvement (Section 8.3.1, p. 102). The abstract reports the same gain as 44 percent BLEU.
On the 87 languages it shares with Meta's earlier M2M-100, NLLB-200 averaged 25.5 spBLEU against 13.6 (Table 30, p. 103). For what these scores measure, read machine translation metrics.
What to do next
- Read LICENSE.model.md and ask counsel before any paid or production use.
- Run distilled-600M on 50 of your own sentences before you try a bigger checkpoint.
- Look up the FLORES-200 code for each of your languages in the model card.
- Split your text into sentences and check each one is under 512 tokens.
- Score your own text, not only FLORES-200, since the cards say testing was on Wikimedia.
- If your text is medical, legal, or a full document, plan for human review.
Azcuna's BABEL reads, translates, and searches foreign-language documents entirely on-device, with no cloud and no connection, and keeps every claim tied to the passage it came from. The long read on offline machine translation goes further.
Questions people ask
What is NLLB-200?
NLLB-200 is a family of open machine translation models from Meta AI, published with the paper No Language Left Behind on July 11, 2022. The models translate directly between any pair of 200 languages, most of them low-resource. The fairseq NLLB README lists 5 checkpoints, from a 600M distilled dense model to a 54.5B mixture-of-experts model. The model cards describe it as a research model for single-sentence translation.
What does NLLB stand for?
NLLB stands for No Language Left Behind, the name of Meta AI's project and of its paper, No Language Left Behind: Scaling Human-Centered Machine Translation. NLLB-200 is the name of the translation models the project released. The 200 is the number of languages the model cards say the models translate between. FLORES-200 is the evaluation benchmark released with them.
Which license is NLLB-200 under?
The NLLB-200 weights are under Creative Commons Attribution-NonCommercial 4.0 International, written CC BY-NC 4.0. The fairseq NLLB README says all models are licensed under CC-BY-NC 4.0 and points to the LICENSE.model.md file, which holds that license text. Each Hugging Face model card lists cc-by-nc-4.0. The training and inference code is under the MIT license, which covers the code only, not the weights.
Can I use NLLB-200 commercially?
The weights license does not grant commercial rights. Section 2 of the CC BY-NC 4.0 text in LICENSE.model.md lets you reproduce, share, and adapt the weights for NonCommercial purposes only. Section 1 defines that as not primarily intended for commercial advantage or monetary compensation. The model cards add that NLLB-200 is a research model not released for production deployment. Ask counsel before any paid or production use.
What NLLB-200 model sizes are there?
The fairseq NLLB README lists 5 checkpoints: a 54.5B parameter mixture-of-experts model, dense models of 3.3B and 1.3B parameters, and distilled dense models of 1.3B and 600M parameters. On Hugging Face they are facebook/nllb-moe-54b, facebook/nllb-200-3.3B, facebook/nllb-200-1.3B, facebook/nllb-200-distilled-1.3B, and facebook/nllb-200-distilled-600M. The MoE model card says its checkpoints need around 350 GB of storage.
How many languages does NLLB-200 support?
The model cards say NLLB-200 translates among 200 languages. The paper's FLORES-200 benchmark has 204 language and script entries, and Section 8.1.6 of the paper says 2 of them, arb_Latn and min_Arab, had no training data, so the training set covered 202. The paper classes 150 of the 200 languages as low-resource. Each language is named by a code such as eng_Latn.
Can NLLB-200 translate whole documents?
Not as released. Each dense-model card says the model is not intended for document translation, supports single sentence translation among 200 languages, and was trained with inputs of no more than 512 tokens, so longer inputs may lose quality. The cards also rule out domain-specific text such as medical or legal documents, and say the translations cannot be used as certified translations.
Sources
- 1No Language Left Behind: Scaling Human-Centered Machine Translation · arXiv (NLLB Team, Meta AI), submitted July 11, 2022; v3 of August 25, 2022
- 2fairseq, NLLB branch: No Language Left Behind (README) · Meta AI Research (facebookresearch on GitHub)
- 3LICENSE.model.md (Creative Commons Attribution-NonCommercial 4.0 International) · Meta AI Research (facebookresearch on GitHub), fairseq nllb branch
- 4facebook/nllb-200-distilled-600M (model card) · Meta AI Research, hosted on Hugging Face
- 5facebook/nllb-200-distilled-1.3B (model card) · Meta AI Research, hosted on Hugging Face
- 6facebook/nllb-200-1.3B (model card) · Meta AI Research, hosted on Hugging Face
- 7facebook/nllb-200-3.3B (model card) · Meta AI Research, hosted on Hugging Face
- 8facebook/nllb-moe-54b (model card) · Meta AI Research, hosted on Hugging Face
- 9NLLB (Transformers documentation) · Hugging Face
Where this shows up in our work
- BABEL, offline multilingual translation and search translates and searches foreign-language documents on-device, every fact tied to its source passage.
