From‑Scratch Speculative Decoding Engine in Pure Python
A hands‑on guide to building a from‑scratch speculative decoding engine in pure Python, with draft‑then‑verify sampling, temperature, top‑k and nucleus (top‑p) sampling, all using only numpy. Perfect for a CV‑boosting side project.