Fix condition for emitting warning when generation exceeds max model length #40775
correct warning when generation exceeds max model length
9e01dd40
Merge branch 'huggingface:main' into adjust-warning-max-model-len
3c2d4bc1
gante
approved these changes
on 2025-09-18
gante
enabled auto-merge (squash) 272 days ago
gante
commented
on 2025-09-18
Update src/transformers/generation/stopping_criteria.py
85a9bfd8
Merge branch 'main' into adjust-warning-max-model-len
ad8be226
Merge branch 'main' into adjust-warning-max-model-len
a6fd9f86
Merge branch 'main' into adjust-warning-max-model-len
2f2b2ca2
Merge branch 'main' into adjust-warning-max-model-len
3bdca713
gante
merged
9ff47a71
into main 268 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub