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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Luisr-ecu
/
mBART51

Translation
Transformers
Safetensors
English
Spanish
mbart
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use Luisr-ecu/mBART51 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Luisr-ecu/mBART51 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="Luisr-ecu/mBART51")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Luisr-ecu/mBART51")
    model = AutoModelForSeq2SeqLM.from_pretrained("Luisr-ecu/mBART51", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mBART51
2.47 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Luisr-ecu's picture
Luisr-ecu
Create tokenizer_config.json
23f0f6a verified 3 days ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json 3 days ago
  • README.md
    5.32 kB
    Update README.md 3 days ago
  • config.json
    1.36 kB
    Create config.json 3 days ago
  • generation_config.json
    235 Bytes
    Create generation_config.json 3 days ago
  • model.safetensors
    2.44 GB
    xet
    Rename model-2.safetensors to model.safetensors 3 days ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload 2 files 3 days ago
  • special_tokens_map.json
    1.68 kB
    Create special_tokens_map.json 3 days ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer.json 3 days ago
  • tokenizer_config.json
    10.9 kB
    Create tokenizer_config.json 3 days ago