How LLMs work
Open the box you have been using every day.
- Tokens and tokenization Explain why an LLM cannot reliably count the letters in a word.
- Embeddings: meaning as coordinates Describe how similar meanings end up close together in space.
- Attention and the transformer Explain what 'attention' lets a model do that earlier models could not.
- Build GPT from scratch Implement a small working GPT and understand every line.
- Pretraining, fine-tuning and RLHF Name the three stages that turn raw text prediction into an assistant.
- Why LLMs hallucinate Explain hallucination as a property of the objective, not a bug to be patched.
Ends with a graded checkpoint: 10 questions, pass mark 70%.