Free course on Andrej Karpathy

Neural Networks: Zero to Hero

14.5 hoursFree

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

At a glance

Level
Advanced
Hours
14.5
Cost
Free

No certificate with this course.

Open Course

Andrej Karpathy's Neural Networks: Zero to Hero is a free video series teaching neural networks from first principles. You implement neural networks from scratch in Python, no frameworks, so you understand exactly how they work. The course is advanced but exceptionally clear. After finishing, you understand backpropagation, gradient descent, and how to build neural networks. Karpathy is Tesla's former AI director and one of the best ML educators. The main limitation: this is math-heavy and requires linear algebra and calculus comfort.

Editor’s take

Best for
Programmers who are solid in Python and want to understand neural networks well enough to build one from nothing. You need only intro-level maths, such as a derivative and a Gaussian.
What you will be able to build
You build micrograd, a tiny autograd engine, then the makemore character models, from a bigram model through an MLP, BatchNorm and a WaveNet-style network. Later videos build a GPT from scratch and the GPT tokenizer using Byte Pair Encoding.
The hardest part
Building makemore Part 4, where you backpropagate through a two-layer network by hand, without PyTorch's loss.backward(). It is slow, careful work, and it is the video that makes the rest click.
What to take next
The Hugging Face LLM Course then shows how the same ideas look inside production libraries. Hugging Face LLM Course →

Written from the course’s own syllabus and our review criteria.

About This Course

Andrej Karpathy's free video series building neural networks from scratch, starting with backpropagation and ending at GPT. Widely considered the single best free deep-learning course available. Taught by an OpenAI founding member and ex-Tesla AI director.

Course Details

Duration
14.5h
Certificate
No
Cost
Free
All Courses

Frequently Asked Questions

Is Karpathy's course free?

Yes, all videos are free on YouTube.

Is this for beginners?

No. You need Python, linear algebra, and some calculus. Start with Kaggle or Ng first.

Why learn from scratch instead of using frameworks?

Understanding fundamentals prevents bugs and helps you make better decisions in production.

How long is the course?

About 30-40 hours of dense, challenging content.

After this, should I use frameworks?

Yes, PyTorch or TensorFlow. Now you'll understand what they're doing under the hood.

More Machine Learning Courses