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

slauw87
/
bart_summarisation

Summarization
Transformers
PyTorch
English
bart
text2text-generation
sagemaker
Eval Results (legacy)
Model card Files Files and versions
xet
Community
6

Instructions to use slauw87/bart_summarisation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use slauw87/bart_summarisation 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="slauw87/bart_summarisation")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("slauw87/bart_summarisation")
    model = AutoModelForSeq2SeqLM.from_pretrained("slauw87/bart_summarisation")
  • Notebooks
  • Google Colab
  • Kaggle
bart_summarisation
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
slauw87's picture
slauw87
Upload all_results.json
20d9715 almost 5 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    3.07 kB
    Create README.md almost 5 years ago
  • all_results.json
    1.37 kB
    Upload all_results.json almost 5 years ago
  • config.json
    1.63 kB
    Upload config.json almost 5 years ago
  • eval_results.json
    457 Bytes
    Upload eval_results.json almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.63 GB
    xet
    Upload pytorch_model.bin almost 5 years ago
  • special_tokens_map.json
    239 Bytes
    Upload special_tokens_map.json almost 5 years ago
  • tokenizer.json
    1.36 MB
    Upload tokenizer.json almost 5 years ago
  • tokenizer_config.json
    300 Bytes
    Upload tokenizer_config.json almost 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

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

    How to fix it?

    2.48 kB
    xet
    Upload training_args.bin with git-lfs almost 5 years ago
  • vocab.json
    798 kB
    Upload vocab.json almost 5 years ago