UMT5 is pretrained on the an updated version of mC4 corpus, covering 107 languages: Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bulgarian, Burmese, Catalan, Cebuano, Chichewa, Chinese, Corsican, Czech, Danish…
Model Card
By Google, published under apache-2.0, revision 66cb9e7e8552.
UMT5 is pretrained on the an updated version of mC4 corpus, covering 107 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…
Read Google's full model card
UMT5 is pretrained on the an updated version of mC4 corpus, covering 107 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: UMT5 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: UniMax, Fairer and More Effective Language Sampling for Large-Scale Multilingual Pretraining
Authors: by Hyung Won Chung, Xavier Garcia, Adam Roberts, Yi Tay, Orhan Firat, Sharan Narang, Noah Constant
Abstract
Pretrained multilingual large language models have typically used heuristic temperature-based sampling to balance between different languages. However previous work has not systematically evaluated the efficacy of different pretraining language distributions across model scales. In this paper, we propose a new sampling method, UniMax, that delivers more uniform coverage of head languages while mitigating overfitting on tail languages by explicitly capping the number of repeats over each language's corpus. We perform an extensive series of ablations testing a range of sampling strategies on a suite of multilingual benchmarks, while varying model scale. We find that UniMax outperforms standard temperature-based sampling, and the benefits persist as scale increases. As part of our contribution, we release: (i) an improved and refreshed mC4 multilingual corpus consisting of 29 trillion characters across 107 languages, and (ii) a suite of pretrained umT5 model checkpoints trained with UniMax sampling.
Configuration
- Architecture
- UMT5ForConditionalGeneration
- Vocabulary size
- 256,384
- Stored precision
- float32
Identity and Version
- Repository
- google/umt5-xxl
- Publisher
- 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
- 66cb9e7e85526fe440a945569e42c72fb6cbc0ad
- First published
- 2023-07-02
- Last updated
- 2023-07-03
Files and Weights
15 files, 51.9 GB in total. The weights are 6 files totalling 51.9 GB in bin.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| pytorch_model-00001-of-00006.bin | Weights | 9.9 GB | 382094214dfe |
| pytorch_model-00002-of-00006.bin | Weights | 10.0 GB | b49efce006c9 |
| pytorch_model-00003-of-00006.bin | Weights | 10.0 GB | da3d39fffe64 |
| pytorch_model-00004-of-00006.bin | Weights | 10.0 GB | 9da344dda810 |
| pytorch_model-00005-of-00006.bin | Weights | 7.9 GB | 0ad06915eba0 |
| pytorch_model-00006-of-00006.bin | Weights | 4.2 GB | 5798b8aa388b |
| config.json | Configuration | 799 B | — |
| generation_config.json | Configuration | 147 B | — |
| pytorch_model.bin.index.json | Configuration | 56.0 KB | — |
| special_tokens_map.json | Configuration | 6.6 KB | — |
| README.md | Documentation | 3.3 KB | — |
| .gitattributes | Repository | 1.6 KB | — |
| spiece.model | Tokenizer | 4.5 MB | e3909a67b780 |
| tokenizer.json | Tokenizer | 16.9 MB | af904105ce10 |
| tokenizer_config.json | Tokenizer | 6.8 KB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 51.9 GB
Released by Google through its official repository on Hugging Face. Read the license.
Built From
- Trained on (disclosed) mc4
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 51.9 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About umt5-xxl
Can I use umt5-xxl commercially?
Yes. umt5-xxl 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.