# Muril-base-cased has infinity for model\_max\_length

**URL:** <https://discuss.huggingface.co/t/muril-base-cased-has-infinity-for-model-max-length/17838>\
**Category:** Models\
**Created:** [May 11, 2022, 4:40pm UTC](https://discuss.huggingface.co/t/muril-base-cased-has-infinity-for-model-max-length/17838 "2022-05-11T16:40:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngledLuffa](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@AngledLuffa](https://discuss.huggingface.co/u/AngledLuffa)\
**Post date:** [May 11, 2022, 4:40pm UTC](https://discuss.huggingface.co/t/muril-base-cased-has-infinity-for-model-max-length/17838/1 "2022-05-11T16:40:41Z")

</div>

When loading the tokenizer for google/muril-base-cased the model\_max\_length is reported as 1000000000000000019884624838656

Is this easy to fix? Apparently there’s a missing value in the tokenizer\_config.json file

[https://github.com/huggingface/transformers/issues/17173#issuecomment-1123744725](https://github.com/huggingface/transformers/issues/17173#issuecomment-1123744725)

@Simran
