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