HackerTube

The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy17 HN recommenders · recommended in 16 months, 2022–2025
YouTube
lecture · intro · evergreen · 2022–2025 on HN

Andrej Karpathy's first Neural Networks: Zero to Hero lecture, which builds micrograd, a tiny autograd engine, from scratch in Python. It explains backpropagation and neural network training step by step, assuming only basic Python and some high-school calcul…

HN treats it as the best starting point for really understanding backprop and neural nets, because Karpathy explains the why with intuition and builds everything in code.

12 comments from Hacker News

@jwitthuhn2025-12 · in “The Illustrated Transformer”

If you have 20 hours to spare I highly recommend this youtube playlist from Andrej Karpathy ▶ this video It starts with the fundamentals of how backpropagation works then advances to building a few simple models and ends with building a GPT-2 clone. It won't taech you everything about AI models but it gives you a solid foundation for branching out.

Strongly recommends View on HN
@omrishn2025-11 · in “Deep dive into the small details of micrograd”

This blog post analyzes the code with an emphasis on the small details and ideas explored in Andrej Karpathy's awesome micrograd lecture. Link to the original lecture: ▶ this video I'd love to hear any thougts/reviews about the blog post.

Strongly recommends View on HN
@jackdoe2025-06 · in “The Illusion of Thinking: Strengths and limitations of reasoning models [pdf]”

For studying? Mainly watching and re-watching Karpathy's 'Zero To Hero'[1] and Stanford's 'Introduction to Convolutional Neural Networks for Visual Recognition'[2], also a lot of transformers from scratch videos like Umar Jamali's videos[3], and I also study backwards to McCulloch and Pitts. Reading the 30 papers link and so on. And of course Yannic Kilcher[4], and also listening in on the paper discussions they do on discord. Practicing a lot with just doing backpropagation by hand and making toy models by hand to get intuition for the signal flow, and building all kinds of smallish systems, e.g. how far can you push whisper, small qwen3, and kokoro to control your computer with voice? People think that deepseek/mistral/meta etc are democratizing AI, but its actually Karpathy who teaches us :) so we can understand them and make our own. [1] ▶ this video [2] link [3] link [4] link

Strongly recommends View on HN
@throwaway77832025-05 · in “How linear regression works intuitively and how it leads to gradient descent”

In the same vein, Karpathy's video series "Neural Networks from zero to hero"[0] touches upon a lot of this and intuitions as well. One of the best introductory series (even if you ignore the neural net part of it) and brushes on gradients, differentiation and what it means intuitively. [0] ▶ this video

Strongly recommends View on HN
@paulsmith2023-09 · in “Linear Algebra for Programmers”

Watch Karpathy's recent lectures. They're gold. Start here[1] with micrograd[2]. It doesn't use linear algebra/matrices to start, but the principles are the same. The matrix multiplication is how the weights of the connections between neurons and the input values are combined (to form an activation value that then may lead to that neuron "firing" or not, depending on whether it passes some threshold function). We use matrices to model the connections between neurons - each row is a connection, and each column is a weight corresponding to an input. [1] ▶ this video [2] link

Strongly recommends View on HN

Up next