shbhmrzd
10 hours ago
I have been writing a series on understanding LLMs from the ground up for software engineers. This is the last part.
In this post I cover what happens when you type a prompt and hit enter. How the model generates one token at a time, why that is slow, what the KV cache does about it,and how decoding strategies like temperature, top-k, and top-p shape the response.