Explicitly set model_max_length in the tokenizer config. 0eda431 Milan Straka commited on Sep 30, 2024