Hugging Face Forums
Number of tokens (550) exceeded maximum context length (512) error
Beginners
mahmutc
September 12, 2024, 5:46pm
3
I guess hitoruna has updated MAX_TOKENS from 512 to 1024.
show post in topic
Related topics
Topic
Replies
Views
Activity
Why I am getting this problem while running any of the GGUF model instead of with .bin model
Models
1
2601
November 7, 2023
Langchain and streamlit chatbot
Beginners
0
1502
January 3, 2024
TypeError: InferenceClient.text_generation() got an unexpected keyword argument 'token'
Beginners
5
26
June 10, 2025
Batch size limit 32
Beginners
2
1182
May 8, 2024
Layoutlmv2 token classification on documents having tokens larger than 512
Models
8
2311
October 20, 2022