Skip to content
ginsberg.si

How AI Chatbots Actually Work

A plain-English guide to ChatGPT and the large language models behind it.

Editorial title card: word cards, a pen, clockwork, a bookshelf, and a small tower, under the drawn words How Transformers Work.

Five essays for a careful reader. Nothing important from the technical series was discarded — only regrouped. The map of the twenty lessons is at the start of Part 1.

Parts

  1. Part 1

    How ChatGPT Writes: The Next-Word Engine

    How ChatGPT works, in plain English and with no math: text becomes tokens, layers score the next word, and temperature decides how bold the guess is.

  2. Part 2

    How AI Reads: Attention, Explained Without the Math

    How a large language model reads, in plain English: attention is close reading, several heads at once, and each layer adds a note instead of erasing the page.

  3. Part 3

    How AI Learns: Training, in Plain English

    How AI learns, in plain English and with no math: hide the next word, measure the surprise, and nudge the weights. Those dials are stored experience.

  4. Part 4

    What's Inside an AI Model, and Why People Shrink It

    What's inside a model download, in plain English: billions of weights, and why people shrink them so the layer's output stays close. No math.

  5. Part 5

    Running AI Faster, and Peeking Inside Its Head

    Running a large language model faster, in plain English: a cache of past reading, specialist experts, and a peek at how Paris climbs. No math.