Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Babelscape
/
mrebel-large-32

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

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

  • Libraries
  • Transformers

    How to use Babelscape/mrebel-large-32 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-32")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Babelscape/mrebel-large-32")
    model = AutoModelForSeq2SeqLM.from_pretrained("Babelscape/mrebel-large-32")
  • Notebooks
  • Google Colab
  • Kaggle
mrebel-large-32
4.91 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
PereLluis13's picture
PereLluis13
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
25cd190 almost 3 years ago
  • .gitattributes
    1.53 kB
    add tokenizer almost 3 years ago
  • README.md
    8.32 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
    955 Bytes
    add tokenizer almost 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    add tokenizer almost 3 years ago
  • tokenizer_config.json
    1.39 kB
    add tokenizer almost 3 years ago