facebook / mbart-large-50

huggingface.co
Total runs: 74.6K
24-hour runs: 0
7-day runs: 26.3K
30-day runs: 56.9K
Model's Last Updated: March 28 2023
text-generation

Introduction of mbart-large-50

Model Details of mbart-large-50

mBART-50

mBART-50 is a multilingual Sequence-to-Sequence model pre-trained using the "Multilingual Denoising Pretraining" objective. It was introduced in Multilingual Translation with Extensible Multilingual Pretraining and Finetuning paper.

Model description

mBART-50 is a multilingual Sequence-to-Sequence model. It was introduced to show that multilingual translation models can be created through multilingual fine-tuning. Instead of fine-tuning on one direction, a pre-trained model is fine-tuned on many directions simultaneously. mBART-50 is created using the original mBART model and extended to add extra 25 languages to support multilingual machine translation models of 50 languages. The pre-training objective is explained below.

Multilingual Denoising Pretraining : The model incorporates N languages by concatenating data: D = {D1, ..., DN } where each Di is a collection of monolingual documents in language i . The source documents are noised using two schemes, first randomly shuffling the original sentences' order, and second a novel in-filling scheme, where spans of text are replaced with a single mask token. The model is then tasked to reconstruct the original text. 35% of each instance's words are masked by random sampling a span length according to a Poisson distribution (λ = 3.5) . The decoder input is the original text with one position offset. A language id symbol LID is used as the initial token to predict the sentence.

Intended uses & limitations

mbart-large-50 is pre-trained model and primarily aimed at being fine-tuned on translation tasks. It can also be fine-tuned on other multilingual sequence-to-sequence tasks. See the model hub to look for fine-tuned versions.

Training

As the model is multilingual, it expects the sequences in a different format. A special language id token is used as a prefix in both the source and target text. The text format is [lang_code] X [eos] with X being the source or target text respectively and lang_code is source_lang_code for source text and tgt_lang_code for target text. bos is never used. Once the examples are prepared in this format, it can be trained as any other sequence-to-sequence model.

from transformers import MBartForConditionalGeneration, MBart50TokenizerFast

model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50")
tokenizer = MBart50TokenizerFast.from_pretrained("facebook/mbart-large-50", src_lang="en_XX", tgt_lang="ro_RO")

src_text = " UN Chief Says There Is No Military Solution in Syria"
tgt_text =  "Şeful ONU declară că nu există o soluţie militară în Siria"

model_inputs = tokenizer(src_text, return_tensors="pt")
with tokenizer.as_target_tokenizer():
    labels = tokenizer(tgt_text, return_tensors="pt").input_ids

model(**model_inputs, labels=labels) # forward pass
Languages covered

Arabic (ar_AR), Czech (cs_CZ), German (de_DE), English (en_XX), Spanish (es_XX), Estonian (et_EE), Finnish (fi_FI), French (fr_XX), Gujarati (gu_IN), Hindi (hi_IN), Italian (it_IT), Japanese (ja_XX), Kazakh (kk_KZ), Korean (ko_KR), Lithuanian (lt_LT), Latvian (lv_LV), Burmese (my_MM), Nepali (ne_NP), Dutch (nl_XX), Romanian (ro_RO), Russian (ru_RU), Sinhala (si_LK), Turkish (tr_TR), Vietnamese (vi_VN), Chinese (zh_CN), Afrikaans (af_ZA), Azerbaijani (az_AZ), Bengali (bn_IN), Persian (fa_IR), Hebrew (he_IL), Croatian (hr_HR), Indonesian (id_ID), Georgian (ka_GE), Khmer (km_KH), Macedonian (mk_MK), Malayalam (ml_IN), Mongolian (mn_MN), Marathi (mr_IN), Polish (pl_PL), Pashto (ps_AF), Portuguese (pt_XX), Swedish (sv_SE), Swahili (sw_KE), Tamil (ta_IN), Telugu (te_IN), Thai (th_TH), Tagalog (tl_XX), Ukrainian (uk_UA), Urdu (ur_PK), Xhosa (xh_ZA), Galician (gl_ES), Slovene (sl_SI)

