Skip to content

Commit 2ea683c

Browse files
Update transformers/run_eval.py
1 parent b2e8ab5 commit 2ea683c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transformers/run_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def main(args):
1616
)
1717

1818
if asr_pipe.model.can_generate():
19-
gen_kwargs = {"max_new_tokens": 128}
19+
gen_kwargs = {"max_new_tokens": 256}
2020
# for multilingual Whisper-checkpoints we see a definitive WER boost by setting the language and task args
2121
if (
2222
hasattr(asr_pipe.model.generation_config, "is_multilingual")

0 commit comments

Comments
 (0)