错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

PEGASUS-Based Text Summarization

  • Chengqing Zong,
  • Yang Zhao,
  • Yanjun Ma

摘要

This chapter introduces the implementation of Chinese text summarization using the PEGASUS pre-trained model within PaddleNLP. It begins with an overview of extractive and generative summarization methods, highlighting the advantages of generative approaches enabled by encoder–decoder architectures. The chapter then details the use of the LCSTS dataset, data preprocessing steps, feature construction, and DataLoader preparation. The PEGASUS model is trained with AdamW optimization and evaluated using BLEU and ROUGE metrics, demonstrating steadily improving performance with training. Experimental results show strong summarization quality, with high ROUGE and BLEU scores on the test set. Finally, the chapter presents model inference examples, practical applications, and exercises for extending and improving summarization approaches.