facebook / m2m100_418M

M2M100 is a model that can translate directly between any pair of 100 languages.

Examples

quickstart

Translation from Hindi to French and Chinese to English

Inputs

Name: input

Name: source_language

Name: target_language

Outputs

Name: output


Usage

Inputs

Name: input

Description: The strings to translate as batches grouped by language

Type: string

Shape: [N, *]

Name: source_language

Description: The source language (or empty string) for every batch item

Type: string

Shape: [N]

Name: target_language

Description: The target language for every batch item

Type: string

Shape: [N]

Outputs

Name: output

Description: The translated strings in the same shape as `input`

Type: string

Shape: [N, *]

Readme

See here for more details. M2M100 supports the following languages:

  • Afrikaans
  • Danish
  • Dutch
  • German
  • English
  • Icelandic
  • Luxembourgish
  • Norwegian
  • Swedish
  • WesternFrisian
  • Yiddish
  • Asturian
  • Catalan
  • French
  • Galician
  • Italian
  • Occitan
  • Portuguese
  • Romanian
  • Spanish
  • Belarusian
  • Bosnian
  • Bulgarian
  • Croatian
  • Czech
  • Macedonian
  • Polish
  • Russian
  • Serbian
  • Slovak
  • Slovenian
  • Ukrainian
  • Estonian
  • Finnish
  • Hungarian
  • Latvian
  • Lithuanian
  • Albanian
  • Armenian
  • Georgian
  • Greek
  • Breton
  • Irish
  • ScottishGaelic
  • Welsh
  • Azerbaijani
  • Bashkir
  • Kazakh
  • Turkish
  • Uzbek
  • Japanese
  • Korean
  • Vietnamese
  • Chinese
  • Bengali
  • Gujarati
  • Hindi
  • Kannada
  • Marathi
  • Nepali
  • Oriya
  • Panjabi
  • Sindhi
  • Sinhala
  • Urdu
  • Tamil
  • Cebuano
  • Iloko
  • Indonesian
  • Javanese
  • Malagasy
  • Malay
  • Malayalam
  • Sundanese
  • Tagalog
  • Burmese
  • CentralKhmer
  • Lao
  • Thai
  • Mongolian
  • Arabic
  • Hebrew
  • Pashto
  • Farsi
  • Amharic
  • Fulah
  • Hausa
  • Igbo
  • Lingala
  • Luganda
  • NorthernSotho
  • Somali
  • Swahili
  • Swati
  • Tswana
  • Wolof
  • Xhosa
  • Yoruba
  • Zulu
  • HaitianCreole

Get it

Copy the model URL:

https://carton.pub/facebook/m2m100_418M/69c5e31a5a0ff6d2719afe677dbe57022828789a5c2e586a5b66d2fc37cddb07
This model has quickstart code available for every supported language.

Homepage

https://about.fb.com/news/2020/10/first-multilingual-machine-translation-model/

License

MIT

Tasks