Move `eos_token_id` to stopping criteria #29459
add eos stopping criteria
584de180
minor fix
79a47c45
gante
commented
on 2024-03-05
Update tests/generation/test_stopping_criteria.py
6c93f8b6
check eos is not None and fix tests
f59b83f5
make style and fixup
8ebad2d8
gante
approved these changes
on 2024-03-05
Update src/transformers/generation/stopping_criteria.py
3e2507b6
Update tests/generation/test_utils.py
b77b6ab4
Update tests/generation/test_utils.py
edc76df3
Update src/transformers/generation/__init__.py
f71a6878
Update src/transformers/generation/stopping_criteria.py
387be0ed
Update src/transformers/generation/stopping_criteria.py
14ece046
Update src/transformers/generation/stopping_criteria.py
bc3eea99
camel case everywhere
7518aeac
call stopping criteria list for candidate ids
8e5ec573
make style and fixup
2544d126
Empty commit
12acbc43
Empty commit to pass flaky test
11076736
set max length in PromptLookupCandidateGenerator
1ffc554e
Merge 'upstream/main' into stopping_criteria
ca0a414f
gante
commented
on 2024-03-08
Update src/transformers/generation/utils.py
ce093c10
Merge remote-tracking branch 'upstream/main' into stopping_crtiteria
aa7fae46
lets fix this typo in docs
5375d97c
Merge remote-tracking branch 'upstream/main' into stopping_crtiteria
d103d29a
Merge remote-tracking branch 'upstream/main' into stopping_crtiteria
9f59abbb
Update src/transformers/generation/utils.py
48f33fc6
Update src/transformers/generation/utils.py
801af071
Merge remote-tracking branch 'upstream/main' into stopping_crtiteria
a385c6d7
update PR
7c00bb18
empty commit
530064d2
gante
merged
0efcf323
into main 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub