Skip to content
RED SAGSkills
hard20 pts · first answer countsfine-tuningtraining-loop

Averaging loss with accumulation

With gradient accumulation on variable-length examples, each micro-batch loss is a mean over its own tokens, then the micro-batch means are averaged. What is the side effect?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions