facebook / nllb-moe-54b

huggingface.co
Total runs: 9.2K
24-hour runs: 0
7-day runs: -774
30-day runs: -709
Model's Last Updated: September 05 2023
translation

Introduction of nllb-moe-54b

Model Details of nllb-moe-54b

NLLB-MoE

This is the model card of NLLB-MoE variant.

  • Information about training algorithms, parameters, fairness constraints or other applied approaches, and features. The exact training algorithm, data and the strategies to handle data imbalances for high and low resource languages that were used to train NLLB-200 is described in the paper.
  • Paper or other resource for more information NLLB Team et al, No Language Left Behind: Scaling Human-Centered Machine Translation, Arxiv, 2022
  • License: CC-BY-NC
  • Where to send questions or comments about the model: https://github.com/facebookresearch/fairseq/issues

The NLLB model was presented in No Language Left Behind: Scaling Human-Centered Machine Translation by Marta R. Costa-jussà, James Cross, Onur Çelebi, Maha Elbayad, Kenneth Heafield, Kevin Heffernan, Elahe Kalbassi, Janice Lam, Daniel Licht, Jean Maillard, Anna Sun, Skyler Wang, Guillaume Wenzek, Al Youngblood, Bapi Akula, Loic Barrault, Gabriel Mejia Gonzalez, Prangthip Hansanti, John Hoffman, Semarley Jarrett, Kaushik Ram Sadagopan, Dirk Rowe, Shannon Spruit, Chau Tran, Pierre Andrews, Necip Fazil Ayan, Shruti Bhosale, Sergey Edunov, Angela Fan, Cynthia Gao, Vedanuj Goswami, Francisco Guzmán, Philipp Koehn, Alexandre Mourachko, Christophe Ropers, Safiyyah Saleem, Holger Schwenk, and Jeff Wang.

Training:
  • The Expert Output Masking is used for training, which consists in droping the full contribution for some tokens. This corresponds to the following scheme: EOM
Generating with NLLB-MoE

The avalable checkpoints requires around 350GB of storage. Make sure to use accelerate if you do not have enough RAM on your machine.

While generating the target text set the forced_bos_token_id to the target language id. The following example shows how to translate English to French using the facebook/nllb-moe-54b model.

Note that we're using the BCP-47 code for French fra_Latn . See here for the list of all BCP-47 in the Flores 200 dataset.

>>> from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

>>> tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-moe-54b")
>>> model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-moe-54b")

>>> batched_input = [
'We now have 4-month-old mice that are non-diabetic that used to be diabetic," he added.',
"Dr. Ehud Ur, professor of medicine at Dalhousie University in Halifax, Nova Scotia and chair of the clinical and scientific division of the Canadian Diabetes Association cautioned that the research is still in its early days."
"Like some other experts, he is skeptical about whether diabetes can be cured, noting that these findings have no relevance to people who already have Type 1 diabetes."
"On Monday, Sara Danius, permanent secretary of the Nobel Committee for Literature at the Swedish Academy, publicly announced during a radio program on Sveriges Radio in Sweden the committee, unable to reach Bob Dylan directly about winning the 2016 Nobel Prize in Literature, had abandoned its efforts to reach him.",
'Danius said, "Right now we are doing nothing. I have called and sent emails to his closest collaborator and received very friendly replies. For now, that is certainly enough."',
"Previously, Ring's CEO, Jamie Siminoff, remarked the company started when his doorbell wasn't audible from his shop in his garage.",
]
>>> inputs = tokenizer(article, return_tensors="pt", padding = True)

>>> translated_tokens = model.generate(
...     **inputs, forced_bos_token_id=tokenizer.lang_code_to_id["fra_Latn"]
... )
>>> tokenizer.batch_decode(translated_tokens, skip_special_tokens=True)
['"Nous avons maintenant des souris de 4 mois non diabétiques qui étaient diabétiques", a-t-il ajouté.',
"Le docteur Ehud Ur, professeur de médecine à l'université Dalhousie, à Halifax, en Nouvelle-Écosse, et président de la division clinique et scientifique de l'Association canadienne du diabète, prévient que la recherche n'en est qu'à ses débuts.",
"Comme d'autres spécialistes, il est sceptique quant à la guérison du diabète, notant que ces résultats ne sont pas pertinents pour les personnes atteintes de diabète de type 1.",
"Lundi, Sara Danius, secrétaire permanente du Comité Nobel de littérature à l'Académie suédoise, a annoncé publiquement lors d'une émission de radio sur Sveriges Radio en Suède que le comité, incapable de contacter Bob Dylan directement au sujet du prix Nobel de littérature 2016, avait abandonné ses efforts pour le joindre.",
"Danius a déclaré: \"Pour le moment, nous ne faisons rien. J'ai appelé et envoyé des courriels à son plus proche collaborateur et j'ai reçu des réponses très amicales. Pour l'instant, c'est certainement suffisant\".",
"Auparavant, le PDG de Ring, Jamie Siminoff, a fait remarquer que la société avait commencé lorsque sa sonnette n'était pas audible depuis son magasin dans son garage.",
"Il a construit une sonnette WiFi, il a dit.",
]

