# Tiiuae/falcon-7b generating wrong response

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftiiuae-falcon-7b-generating-wrong-response%2F50702%3E%5C
**Category:** Models\
**Created:** [August 14, 2023, 9:29am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftiiuae-falcon-7b-generating-wrong-response%2F50702 "2023-08-14T09:29:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marksikaundi](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/marksikaundi/32/18535_2.png) [@marksikaundi](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmarksikaundi)%5C
**Post date:** [August 14, 2023, 9:29am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftiiuae-falcon-7b-generating-wrong-response%2F50702%2F1 "2023-08-14T09:29:52Z")

</div>

Why am I not getting a correct response, your help will be highly appreciated

 ![Screenshot 2023-08-14 112744](https://us1.discourse-cdn.com/hellohellohello/original/3X/b/8/b820be865b8bb9c3c5551412156b57475a47f52b.png)

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fnielsr)%5C
**Post date:** [August 14, 2023, 3:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftiiuae-falcon-7b-generating-wrong-response%2F50702%2F2 "2023-08-14T15:32:15Z")

</div>

Hi,

You need to increase the `max_length` argument, which determines the number of tokens to generate. This argument is actually deprecated and now called `max_new_tokens`.
