fix(generation): stop beam search per-instance when heuristic satisfied #38778
gante
commented
on 2025-06-24
gante
commented
on 2025-07-07
gante
approved these changes
on 2025-07-07
gante
enabled auto-merge (squash) 203 days ago
fix(decoding): stop beam search per-instance when heuristic satisfied
a8c62da8
Add test case GenerationIntegrationTests.test_beam_search_early_stop_…
8ed13b79
Update naming improvement_possibility -> is_early_stop_heuristic_unsa…
43fdb5ab
Add comments for early stop heuristic
da8f7db8
Update src/transformers/generation/utils.py
04608b6f
local make fixup
6de3c599
expand test
c942ae7a
gante
force pushed
from
a57834df
to
c942ae7a
203 days ago
fix test?
62ef78c7
gante
force pushed
from
e70d6f83
to
62ef78c7
203 days ago
Merge branch 'main' into bugfix/heuristic-early-stopping-batch-incons…
e7b19295
gante
merged
356fd681
into main 203 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub