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

Babelscape
/
mrebel-large

Translation
Transformers
PyTorch
Safetensors
mbart
text2text-generation
seq2seq
relation-extraction
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Transformers

    How to use Babelscape/mrebel-large 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="Babelscape/mrebel-large")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Babelscape/mrebel-large")
    model = AutoModelForSeq2SeqLM.from_pretrained("Babelscape/mrebel-large")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
mrebel-large
4.91 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 18 commits
PereLluis13's picture
PereLluis13
Update README.md
50e0587 almost 3 years ago
  • .gitattributes
    1.53 kB
    add tokenizer almost 3 years ago
  • README.md
    8.33 kB
    Update README.md almost 3 years ago
  • added_tokens.json
    307 Bytes
    add tokenizer almost 3 years ago
  • config.json
    1.42 kB
    add model almost 3 years ago
  • model.safetensors
    2.44 GB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • pytorch_model.bin
    2.44 GB
    xet
    add model almost 3 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    add tokenizer almost 3 years ago
  • special_tokens_map.json
    829 Bytes
    add tokenizer almost 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    add tokenizer almost 3 years ago
  • tokenizer_config.json
    1.28 kB
    add tokenizer almost 3 years ago