Runs of facebook nllb-moe-54b on huggingface.co

9.2K
Total runs
0
24-hour runs
0
3-day runs
-774
7-day runs
-709
30-day runs

More Information About nllb-moe-54b huggingface.co Model

More nllb-moe-54b license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

nllb-moe-54b huggingface.co

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

nllb-moe-54b huggingface.co Url

https://huggingface.co/facebook/nllb-moe-54b

facebook nllb-moe-54b online free

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

facebook nllb-moe-54b online free url in huggingface.co:

https://huggingface.co/facebook/nllb-moe-54b

nllb-moe-54b install

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

nllb-moe-54b install url in huggingface.co:

https://huggingface.co/facebook/nllb-moe-54b

Url of nllb-moe-54b

nllb-moe-54b huggingface.co Url

Provider of nllb-moe-54b huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.3M
Run Growth: -9.0M
Growth Rate: -107.03%
Updated:September 15 2023
huggingface.co

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

Total runs: 4.0M
Run Growth: -137.2K
Growth Rate: -3.32%
Updated:September 06 2023
huggingface.co

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

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

Total runs: 2.3M
Run Growth: 847.1K
Growth Rate: 36.55%
Updated:January 25 2024
huggingface.co

Total runs: 2.1M
Run Growth: 84.5K
Growth Rate: 4.27%
Updated:March 23 2023
huggingface.co

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

Total runs: 696.7K
Run Growth: -225.4K
Growth Rate: -32.23%
Updated:September 06 2023
huggingface.co

Total runs: 483.5K
Run Growth: -117.9K
Growth Rate: -24.39%
Updated:May 22 2023
huggingface.co

Total runs: 441.6K
Run Growth: 70.8K
Growth Rate: 16.61%
Updated:February 29 2024
huggingface.co

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

Total runs: 416.2K
Run Growth: -121.6K
Growth Rate: -28.61%
Updated:January 12 2024
huggingface.co

Total runs: 358.3K
Run Growth: -46.6K
Growth Rate: -12.80%
Updated:January 12 2024
huggingface.co

Total runs: 313.7K
Run Growth: 35.6K
Growth Rate: 11.28%
Updated:September 15 2023
huggingface.co

Total runs: 308.9K
Run Growth: 26.6K
Growth Rate: 8.63%
Updated:November 17 2022
huggingface.co

Total runs: 308.8K
Run Growth: -9.4K
Growth Rate: -3.09%
Updated:September 06 2023
huggingface.co

Total runs: 284.1K
Run Growth: 76.5K
Growth Rate: 26.97%
Updated:June 15 2023
huggingface.co

Total runs: 263.4K
Run Growth: 138.9K
Growth Rate: 53.10%
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: 218.6K
Run Growth: -133.6K
Growth Rate: -58.12%
Updated:July 25 2023
huggingface.co

Total runs: 190.3K
Run Growth: 111.7K
Growth Rate: 57.72%
Updated:February 12 2023
huggingface.co

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

Total runs: 173.6K
Run Growth: -235.8K
Growth Rate: -137.83%
Updated:November 17 2023
huggingface.co

Total runs: 163.1K
Run Growth: 6.0K
Growth Rate: 3.67%
Updated:September 01 2023
huggingface.co

Total runs: 149.2K
Run Growth: 132.6K
Growth Rate: 87.56%
Updated:November 16 2023
huggingface.co

Total runs: 125.6K
Run Growth: 6.5K
Growth Rate: 5.13%
Updated:June 03 2022
huggingface.co

Total runs: 114.2K
Run Growth: 19.4K
Growth Rate: 16.18%
Updated:June 13 2023
huggingface.co

Total runs: 111.8K
Run Growth: -16.1K
Growth Rate: -15.73%
Updated:September 15 2023
huggingface.co

Total runs: 110.9K
Run Growth: 16.2K
Growth Rate: 15.89%
Updated:November 20 2023
huggingface.co

Total runs: 110.1K
Run Growth: 17.7K
Growth Rate: 17.30%
Updated:January 25 2023
huggingface.co

Total runs: 96.6K
Run Growth: -212.3K
Growth Rate: -201.98%
Updated:June 13 2023
huggingface.co

Total runs: 84.3K
Run Growth: 43.5K
Growth Rate: 65.57%
Updated:February 12 2023
huggingface.co

Total runs: 60.1K
Run Growth: -13.7K
Growth Rate: -22.87%
Updated:March 28 2026
huggingface.co

Total runs: 59.0K
Run Growth: 16.6K
Growth Rate: 27.79%
Updated:January 25 2023
huggingface.co

Total runs: 57.4K
Run Growth: 15.7K
Growth Rate: 25.40%
Updated:June 13 2023
huggingface.co

Total runs: 55.2K
Run Growth: -14.7K
Growth Rate: -26.55%
Updated:January 29 2026