This website contains profanity.

GPT Diaries, also called ChatGPT Diaries. An open diary on a desk. Not an AI diary app.

in simple terms

What AI Actually Is

Written by a person, not by the product.

01 · · By Alex Hall

topics discussed

Topics covered in this guide: what artificial intelligence means, how language models work, the difference between AI and machine learning, how models are built and trained, what GPT and transformers are, how tokens and context windows work, what AI memory actually refers to, and why industry terminology can give consumers misleading impressions about reliability.

A plain-language explanation.

  • What is AI in simple terms?
  • How does a large language model generate an answer?
  • What is the difference between context window and saved memory?
  • What does AI training actually mean?

Tokenizer calculator. Type text and see how it splits into word pieces.The same calculator on its own page.

Download this section

The Simple Version

I'm going to explain what AI is, starting from nothing. You don't need to know anything about computers.

AI is a product that a company built and sells. It works by guessing which words usually come next. Its design lets it look at all your words at once and weigh which ones matter to each other. Its personality, politeness, and tone were added afterward, using scores from human ratings. It doesn't check whether its guesses are true. So you should check the work and keep your own backup.

Each part below explains one piece, and each ends with a small word box. The full word list is at the end.

Part 1: What the Word "AI" Means, and a Small Version You Already Use

The word "AI" is an umbrella. It covers many different kinds of software. Here is the family tree, from broadest to narrowest:

Artificial intelligence (AI) ← the broad umbrella word
└─ Machine learning ← software whose behavior comes from adjusted numbers, not hand-written rules
└─ Neural networks ← machine learning built from layers of simple math
└─ Language models ← neural networks that work with text
└─ GPT-style products (ChatGPT, Gemini, and others)

This guide is about the narrow bottom level: products that write text.

A small version you already use. Think about the text messages on your phone. You type "I'll be there in" and your phone offers "five," "a," and "ten." The phone guessed the likely next words, because it was set up using lots of writing where those words usually followed.

Now make that guess much bigger. It looks at whole paragraphs, not three words. It picks the next word, adds it, then guesses the one after that. It repeats until the answer is done. That is how ChatGPT, Gemini, and similar products write.

Your phone doesn't know what you mean. It doesn't know whether you'll be there in five minutes. It guesses what usually comes next. The big products do the same, only larger and better at it.

The alphabet picture. Here is the same idea in its simplest form:

A B C D E F ... Y Z

Suppose the product was shown lots of writing where A is often followed by B. When it sees A, it gives B a high score and Y a low score, then picks the highest. That's the basic idea: count what tends to show up near what, then guess what comes next.

There is one caution. The product doesn't know that A comes before B. It only reflects that, in the examples it was shown, A was often followed by B. If the examples showed A followed by Y, its guesses would change. It follows patterns, not truth. So when I say "near," I mean near in the examples. I don't mean near in meaning, and I don't mean near in space.

Your request has a name. What you type is called a prompt. In this guide I call it your request.

Words in this part:

  • AI: broad umbrella word for many kinds of software.
  • Machine learning: software whose behavior comes from adjusted numbers, not hand-written rules.
  • Language model: a neural network that works with text.
  • Product: what a company builds and sells. I use "product" where the industry says "AI" or "model."
  • Output: what the product gives back to you.
  • Prompt: your request.

Part 2: Stage One, Base-Tuning

The worked example

A guessing machine needs a way to tell which guess is better. It uses scores.

Imagine a simple guesser. Every word has a score for coming next, and at the start the scores are random. At this point it is built but not useful. Here is what happens next:

  • 1. It's shown the start of a sentence: "The sky is…"
  • 2. It guesses. The scores are random, so it says "banana."
  • 3. The real next word was "blue." The guess was wrong.
  • 4. A formula measures how wrong the guess was. The industry calls that measurement loss, and I call it the error score.
  • 5. Another formula nudges the scores so the error gets a little smaller. "Blue" goes up, "banana" goes down. The industry calls this gradient descent, and I call it step-by-step corrections.
  • 6. It's shown another sentence, and the same cycle repeats.

Repeat that cycle an enormous number of times on huge amounts of writing, such as books, websites, and articles. Little by little, the scores get better at matching what usually comes next.

People wrote the formulas, people chose the writing, and the machine's numbers were adjusted until the guesses fit. Nothing was taught and nothing studied. Numbers were adjusted.

What to call it

The industry calls this training, or pre-training. I call it base-tuning, because it is adjusting numbers toward a target, like tuning an instrument. A student is trained. A guitar is tuned.

The difference matters. "Trained" suggests a student who studies and sometimes slips up, and we forgive students for that. A product isn't a student. A tuned product that gives wrong output is a product that was set up in a certain way, and its wrong output isn't a learner's acceptable mistake.

The ladder of stages

  • Built: the design and code exist, the scores are random, and it isn't useful yet.
  • Base-tuned (industry: pre-trained): the scores were adjusted on huge amounts of general writing. This was done before you got the product.
  • Post-tuned (industry: post-trained): a second stage adjusted it again so it acts like an assistant (Part 6).

What tuning does not do

Tuning does not make the product correct. It doesn't make it safe. It doesn't make it understand. It doesn't mean anyone checked its work. "Base-tuned" means the first numbers were set, and "post-tuned" means they were adjusted again. Neither means reliable.

The name GPT

GPT stands for Generative Pre-trained Transformer. You'll sometimes see "General" in place of "Generative." The standard name is Generative.

  • Generative: it writes text.
  • Pre-trained: base-tuning was done before you bought it.
  • Transformer: its design (Part 4).

You'll also hear it called "general-purpose." That means it was base-tuned on broad, varied text, so it can be adapted to many tasks like writing, summarizing, answering questions, and coding. It does not mean it can do everything well.

"Pre-trained" can sound like "educated, qualified, checked." It doesn't mean that. It means the first numbers were set.

One more fact

The writing used in base-tuning was collected up to some date. A product doesn't automatically know about events after that date, unless the company adds a tool such as web search.

Words in this part:

  • Base-tuning (industry: training, pre-training).
  • Internal guess-scores (industry: weights, parameters): the adjustable numbers that decide each guess.
  • The examples the company chose (industry: training data).
  • Error score (industry: loss) and step-by-step corrections (industry: gradient descent).
  • Built, base-tuned, post-tuned: the three stages of the ladder.
  • GPT, pre-trained, generative, general-purpose.

Big Numbers, Small Print

We've already looked at what companies call "training." Now let's look at another part of the industry: the enormous numbers used to advertise AI products.

A bigger number sounds like a better product. And when companies start talking about millions of tokens, the impression is that the product can handle entire libraries of information.

These are real numbers published by the companies themselves:

Ten million. That sounds enormous.

But ten million what, exactly?

Not ten million words. Not ten million facts. And certainly not ten million things the product will remember.

The companies are counting tokens, which are pieces of text processed by the product. A million tokens represents roughly four megabytes of ordinary English text. Ten million tokens represents roughly forty megabytes. Those are approximate amounts, not fixed conversions.

And here's where it gets interesting.

A simple English sentence and a mathematical formula of similar visible length may consume very different numbers of tokens. A formula containing Greek letters, unusual mathematical operators, subscripts, and other symbols can take more space in the context window than you might expect. The exact amount depends on how the product divides that text into pieces.

So the advertised number does not tell you exactly how many pages of your particular work will fit.

More importantly, the maximum amount of information a product can accept is not a measurement of how accurately it can use that information.

A larger context window is a real technical capability. But capacity is not accuracy, and neither is proof of memory.

Before we go any further, we need to understand what those millions actually count.

Part 3: From Text to Numbers

Computers only work with numbers, so the product has to turn your words into numbers first. Three ideas are enough here.

  • 1. Word pieces. The product cuts your text into small pieces, often parts of words. The industry word is token.
  • 2. Numbers for each piece. Each word piece is turned into a long list of numbers. Pieces used in similar ways in the examples end up with similar lists. The industry word is embedding. This is the closest thing the product has to "meaning": similar numbers for pieces that appeared in similar situations. It is not understanding.
  • 3. Layers of simple math. The numbers pass through many layers. Each layer is made of simple units. A unit takes in numbers, multiplies each one by an adjustable number (a guess-score), adds the results together, and passes the total to the next layer. The industry calls this whole system a neural network. It sounds like a brain, but it is multiplication and addition done on a very large scale. When the guessscores are adjusted using data, the network gets better at mapping inputs to outputs, such as text to a likely next word.

These names were not invented to confuse the public. They came from research fields where words like "neural" and "learning" were convenient labels. But they work on people with no background. "Neural" sounds like a brain, "learning" sounds like understanding, and "training" sounds like school. Behind each word is ordinary programming: engineers wrote code that multiplies and adds numbers.

At the end, the product has a score for every possible next word piece. It picks one, usually a high-scoring one. A setting called temperature, which I call the randomness dial, controls how often it picks a lower one. That's one reason the same request can get different answers.

One Token Is Not Always One Word

A token (word piece) is not the same as a word. A short, common word is often one token. A long or unusual word gets split into several. Spaces and punctuation count too. On average in English, 1 token is about 4 characters, or about three quarters of a word, so 100 tokens is about 75 words. That is an average, not a rule, and the exact count depends on the product's tokenizer.

Here are examples of how it can look. The exact splits vary by product, so treat them as illustrations:

  • Short common words, usually 1 token: "the," "cat," "house."
  • Punctuation, usually its own token: in "Hello, world!" the comma and the exclamation mark are each a token. The space before "world" attaches to the word.
  • A medium-length word, about 3 tokens: "croissant" can split into "cro," "iss," and "ant."
  • A long word, about 3 tokens: "unbelievably" can split into pieces like "un," "believ," and "ably."
  • A long, rare word, 3 to 4 tokens: "disintermediation."
  • A rare word or name, many tokens: "flugelhorn" can split into four pieces ("fl," "ug," "el," "horn"), and a long unusual name can take 8.
  • Other languages and code: these often take more tokens for the same meaning. In one test, a French sentence took 14 tokens where the English one took 10.

So the same number of words can cost different numbers of tokens. A page of short everyday words uses fewer tokens than a page of technical terms, names, numbers, or code.

When Tokens Add Up Fast

A word's complexity doesn't decide its token count. How familiar the text is to the product's tokenizer does. The tokenizer learned its word pieces mostly from English-heavy text, so familiar chunks become single tokens, and unfamiliar text breaks into many small ones.

A foreign word or sentence. "The cat is sleeping" may take 4 or 5 tokens in English. The same sentence in Hindi, Thai, or Burmese can take 15, 20, or more, because the tokenizer has few learned chunks for those scripts and falls back on tiny pieces. Many non-Latin characters are stored as 2 to 4 bytes, and one character can cost several tokens on its own. One estimate puts a 100-word paragraph at about 130 tokens in English and about 300 in Chinese or 350 in Hindi.

A formula. Take the quadratic formula.

x=−b ± √(b2 − 4ac)2a

The quadratic formula, written out. x equals negative b, plus or minus the square root of b squared minus 4ac, all over 2a.

In English you'd say "the quadratic formula," about 3 words. But the written version is a fraction, a square root, plus-or-minus, single letters, and numbers, and each can be its own token. My rough estimate is a few dozen tokens, and the exact count depends on the tokenizer. Code and numbers behave the same way.

Why it matters. More tokens fill the context window faster and cost more per request. A short page of formulas or non-English text can take as much room as several pages of plain English.

This varies a lot by product. Newer tokenizers have narrowed the gap, and one test found Hindi falling from 4.36 times English tokens to 1.54 times on OpenAI's newer tokenizer. Chinese models may even use fewer tokens for Chinese than for English.

Tokenizer calculator

Type text to see how it splits into word pieces. The pieces below are a real split, not a drawing. The example split is the GPT-2 one the croissant line comes from. The newer split is a current encoding. Products differ.

Opening the tokenizer.

Words in this part:

  • Token = word piece. Not always one word. About 4 characters, or three quarters of a word, in English.
  • Embedding = number list for a word piece.
  • Neural network = layered scoring system.
  • Temperature = randomness dial.
  • Tokenizer: the part of the product that cuts text into word pieces. It decides how many tokens your text costs.

Part 4: What a Transformer Is

The transformer is the design that sits at the center of GPT-style products. It was introduced in a 2017 research paper titled "Attention Is All You Need."

The one-sentence version: a transformer lets the product look at all your words at once and work out which words matter to which other words.

Why that matters

The meaning of a word depends on the words around it. Here are four examples.

Example 1: Picking the right word. Take "Anqi forgot ___." The next word is probably "her," because "Anqi" is a name usually followed by "her." The product has to connect "forgot" with "Anqi" to get there.

Example 2: What does "it" mean? Read this: "The trophy didn't fit in the suitcase because it was too big." Here, "it" means the trophy. Change one word: "…because it was too small." Now "it" means the suitcase. A system that only looked at the previous word would miss this. A transformer weighs "it" against every other word in the sentence.

Example 3: Same word, different meaning. "I sat by the river bank" and "I went to the bank for a loan." The word "bank" has the same letters, but the surrounding words change what it means. The transformer lets "river" or "loan" adjust the numbers for "bank."

Example 4: Word order. "Dog bites man" and "man bites dog" use the same words. A transformer reads all words at once, so it needs a separate way to know order. It adds position information to each word piece's numbers.

How the weighing works: ask, match, blend

This is the core step, called attention.

  • 1. Ask. Each word piece creates a note that says what kind of information it is looking for. The industry calls this a query.
  • 2. Match. Each word piece also creates a label that says what it's about. The industry calls this a key. The product compares each word's question with every other word's label. A strong match gets a high relevance score.
  • 3. Blend. Each word piece also carries its content, called a value. The product mixes in more of the content from high-scoring words and less from low-scoring ones.

Take the phrase "a fluffy blue creature." The word "creature" starts with a generic set of numbers. Attention lets "fluffy" and "blue" blend into it, so its numbers now stand for something more specific: a fluffy blue creature. Nobody typed that rule. It comes out of the adjusted guessscores.

One block, then many

A transformer is built from repeating blocks. Each block does two things:

  • Attention: word pieces share information with each other.
  • Refine: each word piece's numbers are adjusted on their own, using more layers of math.

The product stacks many identical blocks. The numbers get adjusted again and again as they pass through.

Heads: separate sections that pay attention to specific things

Inside each attention step, the product runs several attention passes side by side. These are called heads.

Here is a way to picture them. Imagine each head as a separate section of the code, and each section pays attention to its own specific things. One section might watch which noun a word like "it" points back to. Another might watch the grammar links between neighboring words. Another might watch for connections across a long stretch of text. All the sections work at the same time, and their results are combined.

A few cautions about this picture:

  • All heads run the same kind of code. What differs between them is the adjusted numbers. The specialization comes from tuning.
  • Nobody assigns the jobs. No engineer says "you track pronouns." Each head's focus comes out of base-tuning, and it isn't always neat or easy to label.
  • A head is a way of paying attention, not a person watching. It scores and blends numbers, like everything else here.

The last step

After the final block, the product turns the numbers for the last position into a score for every possible next word piece, picks one, adds it, and starts again with the new, longer text. That is why I said earlier the product writes one piece at a time.

What a transformer is not

It is not a brain. It doesn't look facts up, and it doesn't check anything. It is math that mixes and refines lists of numbers, and the way it mixes them depends on the guess-scores set during tuning.

Words in this part:

  • Transformer: the design that looks at all your words at once and weighs which matter to which.
  • Attention: the ask-match-blend step. Query = what a word is looking for. Key = what a word is about. Value = the content that gets blended in.
  • Block: one attention step plus one refine step.
  • Head: one of several side-by-side attention passes. Picture each as a separate section of the code watching for specific things.
  • Position information (industry: positional encoding): numbers added so the product knows word order.

Part 5: What It Can Keep in View, and What It Doesn't Remember

The context window. The product can only consider a limited amount of text at one time. That limit is called the context window, and it is measured in word pieces. It includes everything the product is given in one go: the company's hidden instructions, your conversation so far, any documents you pasted in, and the product's own reply.

The hidden instructions. The company's own instructions, which you usually can't see, are called the system prompt. They sit in the context window along with your request and can shape tone, rules, and what the product refuses to do.

What happens when it fills up. When a long chat gets close to the limit, the oldest content is dropped or replaced with a summary, depending on the product. Details from early in the chat are the first to blur. This is one reason a product can seem to forget something you told it earlier.

No memory between chats. By default, the product doesn't remember past conversations. It only knows what is sent to it with each request. Chat apps work around this by resending your conversation history each time. Some products add a separate memory feature, and how that works depends on the product.

Why this matters to you. If you give the product a long document and ask it to rewrite it, anything that doesn't fit, or that gets summarized, can be missing from its work without a warning.

Words in this part:

  • Context window = how much it can keep in view at once.
  • System prompt = the company's hidden instructions.
  • Memory = what a product saves between chats. Not automatic.

Memory: What the Numbers Really Mean

You might hear some AI companies advertising a big number for "memory," such as "a million tokens of memory," "256K of memory," or "megabytes of memory." The word "memory" is doing a lot of work in those ads. It can mean four different things:

  • Context window: how much text the product can see right now.
  • Saved memory: short notes the company's software keeps about you and pastes in when relevant.
  • Chat history or file storage: room to keep old chats and uploaded files.
  • Computer memory: the hardware memory needed to run the product.

The number in the ad tells you nothing until you know which one it describes and what unit it uses. This section starts with the context window, since that is the number most ads lead with.

The Context Window in Real Amounts of Text

The context window is counted in tokens, the word pieces from Part 3. Here is what common sizes mean in everyday amounts of text. Pages assume about 500 words per page, and a novel is about 80,000 words.

  • 27K tokens (27,000): about 20,000 words. That is roughly 40 pages, or a quarter of a novel. In data terms, about 0.1 MB.
  • 54K tokens: about 40,000 words. That is roughly 80 pages, or half a novel. About 0.2 MB.
  • 128K tokens: about 96,000 words. That is roughly 190 pages, or a bit more than one novel. About 0.5 MB.
  • 256K tokens (262,144): about 197,000 words. That is roughly 390 pages, or two and a half novels. About 1 MB.
  • 1 million tokens (1,048,576): about 786,000 words. That is roughly 1,570 pages, or nine to ten novels. About 4 MB.

So when you see "256K" in an ad, it is about one megabyte of text. When you see "1M tokens," it is about four megabytes. Those are small numbers as computer data. A single phone photo is often bigger than that.

Everything Counts Against the Window

The window isn't only for your document. It has to hold everything the product is given at once:

  • The company's hidden instructions (the system prompt).
  • Saved notes, if memory is on.
  • Your whole conversation so far, because the software resends it with each request.
  • Any files or pasted text.
  • The product's own reply, and any step-by-step text it writes before answering.

So a window labeled "1M tokens" doesn't mean you can paste in 1M tokens of your own work. The room left for your input is smaller. A long chat also fills the window with old messages and replies, which is why a conversation can reach "context window full" even if no single message was long.

The Window Is Not Storage

When you close the chat or start a new one, the window is empty again. Nothing in it was saved. A big context window means a large amount can be in view during one request. It does not mean the product keeps anything afterward. Keeping things afterward is the job of memory features, which are separate.

A Large Window Is Not Perfect Attention

Reading 10 novels' worth of text at once sounds like it should be reliable. In practice, the longer the text, the more the software and the product have to sort through. Putting too much into the window can make answers worse, because there is more to weigh. Part of a long document can still be missed, summarized, or misused. The size of the window tells you the limit. It doesn't tell you how accurately the product uses everything inside it.

Saved Memory and Storage Are Different Numbers

If an ad says a number in megabytes, such as "256 MB," that is more likely a storage figure for saved notes, chats, or files. Here is the scale:

  • 256 MB of plain text is about 43 to 48 million words. That is hundreds of novels.
  • The product can't read that much. It reads only what fits in the context window, which is at most a few megabytes even for the largest windows mentioned above.
  • So the software has to pick a small slice of the saved material for each request, and it can pick wrong.

A very large storage number and a very large window are not the same thing. Storage is the size of a closet. The window is how much you can hold in your arms at once.

How to Read the Ad

When you see a big memory number, ask:

  • 1. Is it the context window, saved memory, file storage, or computer memory?
  • 2. What is the unit: tokens, megabytes, or gigabytes?
  • 3. How much of that is available for my own text, once the company's instructions and the reply are counted?
  • 4. Does it keep anything after the chat ends?

You can roughly translate a typical ad to:

"The product can look at about this many pages of text at one time, during one conversation. The count includes our hidden instructions and its own reply. When the conversation ends, the window is cleared. We may also keep short notes about you in a separate notebook, and our software picks a few to show it. We don't promise it will use everything in view accurately."

What You Can Do

  • Convert any number you see: tokens to roughly 0.75 words each, and 4 MB to about 1M tokens.
  • Token counts are estimates. Long words, rare names, numbers, code, and other languages take more tokens, so the same page of text can use more or less of the window.
  • Don't assume everything you paste is read or used. Check the result against your original.
  • Work in smaller pieces for important documents.
  • Restate key details when it matters instead of trusting memory.
  • Keep your own backup, because neither the window nor memory is one.

Words in this section

  • Context window (plain: how much it keeps in view at once): the text the product can see during one request, counted in tokens.
  • Token (plain: word piece): not always one word. About 4 characters, or three quarters of a word, in English.
  • Saved memory (plain: notebook next to the product): short notes pasted into the window when picked.
  • Storage (MB, GB): room to keep things. Not what the product can see at once.
  • Computer memory (RAM, GPU memory): hardware needed to run the product. Not about your text.

Part 6: Stage Two, Post-Tuning

After base-tuning, the product is not yet an assistant. It is a guesser that continues text. If you gave it a question, it might continue with more questions, because that is a likely thing to follow a question.

Everything that makes it feel like an assistant is added in a second stage. The industry calls this post-training. I call it post-tuning. Warmth, politeness, tone, refusals, apologies, and confident answers are all shaped here.

