transformers
eee7039b - Require input_ids for repetition penalty (#45389)

Commit
53 days ago
Require input_ids for repetition penalty (#45389) * Guard repetition penalty for inputs_embeds * Move repetition penalty guard to logits processor * only warn that repetition processor wont apply to prompt when input embeds are provided but not input ids * fix all the uneccesary if/else * fix test --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
Author
Parents
Loading