FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
ArticleTools

Building makemore Part 3: Activations & Gradients, BatchNorm

via Andrej KarpathyAndrej Karpathy3y ago

We dive into some of the internals of MLPs with multiple layers and scrutinize the statistics of the forward pass activations, backward pass gradients, and some of the pitfalls when they are improperly scaled. We also look at the typical diagnostic tools and visualizations you'd want to use to understand the health of your deep network. We learn why training deep neural nets can be fragile and introduce the first modern innovation that made doing so much easier: Batch Normalization. Residual connections and the Adam optimizer remain notable todos for later video. Links: - makemore on github: https://github.com/karpathy/makemore - jupyter notebook I built in this video: https://github.com/karpathy/nn-zero-to-hero/blob/master/lectures/makemore/makemore_part3_bn.ipynb - collab notebook: https://colab.research.google.com/drive/1H5CSy-OnisagUgDUXhHwo1ng2pjKHYSN?usp=sharing - my website: https://karpathy.ai - my twitter: https://twitter.com/karpathy - Discord channel: https://discord.gg/3zy8

Watch on Andrej Karpathy

Opens in a new tab

Watch on YouTube
18 views

Related Articles

If you can contribute to an open source project and collaborate with others, you can work anywhere
Article

If you can contribute to an open source project and collaborate with others, you can work anywhere

freeCodeCamp.org • 3h ago

Kids and young people: stay curious and be willing to engage with others
Article

Kids and young people: stay curious and be willing to engage with others

freeCodeCamp.org • 1d ago

I really miss coding.
Article

I really miss coding.

Theo • 1d ago

Here's a cool and easy way to work with colors in your Three.js projects
Article

Here's a cool and easy way to work with colors in your Three.js projects

freeCodeCamp.org • 2d ago

Learn a bit about camera position in Three.js
Article

Learn a bit about camera position in Three.js

freeCodeCamp.org • 5d ago

Discover More Articles