Skip to content
RED SAGSkills
hard20 pts · first answer countstransformerspositional-encodinginference

Left padding with absolute positions

You left-pad a batch for a model that uses position ids, but you compute position ids as 0, 1, 2, ... from the start of each padded row. What problem does this cause?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions