SAVRN
Search Contact SAVRN

Open-weight model

mt5-large

by Google google/mt5-large

mT5 is pretrained on the mC4 corpus, covering 101 languages: Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bulgarian, Burmese, Catalan, Cebuano, Chichewa, Chinese, Corsican, Czech, Danish, Dutch, English, Esperanto…

Parameters
Context
Weights14.8 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads201k

Model Card

By Google, published under apache-2.0, revision 50b7223e98fc.

mT5 is pretrained on the mC4 corpus, covering 101 languages: Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bulgarian, Burmese, Catalan, Cebuano, Chichewa, Chinese, Corsican, Czech, Danish, Dutch, English, Esperanto, Estonian, Filipino, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Nepali, Norwegian, Pashto, Persian, Polish…

Read Google's full model card

Google's mT5

mT5 is pretrained on the mC4 corpus, covering 101 languages:

Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bulgarian, Burmese, Catalan, Cebuano, Chichewa, Chinese, Corsican, Czech, Danish, Dutch, English, Esperanto, Estonian, Filipino, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Nepali, Norwegian, Pashto, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Samoan, Scottish Gaelic, Serbian, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Sotho, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Telugu, Thai, Turkish, Ukrainian, Urdu, Uzbek, Vietnamese, Welsh, West Frisian, Xhosa, Yiddish, Yoruba, Zulu.

Note: mT5 was only pre-trained on mC4 excluding any supervised training. Therefore, this model has to be fine-tuned before it is useable on a downstream task.

Pretraining Dataset: mC4

Other Community Checkpoints: here

Paper: mT5: A massively multilingual pre-trained text-to-text transformer

Authors: Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, Colin Raffel

Abstract

The recent "Text-to-Text Transfer Transformer" (T5) leveraged a unified text-to-text format and scale to attain state-of-the-art results on a wide variety of English-language NLP tasks. In this paper, we introduce mT5, a multilingual variant of T5 that was pre-trained on a new Common Crawl-based dataset covering 101 languages. We describe the design and modified training of mT5 and demonstrate its state-of-the-art performance on many multilingual benchmarks. All of the code and model checkpoints used in this work are publicly available.

Configuration

Architecture
MT5ForConditionalGeneration
Vocabulary size
250,112
Model type
mt5

Identity and Version

Repository
google/mt5-large
Publisher
Google
Task
Not stated by the source
Modality
Other
Library
transformers
Parameters
Not stated by the source
Languages
af, am, ar, az, be, bg, bn, ca
Revision
50b7223e98fcd124b0cabb1ec81bc6324c7df107
First published
2022-03-02
Last updated
2023-01-24

Files and Weights

10 files, 14.8 GB in total. The weights are 3 files totalling 14.8 GB in bin, h5, msgpack.

Weights3 files · 14.8 GB
Configuration3 files · 854 B
Tokenizer2 files · 4.3 MB
Documentation1 file · 2.8 KB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights4.9 GB ab535d2ec429
pytorch_model.binWeights4.9 GB b6ce477860d6
tf_model.h5Weights4.9 GB f28f11f442f5
config.jsonConfiguration642 B
generation_config.jsonConfiguration147 B
special_tokens_map.jsonConfiguration65 B
README.mdDocumentation2.8 KB
.gitattributesRepository391 B
spiece.modelTokenizer4.3 MB
tokenizer_config.jsonTokenizer376 B

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
14.8 GB
Download from Google

Released by Google through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published14.8 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About mt5-large

Can I use mt5-large commercially?

Yes. mt5-large is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.