Model reference · open weights
mt0-xxl-mt is an open-weight language model from bigscience. mt0-xxl-mt (FP32) weighs 27.9 GB; the smallest configuration that runs it is L40S 48 GB.
Summary of the bigscience/mt0-xxl-mt model card, 2026-10-01
What it is
| Released by | bigscience |
|---|---|
| Released | 2022-10-27 |
| Parameters | 13.9B |
| VRAM | 27.9 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … RTX 4090 24 GB 4 smaller cards | — | — | — | |
| RTX 5090 32 GB | — | — | 5K | 31.0 GB |
| L40S 48 GB | 4 | 1 | 37K | 44.0 GB |
| A100 80 GB | 15 | 3 | 122K | 78.2 GB |
| H100 80 GB | 13 | 3 | 108K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 18 | 4 | 128K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 22 | 5 | 128K | 107 GB |
| H200 141 GB | 32 | 8 | 128K | 138 GB |
| B200 180 GB | 43 | 10 | 128K | 176 GB |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 32.0 GB | 41.7 GB |
| 5 | 44.9 GB | 93.2 GB |
| 8 | 54.5 GB | 132 GB |
| 16 | 80.3 GB | 235 GB |
| 32 | 132 GB | 441 GB |
| 64 | 235 GB | 853 GB |
One card, with vLLM's small-card settings.
From the model card
We present BLOOMZ & mT0, a family of models capable of following human instructions in dozens of languages zero-shot. We finetune BLOOM & mT5 pretrained multilingual language models on our crosslingual task mixture (xP3) and find our resulting models capable of crosslingual generalization to unseen tasks & languages.
We recommend using the model to perform tasks expressed in natural language. For example, given the prompt "Translate to English: Je t’aime.", the model will most likely answer "I love you.". Some prompt ideas from our paper:
Feel free to share your generations in the Community tab!
# pip install -q transformers
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
checkpoint = "bigscience/mt0-xxl-mt"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint)
inputs = tokenizer.encode("Translate to English: Je t’aime.", return_tensors="pt")
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
# pip install -q transformers accelerate
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
checkpoint = "bigscience/mt0-xxl-mt"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint, torch_dtype="auto", device_map="auto")
inputs = tokenizer.encode("Translate to English: Je t’aime.", return_tensors="pt").to("cuda")
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
# pip install -q transformers accelerate bitsandbytes
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
checkpoint = "bigscience/mt0-xxl-mt"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForSeq2SeqLM.from_pretrained(checkpoint, device_map="auto", load_in_8bit=True)
inputs = tokenizer.encode("Translate to English: Je t’aime.", return_tensors="pt").to("cuda")
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
Prompt Engineering: The performance may vary depending on the prompt. For BLOOMZ models, we recommend making it very clear when the input stops to avoid the model trying to continue it. For example, the prompt "Translate to English: Je t'aime" without the full stop (.) at the end, may result in the model trying to continue the French sentence. Better prompts are e.g. "Translate to English: Je t'aime.", "Translate to English: Je t'aime. Translation:" "What is "Je t'aime." in English?", where it is clear for the model when it should answer. Further, we recommend providing the model as much context as possible. For example, if you want it to answer in Telugu, then tell the model, e.g. "Explain in a sentence in Telugu what is backpropagation in neural networks.".
config.json fileWe refer to Table 7 from our paper & bigscience/evaluation-results for zero-shot results on unseen tasks. The sidebar reports zero-shot performance of the best prompt per dataset config.
@article{muennighoff2022crosslingual,
title={Crosslingual generalization through multitask finetuning},
author={Muennighoff, Niklas and Wang, Thomas and Sutawika, Lintang and Roberts, Adam and Biderman, Stella and Scao, Teven Le and Bari, M Saiful and Shen, Sheng and Yong, Zheng-Xin and Schoelkopf, Hailey and others},
journal={arXiv preprint arXiv:2211.01786},
year={2022}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Benchmarks
As published on the model card: the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| Coreference resolution | Winogrande XL (xl) | Accuracy | 62.670 |
| Coreference resolution | XWinograd (en) | Accuracy | 83.310 |
| Coreference resolution | XWinograd (fr) | Accuracy | 78.310 |
| Coreference resolution | XWinograd (jp) | Accuracy | 80.190 |
| Coreference resolution | XWinograd (pt) | Accuracy | 80.990 |
| Coreference resolution | XWinograd (ru) | Accuracy | 79.050 |
| Coreference resolution | XWinograd (zh) | Accuracy | 82.340 |
| Natural language inference | ANLI (r1) | Accuracy | 49.500 |
| Natural language inference | ANLI (r2) | Accuracy | 42 |
| Natural language inference | ANLI (r3) | Accuracy | 48.170 |
| Natural language inference | SuperGLUE (cb) | Accuracy | 87.500 |
| Natural language inference | SuperGLUE (rte) | Accuracy | 84.840 |
| Natural language inference | XNLI (ar) | Accuracy | 58.030 |
| Natural language inference | XNLI (bg) | Accuracy | 59.920 |
| Natural language inference | XNLI (de) | Accuracy | 60.160 |
| Natural language inference | XNLI (el) | Accuracy | 59.200 |
| Natural language inference | XNLI (en) | Accuracy | 62.250 |
| Natural language inference | XNLI (es) | Accuracy | 60.920 |
| Natural language inference | XNLI (fr) | Accuracy | 59.880 |
| Natural language inference | XNLI (hi) | Accuracy | 57.470 |
| Natural language inference | XNLI (ru) | Accuracy | 58.670 |
| Natural language inference | XNLI (sw) | Accuracy | 56.790 |
| Natural language inference | XNLI (th) | Accuracy | 58.030 |
| Natural language inference | XNLI (tr) | Accuracy | 57.670 |