JA EN
LearnModel Families
·★ MEMBER·9 min read

The GPT Lineage — Design Thinking from GPT-1 to Today

A generation-by-generation walk from GPT-1 to GPT-4o and the reasoning models, asking what changed and what deliberately did not. At the centre sits one machine that only ever predicts the next token; what moved was scale, the order of training, and how the output was disciplined.

ModalitytextTaskmodel-guide

The recipe stayed. Only the pot got bigger

When you want to improve a dish, you normally change the recipe — swap ingredients, add a step, adjust the heat. The history of GPT went the other way. The recipe barely changed; what changed, by orders of magnitude, was the size of the pot.

Put GPT-1 from 2018 next to a model running today and the skeleton is startlingly similar. Read text left to right, emit a probability for the next token. That single-purpose machine was made deeper, fed more text, and given more compute — year after year. The whole lineage is one long bet that scale buys capability, with the stake raised every round.

So generational change in GPT reads more accurately as a record of which axis was pushed than as a list of new features. This article walks each generation and asks what moved, and what deliberately stayed put.

The name is the design brief

GPT stands for Generative Pre-trained Transformer, and each word is a design commitment.

How unorthodox that combination was in 2018 shows up in the contrast. The mainstream approach was: for each task you care about, gather labelled data and train a dedicated model. One for translation, another for sentiment. GPT introduced a different order — read a mountain of text first with nothing being taught, then teach the job afterwards. Since nothing needs labelling, the study material is effectively unlimited.

One machine, common to every generation

Before walking the generations, let's pin down exactly what kind of machine this is. GPT treats the probability of a piece of text by factorising it like this.

P(x1,x2,,xT)=t=1TP(xtx<t)P(x_1, x_2, \dots, x_T) = \prod_{t=1}^{T} P(x_t \mid x_{<t})
(1)

Reading the symbols: xtx_t is the tt-th token (a word or fragment of one), x<tx_{<t} is everything before it, and \prod means "multiply these together". Put in words, the formula says that the plausibility of a whole passage is the chance of each next token given everything read so far, multiplied all the way from start to finish.

What the model actually emits is a raw score (a logit) for every entry in the vocabulary. Softmax turns those into probabilities, and one token gets picked. Equation (1) has not changed since GPT-1. All that changed is how accurately those probabilities can be produced.

The picking step has a dial — temperature — and it does a lot to set the character of the output. Play with it below.

FIG 1The moment raw scores become probabilities. Turn the temperature down and the model commits to its top candidate; turn it up and the distribution flattens until rare words start appearing. This dial is what people mean by a model being "creative"

GPT-1 (2018): read first, install the job later

The first GPT was a 12-layer Transformer decoder with roughly 117 million parameters. It read BooksCorpus, a collection of unpublished books, and handled a context of 512 tokens. By current standards, a small model.

What the paper actually contributed was not scale but a procedure. Stage one: read books and learn nothing but next-token prediction. Stage two: fine-tune on labelled data for the task you want. That two-stage shape is what cemented "pre-train, then fine-tune" for language models.

The other move that paid off was input transformation. Tasks with different shapes — entailment, similarity, multiple choice — were rewritten as a single token sequence with delimiters, so the model body did not have to be rebuilt per task. The now-obvious idea that one architecture solves everything has its seed here.

Worth noting: GPT-1 still updated weights per task. Pre-training was only groundwork; wanting translation meant fine-tuning for translation. Removing that "install it later" step is the theme of the next two generations.

GPT-2 reached about 1.5 billion parameters and doubled context to 1024. The training material widened from BooksCorpus to WebText — roughly 40GB across 8 million documents, scraped from links that had drawn a minimum level of engagement on Reddit.

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

Comments

Sign in to comment