Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Journeys / AI

chapter 1 of 9

Neurons to a language model

Goal: Follow one neuron's weighted sum all the way up to a model that guesses the next word

0 of 10 here

Neurons to a language model

testbeatenThe learning rateTokens and embeddingsNon-linearity: why a hundred layers can equal oneWhat deep learning actually is: backprop, and why language was hard

From a model to an app

testbeatenThe batch size dialThe temperature dialRL fine-tuning: reward models, RLHF and DPOVector databases and RAG, end to end

Past the basics

testbeatenThe decision thresholdTokens and embeddingsAttention in production: KV cache, MQA, GQA and MLAMixture of experts, reasoning, and test-time compute

The string and the contract

testbeaten

The loop and its harness

testbeatenThe loop cap

GPT, built from scratch

testbeatenThe learning rateTokens and embeddingsWhat deep learning actually is: backprop, and why language was hardAttention from scratch: the mechanism that ate the field

On a real model

testbeatenThe chunk sizeVector databases and RAG, end to end

Serve the GPT you built

testbeaten

Serving LLMs

testbeatenThe cascade thresholdA chip built for one sumThe machine that finds rulesFree with an accountOdds and surpriseWith a planBlame, handed backwardsWith a planOne knob, one slopeWith a planWhen the loss won't fallWith a planWords as points on a mapWith a planThe helper with one slipWith a planAsk everyone, weigh, blendWith a planGuess the next wordWith a planThe raffle drumWith a planThe writer with no memoryWith a planA text finisher learns mannersWith a planEight cards or oneWith a planThe Netflix table that was mostly emptyWith a planSix cases that were not thereWith a planThe helper with no handsWith a planNine hops to a labelWith a planWhy the chatbot ran outWith a planThe lost applesWith a planLearning from just a scoreWith a planThe exam that liesWith a planWhere to set the barWith a planMany small trees beat oneWith a planGroups nobody labelledWith a planThe half nobody could seeWith a planThe model that was a bridgeWith a planThe card with a holeWith a planBorrowed eyesWith a planThe ink you undoWith a planEyes for a readerWith a planSound and moving picturesWith a planA hospital, not a doctorWith a planFast and slow at onceWith a planPainters and paintWith a planA big brain on a laptopWith a planPacking eight suitcasesWith a planWhat the model ateWith a planThe kitchen that keeps stoppingWith a planPeople who bought thisWith a planFour bubbles, one stringWith a planThe desk that kept changing its storyWith a planThirty days or fourteenWith a planA slip, not a sentenceWith a planThe loop with no brakesWith a planWhich model, this weekWith a planThe chatbot that promised a fareWith a planOne plug for every toolWith a planSame as last timeWith a planSix boxes on a napkinWith a planTen pages, one full notepadWith a planWhich two rows?With a planAn agent with a computerWith a planFair on average, unfair to a groupWith a planThree budgets in codeWith a planThe desk that foldsWith a planThe mystery shopperWith a planBlame walks backwardsWith a planBuild the tokenizerWith a planCount the pairsWith a planEight characters of memoryWith a planA finger on the pageWith a planAdd a note, never rewriteWith a planChoosing the next characterWith a planBorrowing the big machineWith a planSearch first, then answerWith a planThe page the search never foundWith a planThe dress rehearsalWith a planThe kitchen around the cookWith a planThe writer's margin notesWith a planThe account book that ate the cardWith a planThe bus that never waitsWith a planBenches, not booked tablesWith a planPrint the letterhead onceWith a planThe helper drafts, the GPT checksWith a planThe engine, with a stopwatchWith a planThe two clocksWith a planSame start, computed onceWith a planRead the book a few pages at a timeWith a planTwo pools, one gigabyte in flightWith a planThe grammar holds the penWith a planWhich door gets the questionWith a planStop, and the stream that returns

AI

chapter 1Neurons to a language model

10 stops

chapter 2From a model to an app

8 stops

chapter 3Past the basics

22 stops

chapter 4The string and the contract

4 stops

chapter 5The loop and its harness

13 stops

chapter 6GPT, built from scratch

8 stops

chapter 7On a real model

3 stops

chapter 8Serve the GPT you built

8 stops

chapter 9Serving LLMs

7 stops