How LLMs Actually Work
Tokens, probabilities, and why chatbots sometimes make things up. No maths degree needed, just curiosity and a slider.
Lessons
- Tokens: the Lego bricks of text (6 min): Models don't read letters or words. They read tokens.
- Predicting the next token (8 min): At heart, an LLM is a very well-read autocomplete.
- Context windows and hallucinations (8 min): Why models forget, and why they sometimes sound sure and are wrong.