# I am unable to adjust the generated text length

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-am-unable-to-adjust-the-generated-text-length%2F108583%3E%5C
**Category:** Beginners\
**Created:** [September 25, 2024, 12:28pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-am-unable-to-adjust-the-generated-text-length%2F108583 "2024-09-25T12:28:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NoMoney03](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@NoMoney03](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FNoMoney03)%5C
**Post date:** [September 25, 2024, 12:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-am-unable-to-adjust-the-generated-text-length%2F108583%2F2 "2024-09-25T12:32:05Z")

</div>

I followed this solution [How to set minimum length of generated text in hosted API - #2 by Narsil](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-minimum-length-of-generated-text-in-hosted-api%2F3893%2F2). But this is from 2021, has there been any change in the method. I may have missed it in the documentation if it exists, but I didn’t see anything so far.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fi-am-unable-to-adjust-the-generated-text-length%2F108583)._
