# Questions about Pegasus for Summarization

**URL:** <https://discuss.huggingface.co/t/questions-about-pegasus-for-summarization/841>\
**Category:** 🤗Transformers\
**Created:** [August 24, 2020, 3:16pm UTC](https://discuss.huggingface.co/t/questions-about-pegasus-for-summarization/841 "2020-08-24T15:16:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buckeyes2019](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Buckeyes2019](https://discuss.huggingface.co/u/Buckeyes2019)\
**Post date:** [August 24, 2020, 3:16pm UTC](https://discuss.huggingface.co/t/questions-about-pegasus-for-summarization/841/1 "2020-08-24T15:16:22Z")

</div>

Three questions: (1) does anyone have good examples of the google/pegasus models being used for summarization using the Automodal and Autotokenizer classes?

(2) Using the google/pegasus models, how do you set the minimum and/or maximum length for the generated summary?

(3) Is there a token maximum input for Pegasus (as there is with T-5 (512) and BART (1024)?

Thanks!

---

<div class="post-metadata">

**Author:** ![valhalla](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/valhalla/32/4179_2.png) [@valhalla](https://discuss.huggingface.co/u/valhalla)\
**Post date:** [August 24, 2020, 3:17pm UTC](https://discuss.huggingface.co/t/questions-about-pegasus-for-summarization/841/2 "2020-08-24T15:17:53Z")

</div>

Hey @Buckeyes2019, there’s new thread for discussing all Pegasus related questions [here](https://discuss.huggingface.co/t/pegasus-questions/838/2), mind asking your question on that thread
