Comment

Comment by imenani

I don’t think next token prediction is a particularly good description of pretraining either.

The intermediate representations at each position are being optimised not only to help predict the next token, but also to help predict all subsequent tokens within the training context.

You can see this directly in backpropagation: the gradient reaching a representation at position i sums contributions from prediction losses for subsequent tokens, not just from the loss for token i+1.

parent imenani 1 month ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton