How large language models and image generators work: tokens, next-token prediction, scaling, alignment and diffusion.
Text as tokens, language modelling as next-token prediction, and how a model turns probabilities into text.
Pretraining at scale, turning a text predictor into an assistant, and what these models can and can't do.
Autoencoders and VAEs, adversarial networks, and the diffusion models behind modern image generators.
Build a character-level language model of first names: count it, train it as a neural network, sample new names, and give it more context.
Preview the project →