karpathy/nn-zero-to-hero
Neural Networks: Zero to Hero
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
The project lists 2 contributors on GitHub.
Use Cases & Benefits
- Provides a comprehensive course on building and understanding neural networks from scratch using Jupyter notebooks and Python.
- Offers step-by-step, code-driven lectures that build intuition by manually implementing neural network components without relying on high-level libraries.
- Use for learning foundational neural network concepts and backpropagation through hands-on coding exercises.
- Use for developing and experimenting with character-level language models and multilayer perceptrons in PyTorch.
- Use for constructing advanced architectures like WaveNet and GPT transformers to understand modern deep learning models.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
- Warning: No commits in over a year (last push Aug 2024).
- Owned by an individual account with only 2 contributors on GitHub; plan for bus-factor risk.
- No GitHub releases; pin a commit or tag instead of a release.
General guidance from repository metadata, not legal advice. How we score
From the README
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 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.
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).
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.).
Lecture 4: Building makemore Part 3: Activations & Gradients, BatchNorm
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
3.8K+209
Open issues
54+1
Compared with peers in Deep Learning
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 22, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| harvard-edge/cs249r_book | 30.2K | — | 65 | 9 days ago |
| karpathy/nn-zero-to-hero | 25.9K | — | 6 | — |
| onnx/onnx | 21.7K | — | 63 | 43 days ago |
| mlc-ai/web-llm | 19.4K | — | 60 | 2 days ago |
| lukas-blecher/LaTeX-OCR | 16.6K | — | 18 | — |
| SharpAI/DeepCamera | 3.1K | — | 30 | 250 days ago |
| Category median | 19.4K | — | 60 | — |
Also by karpathy
Other repositories from this maintainer that GStars tracks
- Python100.4K stars
autoresearch
AI agents running research on single-GPU nanochat training automatically
- Python64.9K stars
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
- Python60.5K stars
nanochat
The best ChatGPT that $100 can buy.
- Python25.0K stars
minGPT
A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training
- Jupyter Notebook18.8K stars
micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
Discover Repositories
Search across tracked repositories by name or description