‹ All demos
LiveLLM · Notes

Next-token notes

My notes on how an LLM picks the next word — tokens, embeddings, attention, softmax — one step at a time.

Eight steps, from a prompt to one new word. It plays by itself, or step through it at your own pace.

How it works

  1. 1These are notes I made while learning it, not a course.
  2. 2Every number in it is simulated to show the idea; none come from a real model.