Source

Neural Networks: Zero To Hero

Open the source

This is the course page for Karpathy's 'Neural Networks: Zero To Hero', which teaches neural networks by building them from scratch in code. It starts with backpropagation and works up to GPT and tokenizers. He argues that language models are an excellent vehicle for learning deep learning in general.

- The course builds neural networks from scratch in code, starting with backpropagation and ending with modern models like GPT. - Karpathy argues that language models are the best place to learn deep learning because most of the skills transfer to other areas such as computer vision. - The prerequisites are solid Python programming and intro-level math such as derivatives and gaussians. - He has learners backpropagate manually without autograd so they build an intuition for how gradients flow, which helps them debug and innovate. - He teaches diagnostic tools for network health, including statistics of activations and gradients, and shows why deep nets are fragile when improperly scaled. - He traces many weird LLM behaviors back to tokenization and suggests that someone should ideally find a way to delete that stage entirely.

Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.

Supports these rules

Quotes from this video

“In my opinion language models are an excellent place to learn deep learning, even if your intention is to eventually go to other areas like computer vision because most of what you learn will be immediately transferable.”

“We start with the basics of backpropagation and build up to modern deep neural networks, like GPT.”

“In this lecture we build from scratch the Tokenizer used in the GPT series from OpenAI.”

“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.”

“We also look at the typical diagnostic tools and visualizations you'd want to use to understand the health of your deep network.”

“a lot of weird behaviors and problems of LLMs actually trace back to tokenization.”

Topics