27/29
Part 6 of 6 · What interviewers ask nextLearn and do

Speculative decoding: a small model guesses, the big one checks

Decoding is serial: one pass of the big model per token. Speculative decoding has a small draft model guess the next few tokens, then runs the big model once over all of them.

Predict

The draft guesses 4 tokens, and the big model rejects the 3rd. How many tokens does the round add?

Pick an answer above to see the rest