# Pegasus Questions

**URL:** <https://discuss.huggingface.co/t/pegasus-questions/838>\
**Category:** 🤗Transformers\
**Created:** [August 24, 2020, 2:56pm UTC](https://discuss.huggingface.co/t/pegasus-questions/838 "2020-08-24T14:56:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:47pm UTC](https://discuss.huggingface.co/t/pegasus-questions/838/4 "2020-08-24T15:47:49Z")

</div>

## Was suggested I re-direct my questions from this thread: [Questions about Pegasus for Summarization](https://discuss.huggingface.co/t/questions-about-pegasus-for-summarization/841)

Two 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?

Thanks!

---

_[View the full topic](https://discuss.huggingface.co/t/pegasus-questions/838)._
