[Metax][Fix] fix 'get_token_penalty_multi_scores' input error based (PaddlePaddle#6069) (#6266)

This commit is contained in:
MingkunZhang
2026-01-29 19:24:36 +08:00
committed by GitHub
parent f3c12be4d2
commit c4abb01f9c
2 changed files with 7 additions and 8 deletions
@@ -134,6 +134,7 @@ def apply_penalty_multi_scores(
presence_penalties,
temperature,
bad_words_token_ids,
bad_words_token_len,
step_idx,
min_dec_lens,
eos_token_ids,