kazandaev commited on
Commit
b83cbae
·
1 Parent(s): 7c2e88c

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -15
README.md CHANGED
@@ -1,28 +1,65 @@
1
  ---
2
- language: multilingual
3
- datasets:
4
- - mc4
5
-
6
- license: apache-2.0
 
 
7
  ---
8
 
9
- [Google's mT5](https://github.com/google-research/multilingual-t5)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
- mT5 is pretrained on the [mC4](https://www.tensorflow.org/datasets/catalog/c4#c4multilingual) corpus, covering 101 languages:
12
 
13
- 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.
14
 
15
- **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.
16
 
17
- Pretraining Dataset: [mC4](https://www.tensorflow.org/datasets/catalog/c4#c4multilingual)
18
 
19
- Other Community Checkpoints: [here](https://huggingface.co/models?search=mt5)
 
 
 
 
 
 
 
 
 
20
 
21
- Paper: [mT5: A massively multilingual pre-trained text-to-text transformer](https://arxiv.org/abs/2010.11934)
22
 
23
- Authors: *Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, Colin Raffel*
 
 
 
 
 
 
24
 
25
 
26
- ## Abstract
27
 
28
- 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.
 
 
 
 
1
  ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - bleu
6
+ model-index:
7
+ - name: mt5-base-en-ru
8
+ results: []
9
  ---
10
 
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # mt5-base-en-ru
15
+
16
+ This model was trained from scratch on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.8401
19
+ - Bleu: 12.2867
20
+ - Gen Len: 17.8712
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
 
30
+ ## Training and evaluation data
31
 
32
+ More information needed
33
 
34
+ ## Training procedure
35
 
36
+ ### Training hyperparameters
37
 
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0004
40
+ - train_batch_size: 14
41
+ - eval_batch_size: 3
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 10
44
+ - total_train_batch_size: 140
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 5
48
 
49
+ ### Training results
50
 
51
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
52
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
53
+ | 1.1469 | 1.0 | 11019 | 1.0554 | 10.1262 | 17.8974 |
54
+ | 1.0112 | 2.0 | 22038 | 0.9529 | 10.9674 | 17.8698 |
55
+ | 0.937 | 3.0 | 33057 | 0.8913 | 11.6301 | 17.8687 |
56
+ | 0.8809 | 4.0 | 44076 | 0.8545 | 11.9517 | 17.8833 |
57
+ | 0.8501 | 5.0 | 55095 | 0.8401 | 12.2867 | 17.8712 |
58
 
59
 
60
+ ### Framework versions
61
 
62
+ - Transformers 4.16.2
63
+ - Pytorch 1.10.2+cu113
64
+ - Datasets 1.18.3
65
+ - Tokenizers 0.11.0