Step 6 of 6· Carry the loop forward
Carry the loop forward
Take the idea with you
The model assigns a probability to each candidate token. A selection rule chooses one token to add to the sentence. The extended sentence becomes the input for the next prediction. An end marker stops generation without adding a visible word. A length limit can also stop an unfinished answer.