qgyd2021 commited on
Commit
b72e90e
·
1 Parent(s): 6757676

[update]add main

Browse files
Files changed (1) hide show
  1. main.py +2 -21
main.py CHANGED
@@ -54,27 +54,8 @@ def main():
54
  M2M100 is a multilingual encoder-decoder (seq-to-seq) model trained for Many-to-Many multilingual translation.
55
  It was introduced in this [paper](https://arxiv.org/abs/2010.11125) and first released in [this](https://github.com/pytorch/fairseq/tree/master/examples/m2m_100) repository.
56
 
57
- ### Languages covered
58
-
59
- Afrikaans (af), Amharic (am), Arabic (ar), Asturian (ast), Azerbaijani (az),
60
- Bashkir (ba), Belarusian (be), Bulgarian (bg), Bengali (bn), Breton (br), Bosnian (bs),
61
- Catalan; Valencian (ca), Cebuano (ceb), Czech (cs), Welsh (cy), Danish (da), German (de), Greeek (el),
62
- English (en), Spanish (es), Estonian (et), Persian (fa), Fulah (ff), Finnish (fi), French (fr),
63
- Western Frisian (fy), Irish (ga), Gaelic; Scottish Gaelic (gd), Galician (gl), Gujarati (gu),
64
- Hausa (ha), Hebrew (he), Hindi (hi), Croatian (hr), Haitian; Haitian Creole (ht), Hungarian (hu), Armenian (hy),
65
- Indonesian (id), Igbo (ig), Iloko (ilo), Icelandic (is), Italian (it),
66
- Japanese (ja), Javanese (jv), Georgian (ka), Kazakh (kk), Central Khmer (km),
67
- Kannada (kn), Korean (ko), Luxembourgish; Letzeburgesch (lb), Ganda (lg),
68
- Lingala (ln), Lao (lo), Lithuanian (lt), Latvian (lv),
69
- Malagasy (mg), Macedonian (mk), Malayalam (ml), Mongolian (mn), Marathi (mr), Malay (ms),
70
- Burmese (my), Nepali (ne), Dutch; Flemish (nl), Norwegian (no), Northern Sotho (ns),
71
- Occitan (post 1500) (oc), Oriya (or), Panjabi; Punjabi (pa), Polish (pl), Pushto; Pashto (ps), Portuguese (pt),
72
- Romanian; Moldavian; Moldovan (ro), Russian (ru),
73
- Sindhi (sd), Sinhala; Sinhalese (si), Slovak (sk), Slovenian (sl), Somali (so),
74
- Albanian (sq), Serbian (sr), Swati (ss), Sundanese (su), Swedish (sv), Swahili (sw),
75
- Tamil (ta), Thai (th), Tagalog (tl), Tswana (tn), Turkish (tr),
76
- Ukrainian (uk), Urdu (ur), Uzbek (uz), Vietnamese (vi), Wolof (wo), Xhosa (xh),
77
- Yiddish (yi), Yoruba (yo), Chinese (zh), Zulu (zu)
78
  """
79
 
80
  examples = [
 
54
  M2M100 is a multilingual encoder-decoder (seq-to-seq) model trained for Many-to-Many multilingual translation.
55
  It was introduced in this [paper](https://arxiv.org/abs/2010.11125) and first released in [this](https://github.com/pytorch/fairseq/tree/master/examples/m2m_100) repository.
56
 
57
+ [Languages covered](https://huggingface.co/facebook/m2m100_418M#languages-covered)
58
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  """
60
 
61
  examples = [