GPT
A language-model design that only looks back and writes forward
- GPT is a way of building a language model that only looks at what comes before it and writes the next single piece, over and over.
- The name spells out the structure. Generative (it writes new text), Pre-trained (it learns the basics ahead of time), built as a Transformer.
- It genuinely cannot see ahead. During training, whatever came next was hidden, and it practiced guessing that hidden piece.
- Every time it adds one piece, it rereads everything written so far from the start. That's why it slows down as the text grows longer.
- It isn't rebuilt for each new job. One model, trained once, handles translation, summarizing, and conversation alike.
Contents
1The analogy
You've probably gotten a ten-stamp loyalty card before. The stamps always go in starting from the first empty box on the left. Nobody stamps box six first, and nobody erases a stamp already placed to redo it.
Where the next stamp goes is obvious just by looking at the card — how many boxes are already filled decides the very next one. The boxes further along, still empty, contribute nothing to that decision, because there's nothing there yet.
That's exactly how GPT produces text. It looks at everything stamped so far, stamps exactly one more box, looks at the newly stamped card from the top again, and stamps the next one after that.
There's no skipping ahead and no going back — just one box, then the next, until the card is full.
2In detail
The three letters of the name describe the structure
The last part, transformer, is the skeleton. It's the mechanism that decides how much each piece of a sentence should pay attention to every other piece, and most language models today are built on this same skeleton.
The middle part, pre-trained, describes the order of operations. Before anyone decides what questions will be asked, the model spends time soaking up the basics from an enormous pile of text — built first, put to use later.
The first part, generative, describes what it does. Rather than picking from a fixed set of options, it writes text that never existed before. Put the three together and you get "a text-continuing model, built on a transformer, trained ahead of time."
It only looks forward, never back
As far as GPT is concerned, whatever comes after its current position simply doesn't exist. During training, everything past that point was covered up, and it practiced guessing the next piece — an answer sitting right next to the blank wouldn't make for good practice.
It also never revises a piece once it's placed. A person will scratch out an earlier sentence and start over; GPT leaves an already-stamped box exactly as it is and keeps adding after it. That's why, once a sentence starts going off track, it keeps building on that very drift instead of erasing it.
Ask it to "rewrite that earlier sentence," of course, and it will. That's writing a new revised sentence onto the end, though — not reaching back and editing the letters already on the card.
Every new piece means rereading the whole card
Every time GPT adds a piece, it rereads the entire text produced so far. Choosing the tenth piece means taking in the nine before it; choosing the hundredth means taking in ninety-nine.
So the later a piece falls, the more work it takes to produce it, and the answer slows down accordingly. That's part of why text streaming across the screen sometimes seems to slow down toward the end. A long conversation compounds the effect further, since earlier turns get reread each time too.
There's also a ceiling on how much it can take in at once. Once a conversation grows past that ceiling, the oldest parts get pushed out. Deep into a long conversation, an assistant can start acting like it forgot a condition set at the very beginning — because that part is simply no longer on the card.
One model, put to work in many places
Translators, summarizers, and sentiment classifiers used to be built separately from scratch. GPT flips that around. Build one well-rounded model first, then change only the instruction to make it do different jobs afterward.
Tell the same model "translate this into French" and it becomes a translator; tell it "cut this to three lines" and it becomes a summarizer. Not having to build a new model for every new feature is a big part of why language models spread into so many fields so quickly.
3More precisely
GPT is also a specific product name in some contexts, but what's described here is the architecture behind it: stacking only the decoder half of a transformer, masking anything past the current position so the model can only see prior context, and training it to guess the next piece. Afterward, an additional stage that adjusts the model to follow instructions well is common.
The analogy breaks down in one place worth naming. A stamp card has exactly one fixed next box. GPT instead assigns a likelihood to tens of thousands of candidates for the next piece and samples from among them, which is why feeding it the same text twice can produce slightly different answers. And a stamp, once placed, is permanent — but for the model, everything written so far is an input it reads fresh every single time. Nothing is physically imprinted anywhere.
The name has become widely known enough that it sometimes gets used as a stand-in for conversational AI as a whole, but GPT names one particular branch of it. Models built the same way show up under many different names elsewhere.
4Try it yourself
5Common misconceptions
It's easy to think GPT plans out the whole answer in advance and then outputs it, but actually it only ever decides one next piece at a time, so even where a sentence ends gets decided as it's being written.
It's easy to think GPT searches the live internet to answer, but actually it writes by continuing from what it learned ahead of time, and search is a separate feature bolted on when it's available.
It's easy to think GPT remembers a conversation, but actually it rereads the whole conversation from scratch every time, so anything that falls outside that window is gone.
7One-line summary
In shortGPT is a language-model design that, using a transformer trained ahead of time, only ever looks at what came before and keeps writing one next piece forward.
Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02