Lesson 1 of 3Module 1 · 0% of course
‹ PrevNext ›
LLMs & AI Engineering · How LLMs work

Neural networks & gradient descent

The machinery under every LLM: neurons as weighted sums, layers, a loss function that scores mistakes, and gradient descent, which nudges every weight downhill.

30 min · 6 steps · videoJump to quiz ↓
Gradient descent, how neural networks learn | Deep Learning Chapter 2 3Blue1Brown · 30 min
Open in YouTube
Step 1 of 6 · Overview30 min read ·
Key idea
Prereqs: Python foundations (comfort with functions & loops). Helpful: slope from algebra. Next: How LLMs work. Follows 3Blue1Brown chapters 1–2 and Karpathy's micrograd.
Next: 1. A neuron is a weighted sum
‹ PrevNext ›