We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50b6796 + 2ea683c commit 1c73ee0Copy full SHA for 1c73ee0
transformers/run_eval.py
@@ -16,7 +16,7 @@ def main(args):
16
)
17
18
if asr_pipe.model.can_generate():
19
- gen_kwargs = {"max_new_tokens": 128}
+ gen_kwargs = {"max_new_tokens": 256}
20
# for multilingual Whisper-checkpoints we see a definitive WER boost by setting the language and task args
21
if getattr(asr_pipe.model.generation_config, "is_multilingual"):
22
gen_kwargs["language"] = "en"
0 commit comments