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

ARTeLab
/
mbart-summarization-mlsum

Summarization
Transformers
PyTorch
Safetensors
Italian
mbart
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use ARTeLab/mbart-summarization-mlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ARTeLab/mbart-summarization-mlsum with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" 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("summarization", model="ARTeLab/mbart-summarization-mlsum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("ARTeLab/mbart-summarization-mlsum")
    model = AutoModelForSeq2SeqLM.from_pretrained("ARTeLab/mbart-summarization-mlsum")
  • Notebooks
  • Google Colab
  • Kaggle
mbart-summarization-mlsum
4.9 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 5 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
46c2b79 over 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model over 3 years ago
  • README.md
    2.64 kB
    Update README.md about 4 years ago
  • all_results.json
    847 Bytes
    trained model over 4 years ago
  • config.json
    1.43 kB
    trained model over 4 years ago
  • eval_results.json
    331 Bytes
    trained model over 4 years ago
  • generated_predictions.txt
    542 kB
    trained model over 4 years ago
  • model.safetensors
    2.44 GB
    xet
    Adding `safetensors` variant of this model over 3 years ago
  • predict_results.json
    343 Bytes
    trained model over 4 years ago
  • pytorch_model.bin
    2.44 GB
    xet
    trained model over 4 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    trained model over 4 years ago
  • special_tokens_map.json
    495 Bytes
    trained model over 4 years ago
  • tokenizer.json
    9.08 MB
    trained model over 4 years ago
  • tokenizer_config.json
    474 Bytes
    trained model over 4 years ago
  • train_results.json
    195 Bytes
    trained model over 4 years ago
  • trainer_state.json
    31.8 kB
    trained model over 4 years ago
  • training_args.bin
    3.12 kB
    xet
    trained model over 4 years ago