Model reference · open weights

mt0

Available as managed deployment LLMs bigscience Text gen 1 variants 1k dl/mo

mt0 is an open-weight language model from bigscience. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Makerbigscience
TypeLanguage models
TaskText gen
Parameters (lead)582M
Runs withtransformers
Released2022-10-27
Popularity1k downloads / month
LicenceOpen weights

About

What mt0 is

  1. Model Summary
  2. Use
  3. Limitations
  4. Training
  5. Evaluation
  6. Citation

Model Summary

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.

Use

Intended use

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:

  • 一个传奇的开端,一个不灭的神话,这不仅仅是一部电影,而是作为一个走进新时代的标签,永远彪炳史册。你认为这句话的立场是赞扬、中立还是批评?
  • Suggest at least five related search terms to "Mạng neural nhân tạo".
  • Write a fairy tale about a troll saving a princess from a dangerous dragon. The fairy tale is a masterpiece that has achieved praise worldwide and its moral is "Heroes Come in All Shapes and Sizes". Story (in Spanish):
  • Explain in a sentence in Telugu what is backpropagation in neural networks.

Feel free to share your generations in the Community tab!

How to use

CPU

# pip install -q transformers
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

checkpoint = "bigscience/mt0-base"

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]))

GPU

# pip install -q transformers accelerate
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

checkpoint = "bigscience/mt0-base"

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]))

GPU in 8bit

# pip install -q transformers accelerate bitsandbytes
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

checkpoint = "bigscience/mt0-base"

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]))

Limitations

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.".

Training

Model

  • Architecture: Same as mt5-base, also refer to the config.json file
  • Finetuning steps: 25000
  • Finetuning tokens: 4.62 billion
  • Precision: bfloat16

Hardware

  • TPUs: TPUv4-64

Software

  • Orchestration: T5X
  • Neural networks: Jax

Evaluation

We 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.

Citation

@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}
}

From the published model card. Full card on the HuggingFace links in the sidebar.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Coreference resolutionWinogrande XL (xl)Accuracy53.280
Coreference resolutionXWinograd (en)Accuracy51.400
Coreference resolutionXWinograd (fr)Accuracy55.420
Coreference resolutionXWinograd (jp)Accuracy51.410
Coreference resolutionXWinograd (pt)Accuracy52.090
Coreference resolutionXWinograd (ru)Accuracy53.970
Coreference resolutionXWinograd (zh)Accuracy53.970
Natural language inferenceANLI (r1)Accuracy33.300
Natural language inferenceANLI (r2)Accuracy33.500
Natural language inferenceANLI (r3)Accuracy33.330
Natural language inferenceSuperGLUE (cb)Accuracy50
Natural language inferenceSuperGLUE (rte)Accuracy66.430
Natural language inferenceXNLI (ar)Accuracy41.850
Natural language inferenceXNLI (bg)Accuracy42.330
Natural language inferenceXNLI (de)Accuracy42.410
Natural language inferenceXNLI (el)Accuracy40.920
Natural language inferenceXNLI (en)Accuracy43.780
Natural language inferenceXNLI (es)Accuracy41.930
Natural language inferenceXNLI (fr)Accuracy42.450
Natural language inferenceXNLI (hi)Accuracy39.760
Natural language inferenceXNLI (ru)Accuracy41.930
Natural language inferenceXNLI (sw)Accuracy39.680
Natural language inferenceXNLI (th)Accuracy41.970
Natural language inferenceXNLI (tr)Accuracy40.280

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys mt0 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (mt0 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mt0","messages":[{"role":"user","content":"Hello"}]}'

Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms