transformers
Fix condition for emitting warning when generation exceeds max model length
#40775
Merged

Fix condition for emitting warning when generation exceeds max model length #40775

yannicks1
yannicks1 correct warning when generation exceeds max model length
9e01dd40
yannicks1 Merge branch 'huggingface:main' into adjust-warning-max-model-len
3c2d4bc1
Rocketknight1
yannicks1
zucchini-nlp
zucchini-nlp commented on 2025-09-18
gante
gante approved these changes on 2025-09-18
gante gante enabled auto-merge (squash) 272 days ago
gante
gante commented on 2025-09-18
gante Update src/transformers/generation/stopping_criteria.py
85a9bfd8
gante
gante Merge branch 'main' into adjust-warning-max-model-len
ad8be226
HuggingFaceDocBuilderDev
gante Merge branch 'main' into adjust-warning-max-model-len
a6fd9f86
gante Merge branch 'main' into adjust-warning-max-model-len
2f2b2ca2
gante Merge branch 'main' into adjust-warning-max-model-len
3bdca713
gante gante merged 9ff47a71 into main 268 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone