Skip to content
RED SAGSkills
medium10 pts · first answer countstransformersinferencetokenization

Padding side for batched generation

You batch prompts of different lengths for a decoder-only model and call generate(). Outputs for the shorter prompts are poor. What is the usual fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions