RomânăEnglish
What a Machine Knows
How does a switch come to write sentences? The course answers from the ground up, with no step skipped: from what it means to learn something, to the way an electric current holds a bit, to the machine that learns from examples and, in the end, to the models that speak.
Every lesson uses only what the earlier ones have built, and every mechanism is drawn and set in motion on the page: the boxes go dark, the code builds itself, the current runs through the switch. The figures compute for real; nothing in them is staged.
Contents
-
Part 1Information
-
Part 2The Computer
-
Part 3Learning
- 11Learning from Examplesrule with thresholds · the change of plan
- 12The Cost Functionparameters · cost · landscape
- 13Gradient Descentgradient · learning rate
- 14Overfittingtraining · test · regularisation
- 15The Artificial Neuronweights · boundary · sigmoid
- 16The Layershidden layers · depth
- 17Backpropagationblame · the chain rule
- 18Convolutionfilter · activation map
-
Part 4Language
- 19Vector Representationvectors · cosine
- 20Tokenisationtokens · merging pairs
- 21The Next Wordlanguage model · perplexity
- 22The Neural Language Modelvectors · shared weights
- 23The Recurrent Networkhidden state · the vanishing slope
- 24Attentionquery · key · value
- 25The Transformer Blockresidual stream · bypass · normalisation
- 26Word Orderpositional mark · sinusoids
- 27Training at Scalepre-training · scaling laws
-
Part 5The Assistant
-
Part 6Images
- 33Noise as Materialforward process · noise schedule
- 34The Way Backsampling step · diffusion
- 35Diffusion on a Handful of Pointsa network trained on the page · the spiral
- 36The Text That Pulls the Imageconditioning · guidance
- 37Working in the Compressed Spaceautoencoder · latent diffusion
- 38Close Relativesadversarial network · flow matching
-
Part 7Today's Systems
- 39One Space for Image and Textshared space · multimodal
- 40Tools and the Agent Looptool call · loop
- 41Search Before the Answerretrieval · vector store
- 42What an Answer Costsmixture of experts · quantisation · distillation
- 43How It Is Measuredevaluation · contamination
- 44What Can Be Seen Insideprobe · direction · intervention
-
Part 8The Open Questions