← All models · mT5-small

Basics · text2text-generation · WASM

One blank, many languages

The fundamental move of a span-corruption model: leave a <extra_id_0> blank in a sentence and the model reconstructs what belongs there. Because mT5 shares one 250k-token vocabulary across 101 languages, the same weights fill a blank in Spanish, German, Chinese or English — in that same language. Pick a language to load a masked sentence, then fill it.

Try it

Pick a language (loads a masked sentence):

Raw output (sentinel-delimited)
Reconstructed sentence

Next: Practical — multilingual cloze →