BibTeX entry and citation info
@article{tang2020multilingual,
    title={Multilingual Translation with Extensible Multilingual Pretraining and Finetuning},
    author={Yuqing Tang and Chau Tran and Xian Li and Peng-Jen Chen and Naman Goyal and Vishrav Chaudhary and Jiatao Gu and Angela Fan},
    year={2020},
    eprint={2008.00401},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Runs of facebook mbart-large-50 on huggingface.co

74.6K
Total runs
0
24-hour runs
5.6K
3-day runs
26.3K
7-day runs
56.9K
30-day runs

More Information About mbart-large-50 huggingface.co Model

More mbart-large-50 license Visit here:

https://choosealicense.com/licenses/mit

mbart-large-50 huggingface.co

mbart-large-50 huggingface.co is an AI model on huggingface.co that provides mbart-large-50's model effect (), which can be used instantly with this facebook mbart-large-50 model. huggingface.co supports a free trial of the mbart-large-50 model, and also provides paid use of the mbart-large-50. Support call mbart-large-50 model through api, including Node.js, Python, http.

mbart-large-50 huggingface.co Url

https://huggingface.co/facebook/mbart-large-50

facebook mbart-large-50 online free

mbart-large-50 huggingface.co is an online trial and call api platform, which integrates mbart-large-50's modeling effects, including api services, and provides a free online trial of mbart-large-50, you can try mbart-large-50 online for free by clicking the link below.

facebook mbart-large-50 online free url in huggingface.co:

https://huggingface.co/facebook/mbart-large-50

mbart-large-50 install

mbart-large-50 is an open source model from GitHub that offers a free installation service, and any user can find mbart-large-50 on GitHub to install. At the same time, huggingface.co provides the effect of mbart-large-50 install, users can directly use mbart-large-50 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

mbart-large-50 install url in huggingface.co:

https://huggingface.co/facebook/mbart-large-50

Url of mbart-large-50

mbart-large-50 huggingface.co Url

Provider of mbart-large-50 huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.4M
Run Growth: -8.6M
Growth Rate: -102.34%
Updated:September 15 2023
huggingface.co

Total runs: 8.0M
Run Growth: 672.5K
Growth Rate: 8.42%
Updated:January 20 2022
huggingface.co

Total runs: 4.2M
Run Growth: 117.5K
Growth Rate: 2.77%
Updated:September 06 2023
huggingface.co

Total runs: 3.2M
Run Growth: 954.2K
Growth Rate: 30.05%
Updated:January 17 2024
huggingface.co

Total runs: 2.8M
Run Growth: -302.0K
Growth Rate: -10.59%
Updated:December 28 2021
huggingface.co

Total runs: 2.3M
Run Growth: 1.0M
Growth Rate: 44.69%
Updated:January 25 2024
huggingface.co

Total runs: 2.0M
Run Growth: 40.7K
Growth Rate: 2.04%
Updated:November 21 2025
huggingface.co

Total runs: 2.0M
Run Growth: 187.1K
Growth Rate: 9.46%
Updated:March 23 2023
huggingface.co

Total runs: 691.5K
Run Growth: -182.7K
Growth Rate: -26.43%
Updated:September 06 2023
huggingface.co

Total runs: 486.9K
Run Growth: -85.8K
Growth Rate: -17.63%
Updated:May 22 2023
huggingface.co

Total runs: 429.4K
Run Growth: -69.0K
Growth Rate: -16.06%
Updated:March 17 2025
huggingface.co

Total runs: 426.1K
Run Growth: 85.8K
Growth Rate: 20.14%
Updated:February 29 2024
huggingface.co

Total runs: 424.9K
Run Growth: -90.7K
Growth Rate: -21.34%
Updated:January 12 2024
huggingface.co

Total runs: 364.3K
Run Growth: -40.6K
Growth Rate: -11.13%
Updated:January 12 2024
huggingface.co

Total runs: 315.3K
Run Growth: 43.2K
Growth Rate: 13.69%
Updated:September 15 2023
huggingface.co

Total runs: 308.4K
Run Growth: 36.8K
Growth Rate: 12.02%
Updated:November 17 2022
huggingface.co

Total runs: 286.8K
Run Growth: -14.5K
Growth Rate: -5.06%
Updated:September 06 2023
huggingface.co

Total runs: 283.5K
Run Growth: 99.8K
Growth Rate: 35.58%
Updated:June 15 2023
huggingface.co

Total runs: 261.0K
Run Growth: 139.0K
Growth Rate: 53.27%
Updated:May 22 2023
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 229.9K
Run Growth: -130.0K
Growth Rate: -56.56%
Updated:July 25 2023
huggingface.co

Total runs: 193.4K
Run Growth: 118.5K
Growth Rate: 61.25%
Updated:February 12 2023
huggingface.co

Total runs: 171.1K
Run Growth: -230.6K
Growth Rate: -134.79%
Updated:November 17 2023
huggingface.co

Total runs: 167.4K
Run Growth: 67.9K
Growth Rate: 40.58%
Updated:September 06 2023
huggingface.co

Total runs: 163.0K
Run Growth: 13.1K
Growth Rate: 8.05%
Updated:September 01 2023
huggingface.co

Total runs: 151.4K
Run Growth: 141.4K
Growth Rate: 93.35%
Updated:November 16 2023
huggingface.co

Total runs: 126.4K
Run Growth: 16.8K
Growth Rate: 12.92%
Updated:June 03 2022
huggingface.co

Total runs: 120.2K
Run Growth: 28.3K
Growth Rate: 23.53%
Updated:June 13 2023
huggingface.co

Total runs: 105.1K
Run Growth: -194.5K
Growth Rate: -185.03%
Updated:June 13 2023
huggingface.co

Total runs: 102.5K
Run Growth: -10.5K
Growth Rate: -10.20%
Updated:September 15 2023
huggingface.co

Total runs: 102.3K
Run Growth: 19.2K
Growth Rate: 18.73%
Updated:January 25 2023
huggingface.co

Total runs: 101.7K
Run Growth: 17.1K
Growth Rate: 16.83%
Updated:November 20 2023
huggingface.co

Total runs: 66.3K
Run Growth: 43.1K
Growth Rate: 65.10%
Updated:February 12 2023
huggingface.co

Total runs: 61.9K
Run Growth: 15.2K
Growth Rate: 24.61%
Updated:June 13 2023
huggingface.co

Total runs: 59.8K
Run Growth: 19.9K
Growth Rate: 33.25%
Updated:January 25 2023
huggingface.co

Total runs: 59.2K
Run Growth: -10.8K
Growth Rate: -18.17%
Updated:January 29 2026
huggingface.co

Total runs: 57.3K
Run Growth: -16.6K
Growth Rate: -28.94%
Updated:March 28 2026
huggingface.co

Total runs: 53.8K
Run Growth: 3.9K
Growth Rate: 7.26%
Updated:September 06 2023