Summarization outputs on T5-small gets truncated 
# ❓ Questions & Help

<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
     new models and benchmarks, and migration questions. For all other questions,
     we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
     You can also try Stack Overflow (SO) where a whole community of PyTorch and
     Tensorflow enthusiast can help you out. In this case, make sure to tag your
     question with the right deep learning framework as well as the
     huggingface-transformers tag: 
     https://stackoverflow.com/questions/tagged/huggingface-transformers 
     -->

## Details
<!--  --> I been fine tuning t5-small for my own dataset but every time I set a max_length it just truncates the output. For example my input statement is : 

**When I first entered high school I was very nervous as it was a new school for me and it was a big adjustment. I was overwhelmed with work and mentally wasn't staying optimistic as I found it hard to manage my time and make friends. I felt like I wasn't good enough, and this caused me to treat myself like I wasn't worthy of being at such a place. In terms of behavior to others, I would say it made me more shy while still adapting to the new environment.** 

and my output is as follows:

 **when I first entered high school I was very nervous as it was a new school for me and it was a** 

My generate is as follows: 
**( input,
                                min_length= 0,
                                max_length=25,
                                length_penalty=2.0,
                                num_beams=4,
                                early_stopping=True )**

Is it possible for me to make it not truncate at the end? and also make it generate a reasonable summary ?

<!-- You should first ask your question on the forum or SO, and only if
     you didn't get an answer ask it here on GitHub. -->
**A link to original question on the forum/Stack Overflow**:
Hey @harung1993, 

sorry I'm having trouble understanding your question here. Also this seems like a question that should rather be posted in https://discuss.huggingface.co/ . We are trying to use github issues only for bug reports. Thanks!<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
