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

Sachin21112004
/
distilbart-news-summarizer

Summarization
Transformers
PyTorch
JAX
Rust
Safetensors
English
bart
text2text-generation
news
transformer
distilbart
financial-news
encoder-decoder
Model card Files Files and versions
xet
Community
2

Instructions to use Sachin21112004/distilbart-news-summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Sachin21112004/distilbart-news-summarizer 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="Sachin21112004/distilbart-news-summarizer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Sachin21112004/distilbart-news-summarizer")
    model = AutoModelForSeq2SeqLM.from_pretrained("Sachin21112004/distilbart-news-summarizer")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilbart-news-summarizer
5.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3021 commits
Sachin21112004's picture
Sachin21112004
Upload folder using huggingface_hub
b41f8b9 verified about 2 hours ago
  • rag
    Upload folder using huggingface_hub about 2 hours ago
  • .gitattributes
    1.58 kB
    Upload folder using huggingface_hub 5 months ago
  • README.md
    37.5 kB
    Upload README.md about 1 month ago
  • config.json
    1.8 kB
    Upload 7 files 7 months ago
  • flax_model.msgpack
    1.22 GB
    xet
    Upload 7 files 7 months ago
  • merges.txt
    456 kB
    Upload 7 files 7 months ago
  • model.safetensors
    1.22 GB
    xet
    Adding `safetensors` variant of this model (#2) 6 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.22 GB
    xet
    Upload 7 files 7 months ago
  • rust_model.ot
    1.63 GB
    xet
    Upload 7 files 7 months ago
  • tokenizer_config.json
    26 Bytes
    Upload 7 files 7 months ago
  • vocab.json
    899 kB
    Upload 7 files 7 months ago