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

linydub
/
bart-large-samsum

Summarization
Transformers
PyTorch
TensorBoard
English
bart
text2text-generation
azureml
azure
codecarbon
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

    How to use linydub/bart-large-samsum 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="linydub/bart-large-samsum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("linydub/bart-large-samsum")
    model = AutoModelForSeq2SeqLM.from_pretrained("linydub/bart-large-samsum")
  • Notebooks
  • Google Colab
  • Kaggle
bart-large-samsum
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
linydub's picture
linydub
intentionally misspell rouge metrics as rogue for paperswithcode leaderboard
5d32c80 over 4 years ago
  • runs
    add model over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    5.76 kB
    intentionally misspell rouge metrics as rogue for paperswithcode leaderboard over 4 years ago
  • all_results.json
    843 Bytes
    add model over 4 years ago
  • config.json
    1.63 kB
    add model over 4 years ago
  • emissions.csv
    310 Bytes
    add model over 4 years ago
  • generated_predictions.txt
    91.2 kB
    add model over 4 years ago
  • merges.txt
    456 kB
    add tokenizer over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    1.63 GB
    xet
    add model over 4 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer over 4 years ago
  • tokenizer.json
    1.36 MB
    add tokenizer over 4 years ago
  • tokenizer_config.json
    378 Bytes
    add tokenizer over 4 years ago
  • trainer_state.json
    2.02 kB
    add model over 4 years ago
  • training_args.bin

    Detected Pickle imports (5)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device"

    How to fix it?

    2.86 kB
    xet
    add model over 4 years ago
  • vocab.json
    798 kB
    add tokenizer over 4 years ago