# MAX\_LEN in ZeroShot

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmax-len-in-zeroshot%2F26464%3E%5C
**Category:** Models\
**Created:** [November 21, 2022, 6:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmax-len-in-zeroshot%2F26464 "2022-11-21T18:20:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabu](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mabu/32/4596_2.png) [@mabu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmabu)%5C
**Post date:** [November 21, 2022, 6:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmax-len-in-zeroshot%2F26464%2F1 "2022-11-21T18:20:32Z")

</div>

Hello there, how can I change the `MAX_LEN` property in the `zero-shot-classification` pipeline?

Should I define a model via something like `AutoModelForSequenceClassification` first and then pass to `pipeline` or I can set the property directly to `pipeline`?
