Start here
LLMs, in plain language
Large Language Models and the GPT architecture. LLMs combine representation learning, language modeling, alignment, retrieval, and high-performance serving into a general-purpose AI platform.
For a small example, after "peanut butter and", several next tokens are possible. Score candidates, normalize with softmax, sample or choose one, append it, and repeat with the expanded context. This is the mechanism to keep in view as the lesson becomes more technical. Before moving on, identify the input, transformation, output, and one observation that would falsify your conclusion.
Key points
- Tokenization, embeddings, next-token prediction, context, and decoding.
- Pretraining, instruction tuning, preference alignment, and in-context learning.
- Prompt roles, sampling parameters, structured outputs, and basic limitations.