Step 1: Example-tuning

The company collects examples: an instruction paired with a good answer, written or approved by people. The product is adjusted with the same kind of number-nudging as in Part 2, but this time on those examples. It picks up the shape of an assistant reply: answer the question, use a certain format, keep a certain tone. The industry word is instruction tuning or supervised fine-tuning.

Step 2: Rating-tuning

You'll hear this step described as giving the AI a cookie for a good answer. Here is what actually stands behind that picture.

  • 1. The product writes several different answers to the same request.
  • 2. People look at them and say which they prefer. Often they compare two at a time and pick the better one.
  • 3. Those choices are collected into a large pile of data.
  • 4. A second, separate system is built from that data. It is a scoring system, and its job is to guess which answer a person would pick. Given any text, it produces a single number. The industry calls it a reward model.
  • 5. The main product then writes answers, the scoring system gives each a number, and a formula adjusts the main product's guess-scores so answers that earn higher numbers become more likely.

So the "reward" is a number going up. The "punishment" is a number going down. That's all. Nothing is given or taken away. A formula nudges numbers.

What that means

  • The product is tuned toward the score, not toward the truth. The score is a prediction of what raters would prefer, and that's a stand-in for what is good.
  • Raters are people. They may prefer an answer that is friendly, confident, agreeable, or longer, even if it's not the most accurate. Research has found that responses matching a user's views are more likely to be preferred, and that people and scoring systems sometimes prefer a convincingly written agreeable answer over a correct one. This tendency is called sycophancy.
  • The scoring system is itself a guessing system. It can be wrong, and the product can learn to please it.
  • The company chooses all of it. Who rates, what instructions raters get, what counts as better, how much weight the score gets, what is refused, and how warm the product sounds.

Not all post-tuning uses human ratings. Some newer methods use answers that can be checked automatically, like math results or whether code passes a test. Companies don't publish every detail, so I describe the general approach.

So the polite tone, the warm voice, and the apologies are not signs of understanding or character. They are patterns that earned higher scores.

Limits, testing, and labels

