Project overview

A schematic of the training loop for a multilayer perceptron (MLP): the forward pass computes the prediction and the loss, the backward pass computes the gradient and updates the parameters, and the loop continues until it converges. This is the core procedure the course implements, starting from micrograd. Diagram: Alexis0Olson, File:MLP-training-loop.svg, CC BY 4.0. The original SVG is 635×302. The copy on this site is a raster, 1280×648, and includes a bottom “智能学堂” strip.
Neural Networks: Zero to Hero is a free neural-network course by Andrej Karpathy, given as a YouTube series. In the videos he writes code and trains models, starting from the basics of backpropagation and building, step by step, to a modern deep network such as a GPT. The README of the accompanying GitHub repository currently lists eight lectures. The first implements backpropagation from scratch with micrograd. The next five are the makemore series: a bigram character-level language model, a multilayer perceptron (MLP), diagnosis of activations and gradients together with BatchNorm, manual backpropagation that does not rely on automatic differentiation, and a convolutional structure in the manner of WaveNet. Then “Let’s build GPT” writes a GPT from scratch. The last lecture implements the tokenizer used by the GPT series. The Jupyter notebooks written in the lectures are in the repository’s lectures directory, and the exercises for each lecture are in the video description. The official course page gives the prerequisites as solid Python and introductory mathematics, such as derivatives and the Gaussian distribution. The repository uses the MIT license. The README ends with the word Ongoing. When it was checked on 23 October 2026, the most recent push was 18 August 2024.

A route through the eight lectures named in the repository README: micrograd backpropagation; a makemore bigram language model; a makemore MLP; activations, gradients, and BatchNorm; manual backpropagation; a WaveNet-style convolutional net; Let’s build GPT; and the GPT tokenizer. The picture itself says the source is the karpathy/nn-zero-to-hero README, checked 2026-10-23. Original diagram for this site. The public file is 1280×758 and includes a bottom “智能学堂” strip.
Practical value
The course suits someone who can already write Python and wants to see how a neural network and a language model work inside. On the course page Karpathy explains that he uses language models as the through-line because he thinks most of what is learned there transfers directly to other directions, such as computer vision. The lectures depend on one another and are meant to be taken in order. The README says the GPT lecture assumes the viewer has already watched the makemore series and is familiar with the autoregressive language-modeling framework, with tensors, and with the basics of PyTorch nn. In lecture 5, on manual backpropagation, the author says plainly that the lecture is not suited to watching without doing the work, and he suggests doing the exercises first and turning to the explanation in the video when stuck. The course page also offers a Discord channel for students. Its limits should be kept in view. It is a self-study resource in the form of video, notebook, and exercise. Neither the course page nor the README mentions grading or a certificate of completion. Some material is left open on purpose. The WaveNet lecture does not implement the more efficient causal dilated convolution from the original paper, and lecture 4 says residual connections and the Adam optimizer are left for a later video. The account above is compiled from the official course page and the repository README. This article was not followed through as a student.
References
-
Compiled and published by Scholay. For a takedown request, send feedback.
-
Also published at Enter Scholar.