# Max length transformers problem

**URL:** <https://discuss.huggingface.co/t/max-length-transformers-problem/33046>\
**Category:** 🤗Transformers\
**Created:** [March 4, 2023, 10:25pm UTC](https://discuss.huggingface.co/t/max-length-transformers-problem/33046 "2023-03-04T22:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyaHarbaoui](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@eyaHarbaoui](https://discuss.huggingface.co/u/eyaHarbaoui)\
**Post date:** [March 4, 2023, 10:25pm UTC](https://discuss.huggingface.co/t/max-length-transformers-problem/33046/1 "2023-03-04T22:25:18Z")

</div>

Max length transformers problem what techniques to use to fit transformers with more than 512 tokens
