Skip to content
Projects

chizkidd/Karpathy-Neural-Networks-Zero-to-Hero

View on GitHub

About

Detailed python notes & code for lectures and exercises of Andrej Karpathy's course "Neural Networks: Zero to Hero." The course is focused on building neural networks from scratch.

Learning & Education

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+3
in 15 days
+11
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

View Notebooks Ask DeepWiki

Neural Networks: Zero to Hero

This repository contains my detailed implementations of Andrej Karpathy's Neural Networks: Zero to Hero youtube lecture series & exercises in Jupyter Notebook. The notebooks go into extreme details to ensure a proper, robust fundamental understanding of the deep learning concepts being covered. This lecture series covers neural networks and how to build them from scratch in code. The course starts with the basics of backpropagation, then proceeds to multi-layer perceptrons (MLPs), convolutional neural networks (CNNs), and finally builds up to modern deep neural networks like generative pre-trained transformers (GPTs). The course also introduces and covers diagnostic tools for understanding neural networks dynamics and performance. Finally, this course covers the basics of tokenization, byte-pair encoding (BPE), and how to build a tokenizer from scratch. The field of focus in this course is language modeling (LM) because not only are language models a superb place to learn deep learning but also most of the skills learned here are immediately transferable to other fields of deep learning such as computer vision (CV).

[NN] ---> [MLP] ---> [CNN] ---> [GPT] ---> [BPE] ---> [GPT-2]
Notebook Exercise
Micrograd Micrograd Micrograd Exercises
Makemore 1 Bigrams Bigrams Exercises
Makemore 2 MLP MLP Exercises
Makemore 3 BatchNorm BatchNorm Exercises
Makemore 4 BackProp ---
Makemore 5 Wavenet Wavenet Exercises
GPT GPT 1, 2a, 2b, 3
minBPE minBPE minBPE Exercises
GPT-2 GPT-2 ---

Still Ongoing...


References

Acknowledgments

Thank you Andrej Karpathy for creating and sharing the "Neural Networks: Zero to Hero" tutorial lecture series on Youtube & Github. Your dedication and expertise has made this resource possible. Find more of Andrej's work on his GitHub, Twitter, Website and AI native school, Eureka Labs.

License

This repository is licensed under the MIT License. Feel free to use the provided materials for educational purposes, but please attribute the original content to Andrej Karpathy.

Explore related projects

Loading…