Model card
Pegasus XSum is a specialized transformer model engineered specifically for extreme summarization. Unlike general-purpose LLMs that often produce extractive summaries, Pegasus is designed for abstractive tasks, meaning it synthesizes a concise, single-sentence summary that captures the essence of a document without simply copying phrases. For developers, this makes it an ideal choice for generating headlines, notification snippets, or metadata for large content libraries. It is highly efficient for production pipelines where low-latency, high-density information extraction is required. Integration is straightforward via Hugging Face, and its Apache-2.0 license ensures flexibility for commercial deployment. While it lacks the broad reasoning of a GPT-4, it outperforms general models in specific 'one-sentence' distillation tasks by avoiding the verbosity typically associated with larger models.
Model files and versions
Download this model
We recommend using the ModelScope CLI or SDK. Install ModelScope first, then choose a full snapshot, single file, SDK or Git LFS workflow.
google/pegasus-xsumInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model google/pegasus-xsumREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model google/pegasus-xsum README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('google/pegasus-xsum')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/google/pegasus-xsum.gitFetch the repository structure first, then pull large files when needed.
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/google/pegasus-xsum.gitHow to use
- 01Step 1
Read the model card and source information.
- 02Step 2
Start with a small, non-sensitive evaluation.
- 03Step 3
Review quality, licensing and usage limits.
- 04Step 4
Adopt it only after validation.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page