�� Summarization

distilbart-xsum-12-6

sshleifer/distilbart-xsum-12-6

Get AI Model →
22.4K
Downloads
�����
7
Likes
�����
13
Tags
📦
transformers
Library
Model Details
Full Model IDsshleifer/distilbart-xsum-12-6
Pipeline / Tasksummarization
Librarytransformers
Downloads (all-time)22.4K
Likes7
Last Modified6/14/2021
Author / Orgsshleifer
PrivateNo � public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("summarization", model="sshleifer/distilbart-xsum-12-6")

# Run inference
result = pipe("Your input here")
print(result)
����� Tags
transformerspytorchjaxbarttext2text-generationsummarizationendataset:cnn_dailymaildataset:xsumlicense:apache-2.0endpoints_compatibledeploy:azureregion:us
More Summarization Models
See all →
t5-small

google-t5/t5-small

3.3M����� 550
Get AI Model →
t5-base

google-t5/t5-base

2.2M����� 776
Get AI Model →
bart-large-cnn

facebook/bart-large-cnn

1.9M����� 1.6K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗�� Browse All Models
�� Task: Summarization

This model is designed for the Summarization task. Explore more models for this use case.

All Summarization Models →
📊 Popularity
Downloads22.4K
����� Community Likes7
🛠�� Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?