How AI Actually Works

Type "I'm running a little" into your phone and it suggests "late." A large language model works the same way: it is autocomplete that read most of the internet. Once that idea is clear, most of the rest of how AI behaves follows from it. What it is. A languag

8 lessons, each with runnable code in the browser.

  1. Prediction Machines, Not Brains
  2. Tokens: The Model Doesn't See Words
  3. Training vs Inference
  4. Why LLMs Make Things Up
  5. Probability Distributions: The Next-Token Lottery
  6. Weights and Parameters
  7. Attention in Plain English
  8. Why Bigger Models Got Smarter

Compilearn home