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

a1noack
/
bart-large-gigaword

Summarization
Transformers
PyTorch
bart
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use a1noack/bart-large-gigaword 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="a1noack/bart-large-gigaword")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("a1noack/bart-large-gigaword", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bart-large-gigaword
Ctrl+K
Ctrl+K
  • 2 contributors
History: 21 commits
patrickvonplaten's picture
patrickvonplaten
Update README.md
227fafc almost 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    1.39 kB
    Update README.md almost 5 years ago
  • config.json
    1.15 kB
    add bos token id about 5 years ago
  • merges.txt
    456 kB
    add merges file for tokenizer over 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
    add initial files over 5 years ago
  • vocab.json
    899 kB
    add initial files over 5 years ago