Skip to content

Commit 1c73ee0

Browse files
author
sanchit-gandhi
committed
Merge remote-tracking branch 'origin/short-rtf' into short-rtf
2 parents 50b6796 + 2ea683c commit 1c73ee0

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 getattr(asr_pipe.model.generation_config, "is_multilingual"):
2222
gen_kwargs["language"] = "en"

0 commit comments

Comments
 (0)