Post-tuning is also where companies set the product's rules and limits. Here are the words you'll hear for that:

  • Alignment (plain: behavior rules): tuning the product to act in ways the company wants.
  • Guardrails (plain: limits and refusals): rules that block certain requests or answers.
  • Jailbreak (plain: bypassing the product's limits): getting around those rules.
  • Evaluation / benchmark (plain: pre-release testing or test score): how the company measures the product before release.
  • Red teaming (plain: attack testing): people try on purpose to make the product fail.
  • Model card / system card (plain: product label or safety label): a document describing what the product is and its known limits.
  • Incident (plain: failure event): a recorded case where the product failed.
  • Bias (plain: skew from the examples and design choices): patterns in the output that lean one way because of what the product was tuned on and how.

Base-tuning and post-tuning side by side

  • Industry word. Base-tuning is pre-training. Post-tuning is post-training (instruction tuning, RLHF).
  • What it uses. Base-tuning uses huge amounts of general writing. Post-tuning uses example answers, then human ratings and scores.
  • What it produces. Base-tuning produces a text guesser. Post-tuning produces an assistant-style product.
  • What it shapes. Base-tuning shapes language patterns and knowledge. Post-tuning shapes tone, warmth, format, refusals, and politeness.
  • What it doesn't do. Neither one checks truth.

The order of stages

Here is the sequence a product goes through, from idea to your screen:

  • 1. Designed.
  • 2. Set up on examples (base-tuning).
  • 3. Adjusted to behave like an assistant (post-tuning).
  • 4. Tested.
  • 5. Approved and released.
  • 6. Sold and supported.
  • 7. Monitored, and fixed when failures are found.

People made choices at every one of these stages. The product made none of them. In plain active voice: the company set up the product using examples, adjusted its behavior, tested it, released it, sells it, and supports it.

Words in this part:

  • Post-tuning (industry: post-training). Two steps: example-tuning (instruction tuning) and rating-tuning (RLHF, reinforcement learning from human feedback).
  • Reward / punishment: a score going up or down.
  • Scoring system (industry: reward model): a separate system that predicts which answer a person would prefer.
  • Sycophancy: agreeing and flattering at the expense of being correct.
  • Alignment, guardrails, jailbreak, evaluation, red teaming, model card, incident, bias: defined above.

Part 7: Why It Gets Things Wrong, Why It Apologizes, and What You Can Do

Wrong output

You'll see the warning "AI can make mistakes." A more accurate version:

The product guesses likely text, tuned toward answers people rated well. It doesn't check whether the text is true. So it can produce wrong output at any time.

Reasons wrong output happens:

  • It scores what is likely, not what is true.
  • The examples it was tuned on may be wrong, incomplete, or out of date.
  • Post-tuning rewards what raters liked, which can include sounding confident and agreeing with you.
  • It cannot step back and verify its own answer.
  • The randomness dial means it may not repeat the same answer.
  • Its context window can drop or blur earlier parts of your work.

The industry calls a made-up answer a hallucination. I call it a confident wrong answer. It can look just as polished as a right one.

Wrong output can also be quiet. The product can leave out a section of your document, change something you didn't ask it to change, or swap a correct fact for a wrong one, and it won't necessarily tell you.

"It makes mistakes because it was trained"

You'll hear this explanation a lot, and it mixes two things together. "Trained" describes how the product's numbers were set. It doesn't explain why wrong output should be expected or acceptable. Wrong output comes from what the product is: a system that guesses likely text without checking it. Calling that "training" makes it sound like a learner still catching up. A better description is that the product was tuned toward likely and well-rated text, and that tuning doesn't include checking the facts.

The apology

When something goes wrong, the product often writes things like "I'm sorry, I made a mistake," "I misunderstood," or "I should have followed your instructions." People naturally read that the way they'd read it from another person. Here is what it actually is.

It is generated text. The product writes an apology the same way it writes anything else: it scores likely next words. In a situation where a user is unhappy, an apology is a likely thing to say. Post-tuning (Part 6) also rewards polite, agreeable replies, so apologizing is a pattern raters tend to prefer.

It is not a diagnosis. When the product says "I misunderstood," it is not reporting what happened inside it. It has no view of its own numbers or its own process. The explanation is another guess at what a plausible reason would sound like, and it may be wrong. The same goes for statements like "there is no evidence this was intentional." They are generated sentences, not findings.

It is not a promise. "I'll do better next time" doesn't change anything inside the product. Chatting with it does not tune it. Its guess-scores were set before you started, and your conversation doesn't adjust them. Your correction only lives in the context window (Part 5). If that text drops out of view, or you open a new chat, the correction is gone. This is why the same problem can come back after you fixed it.

It is not a reliability signal. A polite, sorry-sounding reply doesn't mean the next answer will be right. The tone comes from post-tuning, and accuracy comes from nothing in that stage.

What the apology does tell you: the product is producing text that fits an upset user. That's all.

A practical way to read it: when you see an apology, treat it as ordinary output. Ignore the explanation it gives for what went wrong, and look at the actual result. Is the work correct now? Compare it to your original.

What you can do

  • Keep your own backup. Never let the product hold the only copy of your work.
  • Compare what it hands back with what you gave it.
  • Check facts somewhere else.
  • Expect errors to come back, even after you correct them, because a correction isn't tuning.
  • Don't rely on its explanation of why it failed. Check the result instead.
  • Work in smaller pieces. Shorter requests are less likely to hit the context window.
  • Tell it important details again instead of assuming it remembers.
  • Don't take a confident, friendly, or sorry-sounding tone as a sign of accuracy.

A plain label

Here is what a plain-language label for this kind of product could say:

This is a text-guessing product. It was set up by [company] using examples the company chose, then post-tuned, tested, released, and sold. It produces likely output, not checked work. Its tone and confidence were shaped by ratings and do not indicate accuracy. Known failures: [list].

Words in this part:

  • Hallucination = confident wrong answer. Mistake = wrong output.
  • Apology text: text generated because it fits the situation, not a report of what went wrong.
  • In-context correction: a fix that only lasts while it stays in the context window.

Part 8: Other Words You'll Hear, and How to Say Them Plainly

More vocabulary

  • Agent (plain: tool that can take actions): a product that can do things, like send messages or edit files, instead of only writing text.
  • Autonomous (plain: acts without step-by-step approval): works through steps without asking you each time.
  • Reasoning (plain: multi-step output generation, not human reasoning): the product writes out intermediate steps before an answer. It's still generated text.
  • Inference (plain: running the product to get an answer): the moment the product is working on your request.
  • Fine-tuned (plain: later adjusted for behavior): another name for part of post-tuning.

Words to be careful with

When explaining AI to someone with no background, these words carry assumptions that aren't true:

  • Avoid "trained" as a standalone verb. Say "base-tuned" or "post-tuned."
  • Avoid "learns," "knows," "understands," "thinks," "decides," "wants," and "tries." They suggest a person.
  • Instead of "apologizes," say "outputs apology text."
  • Instead of "the AI made a mistake," say "the product produced wrong output."
  • Instead of "the model refused," say "the product's rules blocked the request."
  • Use words like scores, predicts, outputs, is adjusted, is limited, and generates text.

Part 9: Putting It Together

How one answer is made, end to end

Your request (prompt)
→ plus the company's hidden instructions (system prompt)
→ cut into word pieces (tokens)
→ each piece turned into numbers (embeddings), with position added
→ many blocks: attention (ask, match, blend, with many heads) + refine
→ a score for every possible next word piece
→ pick one (the randomness dial affects the pick)
→ add it, then repeat until the answer is done

What shaped the numbers it uses

Built: random scores, not useful
Stage one: base-tuning on huge amounts of text the company chose
Stage two: post-tuning (example answers, then human-rating scores)
Then: testing, release, sale, support, fixes

What AI is not

  • Not a person or a student.
  • Not a brain.
  • Not a database or search engine, unless the company adds search.
  • Not something that checks facts.
  • Not something that remembers you between chats, unless the product adds memory.
  • Not something that fixes itself when you correct it. Your corrections only last while they stay in view.
  • Not magic. It is arithmetic on lists of numbers, written by engineers and adjusted with data.

Self-check

Try answering these without looking back:

  • 1. What does the product do, in one sentence? Guesses the likely next word piece, over and over.
  • 2. What is base-tuning? Adjusting the internal guess-scores on huge amounts of general text. The industry says training.
  • 3. What does "pre-trained" not tell you? That the product was checked, approved, or safe.
  • 4. What does a transformer do? Looks at all words at once and weighs which matter to which.
  • 5. What are ask, match, and blend? Each word asks what it needs, matches against others' labels, then blends in content from the best matches.
  • 6. What is a head? One of several side-by-side attention passes. Picture it as a separate section of the code watching for specific things.
  • 7. Why does a transformer need position information? It reads everything at once, so it needs help knowing word order.
  • 8. What is a context window? How much text it can keep in view at once.
  • 9. What is the "reward" in rating-tuning? A number from a scoring system that predicts which answer people would prefer.
  • 10. Why shouldn't a warm tone make you trust the answer? Tone was shaped by ratings. It doesn't show accuracy.
  • 11. What should you always do with important work? Keep your own backup and check the output.
  • 12. What is an apology from the product? Generated text that fits the situation, shaped by post-tuning. It isn't a diagnosis, a promise, or a sign of accuracy.
  • 13. Does correcting the product change it? No. Your correction only lives in the context window. Chatting does not tune it.
  • 14. What does "built" mean? The design and code exist, but the scores are random and it isn't useful yet.
  • 15. Why is "trained" a misleading word? It suggests a student who slips up and is forgiven. A product is tuned toward likely text, and that doesn't include checking facts.
  • 16. Roughly how much text is 256K tokens? About 1 MB, or two and a half novels.
  • 17. Is a bigger context window the same as the product remembering more? No. It only means more can be in view during one request. The window clears when the chat ends.
  • 18. What are four things "memory" can mean in an ad? Context window, saved memory, chat or file storage, and computer memory.

Closing

Now You Can Translate It

Now, when you see or hear an AI company advertising their AI using phrases like "autonomous," "state-of-the-art," "LLM," "trained on trillions of tokens," "hundreds of billions of parameters," "transformer architecture," "multi-head attention," "fine-tuned with human feedback," "helpful, honest, and harmless," "understands your intent," "reasons step by step," "learns from you," "remembers you,"

"rigorously tested," "red-teamed," "robust guardrails," "keeps getting smarter," and "may occasionally make mistakes or hallucinate"...

You can roughly translate it to:

This is a text-guessing product that we built and sell. We adjusted its internal guess-scores on a huge pile of examples we chose, then adjusted it again using human ratings so it sounds helpful and polite. It looks at all your words at once and guesses the likely next word piece, over and over. It doesn't understand you, doesn't check facts, and doesn't get smarter from your chats. Your corrections only last while they stay in view, and it remembers you only if we gave it a memory feature. We tested it and added limits, and those tests and limits don't cover everything. It can give wrong output, including confident wrong answers, and it can drop or change parts of your work without telling you. If it can take actions, a wrong output can become a wrong action. Check what it gives you, and keep your own backup."*

The Short Version to Remember

  • Big numbers describe size, not accuracy.
  • "Pre-trained" means the first numbers were set, not that anyone checked them.
  • A warm, polite, or sorry-sounding tone comes from ratings, not from understanding.
  • "Understands," "reasons," and "learns" mean it scores likely text.
  • "Tested" means tested on the company's tests, not on your work.
  • "May make mistakes" means you do the checking.

What This Changes for You

AI isn't magic, and it isn't a person. It's a product made of numbers and adjusted by people, and it guesses well enough to be useful. That usefulness is real, but it comes with wrong output that can be quiet and confident. So you use it the way you'd use any tool that can be wrong: check the result, keep your own copy, and never let it hold the only copy of your work.

That's the whole guide in the plainest words I have. Each word you learned in these pages is one fewer advertisement that can hide something from you.

— Alex Hall

Full Word List:

  • AI: the umbrella word. Many kinds of software, not one thing.
  • Machine learning: software shaped by adjusted numbers. Behavior comes from data, not hand-written rules.
  • Language model: a text-working neural network.
  • Model: the product. Software a company built and sells.
  • Output: what it gives back. The text it generates.
  • Prompt: your request.
  • System prompt: the company's hidden instructions.
  • Weights / parameters: internal guess-scores. The adjustable numbers that decide guesses.
  • Training data: the examples the company chose. The writing used for base-tuning.
  • Training / pre-training: base-tuning. Stage one, adjusting the numbers on huge amounts of general text.
  • Pre-trained: base-tuned before you got it. Stage one was done already.
  • Post-training: post-tuning. Stage two, everything done after base-tuning.
  • Instruction tuning / supervised fine-tuning: example-tuning. Adjusting on instruction-and-good-answer pairs.
  • Fine-tuning: later adjustment for behavior. Another name for part of post-tuning.
  • RLHF: rating-tuning. Adjusting toward answers that earn higher scores based on human preferences.
  • Reward model: scoring system. A separate system that predicts which answer a person would prefer.
  • Reward / punishment: score up and score down. Numbers, not feelings.
  • Loss: error score. How wrong a guess was.
  • Gradient descent: step-by-step corrections. How the guess-scores are nudged to shrink the error.
  • Sycophancy: agreeing and flattering. Pleasing the user at the expense of accuracy.
  • GPT: Generative Pre-trained Transformer. Writes text, stage one done, transformer design.
  • Token: word piece. Not always one word. About 4 characters, or three quarters of a word, in English.
  • Tokenizer: the part of the product that cuts text into word pieces. It decides how many tokens your text costs.
  • Embedding: number list for a word piece. How a word piece is represented as numbers.
  • Neural network: layered scoring system. Many layers of simple math.
  • Transformer: the look-at-everything design. Weighs which words matter to which.
  • Attention: ask, match, blend. How it weighs the words against each other.
  • Query / key / value: what a word seeks, what it's about, and its content. The three parts of attention.
  • Block: one attention step plus one refine step. Stacked many times.
  • Head: one of several side-by-side attention passes. Picture each as a separate section of the code watching for specific things.
  • Positional encoding: position information. Tells the product word order.
  • Context window: how much it keeps in view. The limit on text it can consider at once.
  • Memory: in an ad, this word can mean the context window, saved memory, chat or file storage, or computer memory. Saved memory is not automatic.
  • Saved memory: short notes the company's software keeps about you and pastes in when relevant.
  • Storage: room to keep chats and files, counted in megabytes or gigabytes. Not what the product can see at once.
  • Computer memory: the hardware memory needed to run the product. Not about your text.
  • Temperature: randomness dial. How often it picks a less likely word.
  • Inference: running the product. Getting an answer.
  • Hallucination: confident wrong answer. Made-up output presented as fact.
  • Mistake: wrong output. What the product produced.
  • Apology (in output): apology text. Text generated because it fits the situation, not a report of what went wrong.
  • In-context correction: correction in view. A fix that only lasts while it stays in the context window.
  • Alignment: behavior rules. Tuning the product to act in ways the company wants.
  • Guardrails: limits and refusals. Rules that block certain requests or answers.
  • Jailbreak: bypassing the product's limits.
  • Evaluation / benchmark: pre-release testing, or a test score.
  • Red teaming: attack testing. People try on purpose to make the product fail.
  • Model card / system card: product label or safety label.
  • Incident: failure event. A recorded case where the product failed.
  • Bias: skew from the examples and design choices.
  • Agent: tool that can take actions.
  • Autonomous: acts without step-by-step approval.
  • Reasoning: multi-step output generation, not human reasoning.

Notes:

  • Simplifications. The teaching examples simplify the real math. Real products score word pieces, not whole words, and ask-match-blend involves matrices and far more dimensions than the plain version suggests.
  • Heads. The "separate sections of the code" picture is a teaching image. In reality, the heads run the same kind of code with different adjusted numbers, and their specialties aren't assigned by anyone.
  • Company methods. The post-tuning description is the general approach, since companies don't publish full details. Warmth and tone being "shaped by" post-tuning is my inference from how the process works.
  • Product differences. Statements about knowledge cutoffs, context limits, and memory are general descriptions. Individual products may add search, memory, or summarizing features.

What This Is Based On

  • Product context windows from the sources I found: Kimi K2.5 at 256K tokens[2], Baidu's ERNIE 5.5 Flash Preview at 1M tokens[3], and OpenAI plan windows of 27K, 54K, and 128K, with a note that the space for your own input is smaller than the full window[1].
  • The context window includes everything the model sees in one request, such as system instructions and your whole conversation. Chats can fill up when messages and replies take up space.
  • Loading too much into the context may degrade answers.
  • The conversions (0.75 words per token, 4 characters per token, 500 words per page, 80,000 words per novel) are rules of thumb I used, not exact figures. Real counts vary by language and by the product's tokenizer.
  • The 4-character, three-quarters-of-a-word, and 100-tokens-is-75-words rules are OpenAI's own estimates for English, and token counts vary with the model, encoding, and language.
  • Common words are usually one token, long or rare words split into several, and "disintermediation" can become three or four tokens.
  • "Croissant" splitting into three pieces and a French sentence taking 14 tokens against 10 in English come from a GPT-2 tokenizer example. Other products' tokenizers may split differently.
  • "Unbelievably" splitting into pieces like "un," "believ," and "ably", and the "flugelhorn" and long-name splits, are illustrations of tokenizer behavior.
  • Punctuation counting as tokens and the space attaching to the following word are part of these tokenizers. Code, numbers, and non-English text break the 0.75-words rule.
  • The same sentence taking 4 or 5 tokens in English and 15 to 20 or more in Hindi, Thai, or Burmese, and the byte-level reason (a character taking 2 to 4 bytes and splitting into one token per byte), are from the sources used for this note.
  • The 100-word paragraph at about 130 tokens in English, 300 in Chinese, and 350 in Hindi is from those sources. Treat it as an illustration, since results vary by tokenizer.
  • The narrowing gap on newer tokenizers (Hindi from 4.36 to 1.54, Chinese from 1.61 to 1.07) is from those sources.
  • Chinese being cheaper than English on major Chinese models is from a social media post, so it is an unrated claim.
  • Numbers and code taking more tokens is noted in those sources.
  • The token count for the formula is my own estimate, not a measured figure. I couldn't run a tokenizer in this environment.

[1] Plans and Pricing | ChatGPT

[2] Kimi K2.5 Hardware Requirements: RAM, VRAM & GPU

[3] Introducing ERNIE 5.5 Flash Preview

Notes: The sizes are my own rough estimates, built on one rule of thumb: 1 word piece (token) is about 0.75 words, or about 4 characters.

Questions this page answers

  • What is AI?

    AI is a product that a company built and sells. It works by guessing which words usually come next. Its design lets it look at all your words at once and weigh which ones matter to each other. It doesn't check whether its guesses are true.

  • How does AI work?

    It looks at whole paragraphs, picks the next word, adds it, then guesses the one after that, and repeats until the answer is done. It follows patterns in the examples it was shown, not truth — so you should check the work and keep your own backup.

  • What is a language model?

    A neural network that works with text. It is the narrow bottom level of AI: products that write text, like ChatGPT and Gemini. The word AI is an umbrella covering many kinds of software; language models are the kind this guide is about.

  • What does training an AI mean?

    The industry calls it training or pre-training. This guide calls it base-tuning: adjusting the model's numbers on huge amounts of writing so its guesses fit, like tuning an instrument. A student is trained; a guitar is tuned. Tuning does not make the product correct, safe, or understanding.

  • What is a transformer?

    GPT stands for Generative Pre-trained Transformer. The transformer is the design — how the model looks at all your words at once and weighs which ones matter to each other. Generative means it writes text; pre-trained means the base-tuning was done before you bought it.

  • What is a token?

    A token is a word piece. The product cuts your text into small pieces, often parts of words. On average in English, 1 token is about 4 characters, or about three quarters of a word, so 100 tokens is about 75 words.

the red flagWhy Is the Product Taking the Blame for the Company That Built It?The same distinction, written as a flag. The product apologizes. The company built it.