HackerTrans
TopNewTrendsCommentsPastAskShowJobs

What happens between entering the prompt and seeing the first word appear(shbhmrzd.github.io)

13 points·by shbhmrzd·18 ore fa·1 comments
shbhmrzd.github.io
What happens between entering the prompt and seeing the first word appear

https://shbhmrzd.github.io/ai/ml-foundations/llm-training/2026/07/11/using-the-trained-model.html

2 comments

shbhmrzd·18 ore fa
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.
Purposefather·17 ore fa