Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

facebook
/
mbart-large-cc25

Translation
Transformers
PyTorch
google-tensorflow TensorFlow
mbart
text2text-generation
Model card Files Files and versions
xet
Community
6

Instructions to use facebook/mbart-large-cc25 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/mbart-large-cc25 with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="facebook/mbart-large-cc25")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/mbart-large-cc25")
    model = AutoModelForSeq2SeqLM.from_pretrained("facebook/mbart-large-cc25")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
mbart-large-cc25
4.91 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 27 commits
joaogante's picture
joaogante
Add TF weights (#2)
f417e55 about 3 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • README.md
    699 Bytes
    Update README.md over 5 years ago
  • config.json
    1.19 kB
    Update config.json over 5 years ago
  • generation_config.json
    205 Bytes
    Adding generation config file(s) over 3 years ago
  • generation_config_for_translation_en_to_ro.json
    241 Bytes
    Adding generation config file(s) over 3 years ago
  • pytorch_model.bin
    2.44 GB
    xet
    Update pytorch_model.bin almost 6 years ago
  • sentence.bpe.model
    5.07 MB
    Update sentence.bpe.model about 6 years ago
  • sentencepiece.bpe.model
    5.07 MB
    Move files from facebook/mbart-large-en-ro about 5 years ago
  • tf_model.h5
    2.44 GB
    xet
    Add TF weights (#2) about 3 years ago
  • tokenizer.json
    9.1 MB
    Move files from facebook/mbart-large-en-ro about 5 years ago