Andrej Karpathy's free video series building neural networks and a GPT-style language model from scratch in Python.
Neural Networks: Zero to Hero is a series of long-form videos in which Andrej Karpathy writes neural network code live and explains each step. It starts by building a tiny automatic differentiation engine to show how backpropagation works, then develops a character-level language model through a sequence of increasingly capable architectures, and eventually builds and trains a small GPT-style transformer. Later videos cover tokenization and reproducing a GPT-2 sized model.
The teaching style is patient and detailed, with an emphasis on understanding every line rather than relying on library shortcuts. Accompanying code lives in public repositories. It suits programmers who want a genuine understanding of how language models work under the hood. The videos are long and demand active coding alongside them, and there are no quizzes, grading or certificate. Some comfort with Python and basic calculus makes the material much easier to follow.