Hugging Face Forums
TypeError: InferenceClient.text_generation() got an unexpected keyword argument 'token'
Beginners
John6666
June 10, 2025, 11:41pm
6
Yea.
max_new_tokens
is better if you need.
show post in topic
Related topics
Topic
Replies
Views
Activity
TypeError: InferenceClient.text_generation() got an unexpected keyword argument
Beginners
1
95
June 28, 2025
How to stop LLM from going up to the max token limit?
Intermediate
1
126
September 25, 2024
Incomplete/ partial response generation
Models
3
1413
March 27, 2024
Using Langchain ChatHuggingface with Text Generation Inference: missing field `inputs`
Beginners
2
739
August 8, 2024
I am getting this error on langchain
Beginners
15
1584
May 25, 2025