Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

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

    Andrej Karpathy

    17 HN recommenders · recommended in 16 months, 2022–2025

    YouTube

    2:25:52 · 4.4M views · Aug 16, 2022

    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 calculus.

    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.

    AI, Machine Learning & DataMachine learning & deep learningPython, Ruby & scripting languages
    1. 57:57
      Lecture 1 | Introduction to Convolutional Neural Networks for Visual RecognitionStanford University School of Engineering2.9M views • 9 years ago
    2. 18:40
      But what is a neural network? | Deep learning chapter 13Blue1Brown25M views • 9 years ago
    3. 3:07
      Neural Networks Demystified [Part 1: Data and Architecture]Welch Labs839K views • 12 years ago
    4. 1:08:40
      Lecture 1 | Machine Learning (Stanford)Stanford2.7M views • 18 years ago
    5. 1:19:08
      CS231n Winter 2016: Lecture1: Introduction and Historical ContextAndrej Karpathy463K views • 10 years ago
    6. 59:48
      [1hr Talk] Intro to Large Language ModelsAndrej Karpathy4.3M views • 2 years ago
    7. 1:56:20
      Let's build GPT: from scratch, in code, spelled out.Andrej Karpathy8.2M views • 3 years ago
    8. 12:47
      Backpropagation, intuitively | Deep Learning Chapter 33Blue1Brown6.4M views • 9 years ago
    9. 20:33
      Gradient descent, how neural networks learn | Deep Learning Chapter 23Blue1Brown9.7M views • 9 years ago
    10. 17:55
      Building the Software 2 0 Stack (Andrej Karpathy)Databricks73K views • 8 years ago
    11. 1:21:28
      Lecture 01 - The Learning Problemcaltech1.5M views • 14 years ago
    12. 3:31:24
      Deep Dive into LLMs like ChatGPTAndrej Karpathy10M views • 1 year ago
    13. 1:28:13
      RL Course by David Silver - Lecture 1: Introduction to Reinforcement LearningGoogle DeepMind1.9M views • 11 years ago
    14. 1:57:45
      The spelled-out intro to language modeling: building makemoreAndrej Karpathy1.3M views • 4 years ago
    15. 10:18
      Backpropagation calculus | Deep Learning Chapter 43Blue1Brown4M views • 9 years ago
    16. 5:58
      MarI/O - Machine Learning for Video GamesSethBling12M views • 11 years ago
    17. 2:35:53
      Tensorflow and deep learning - without a PhD by Martin GörnerDevoxx610K views • 9 years ago
    18. 6:53
      Hello World - Machine Learning Recipes #1Google for Developers2.7M views • 10 years ago
    19. 1:11:41
      Lecture 1 | Natural Language Processing with Deep LearningStanford University School of Engineering821K views • 9 years ago
    20. 1:22:56
      Practical Deep Learning for Coders: Lesson 1Jeremy Howard611K views • 4 years ago

    20 comments from Hacker News

    1. @jackdoeJun 2025· 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 recommendsView on HN
    2. @paulsmithSep 2023· 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 recommendsView on HN
    3. @jwitthuhnDec 2025· 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 recommendsView on HN
    4. @gaviMay 2023· in “Deep Learning as Computational Graphs (2018)”

      I highly recommend the video from karpathy this video - This explains the same idea spelled out in code. It really helped me understand the mathematical expression graph of neural networks. He uses graphviz to show the expressions and initially calculate gradients manually and then implement back propagation.

      Strongly recommendsView on HN
    5. @throwaway7783May 2025· 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 recommendsView on HN