acceptedrejectedcorrected tokenbonus token
Couldn't start the 3D scene.

Speculative Decoding: Draft Acceptance Rate, Expected Tokens per Pass and Exact Target Distribution

A cheap draft model guesses several tokens ahead and a large target model verifies them all in one pass. Tune the draft length, draft cost, draft sharpness and target temperature, and watch the rounds play out token by token: accepted guesses, a corrected token at the first rejection or a bonus token when everything passes. The measured tokens per pass converge to the closed form, and the output distribution stays exactly the target's. Blender-built machines with numerical checks of the acceptance rate, the exactness identity and the speedup formula.

Made with 🟠 Blender · Three.js