Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Neural Networks: Zero to Hero
| Date | Stars |
|---|---|
| 2026-07-31 | 23798 |
| 2026-08-01 | 23811 |
| 2026-08-02 | 23830 |
| 2026-08-03 | 23839 |
| 2026-08-04 | 23849 |
| 2026-08-05 | 23867 |
| 2026-08-06 | 23874 |
Today
+7 stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
## Neural Networks: Zero to Hero A course on neural networks that starts all the way at the basics. The course is a series of YouTube videos where we code and train neural networks together. The Jupyter notebooks we build in the videos are then captured here inside the [lectures](lectures/) directory. Every lecture also has a set of exercises included in the video description. (This may grow into something more respectable). --- **Lecture 1: The spelled-out intro to neural networks and backpropagation: building micrograd** Backpropagation and training of neural networks. Assumes basic knowledge of Python and a vague recollection of calculus from high school. - [YouTube video lecture](https://www.youtube.com/watch?v=VMj-3S1tku0) - [Jupyter notebook files](lectures/micrograd) - [micrograd Github repo](https://github.com/karpathy/micrograd) --- **Lecture 2: The spelled-out intro to language modeling: building makemore** We implement a bigram character-level language model, which we will further complexify in followup videos into a modern Transformer language model, like GPT. In this video, the focus is on (1) introducing torch.Tensor and its subtleties and use in efficiently evaluating neural networks and (2) the overall framework of language modeling that includes model training, sampling, and the evaluation of a loss (e.g. the negative log likelihood for classification). - [YouTube video lecture](https://www.youtube.com/watch?v=PaCmpygFfXo) - [Jupyter notebook files](lectures/makemore/makemore_part1_bigrams.ipynb) - [makemore Github repo](https://github.com/karpathy/makemore) --- **Lecture 3: Building makemore Part 2: MLP** We implement a multilayer perceptron (MLP) character-level language model. In this video we also introduce many basics of machine learning (e.g. model training, learning rate tuning, hyperparameters, evaluation, train/dev/test splits, under/overfitting, etc.). - [YouTube video lecture](https://youtu.be/TCH_1BHY58I) - [Jupyter notebook files](lectures/makemore/makemore_part2_mlp.ipynb) - [makemore Github repo](https://github.com/karpathy/makemore) --- **Lecture 4: Building makemore Part 3: Activations & Gradients, BatchNorm** 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. - [YouTube video lecture](https://youtu.be/P6sfmUTpUmc) - [Jupyter notebook files](lectures/makemore/makemore_part3_bn.ipynb) - [makemore Github repo](https://github.com/karpathy/makemore) --- **Lecture 5: Building makemore Part 4: Becoming a Backprop Ninja** We take the 2-layer MLP (with BatchNorm) from the previous video and backpropagate through it manually without using PyTorch autograd's loss.backward(). That is, we backprop through the cross entropy loss, 2nd linear layer, tanh, batchnorm, 1st linear layer, and the embedding table. Along the way, we get an intuitive understanding about how gradients flow backwards through the compute graph and on the level of efficient Tensors, not just individual scalars like in micrograd. This helps build competence and intuition around how neural nets are optimized and sets you up to more confidently innovate on and debug modern neural networks. I recommend you work through the exercise yourself but work with it in tandem and whenever you are stuck unpause the video and see me give away the answer. This video is not super intended to be simply watched. The exercise is [here as a Google Colab](https://colab.research.google.com/drive/1WV2oi2fh9XXyldh02wupFQX0wh5ZC-z-
Excerpt of 6,828 characters
Read on GitHubAndrej
11
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:e71ca68c7dcf8522, llm:Repository title/description: 'Neural Networks: Zero to Hero' (educational notebooks by Andrej Karpathy). Jupyter Notebook language indicates tutorial/learning material covering neural networks.
matched fp:e71ca68c7dcf8522, llm:Repository title/description: 'Neural Networks: Zero to Hero' (educational notebooks by Andrej Karpathy). Jupyter Notebook language indicates tutorial/learning material covering neural networks.