01Chapter 01 of 09· 6 min · How we got here
Introduction
When you ask a chat tool a question, the answer appears one piece at a time. That is not a person typing behind the screen. It is a program choosing the next small piece of text, adding it, then choosing again until the reply is finished.
Those small pieces are called . A is usually a word or part of a word. The program does not write the whole answer in one decision. At every step it asks one question: given everything so far, what comes next?
- 1. Look
- 2. Pick
- 3. Add
- 4. Repeat
Question
What did Sam do with the apple?
Reply so far
waiting for the first token█
For a long time, computers only did what people spelled out in rules: if this happens, do that. That works for math and simple forms. It does not work well for ordinary language, because there are too many ways a sentence can go.
Around 2012, a different method started winning for pictures. Instead of writing rules for “this is a cat,” researchers gave computers huge collections of photos and let them practice guessing. Language work followed. By the mid-2010s, programs trained to guess the next word were already useful for translation and search.
In 2017, a design called the made that practice scale. Its main tool is : when the model picks the , it can look at every earlier in the same step and decide which ones matter most. Those that matter most are the earlier words that most change what should come next — in “Sam ate the apple because it looked good,” “apple” matters more than “the.” Current large language models are built on that design.
After that, the models got much larger and practiced on much more text. They began to follow instructions, write code, and hold a conversation. The chat tools you use still run one loop:
- Look at the so far — your question plus whatever the model has already written.
- Pick the .
- Add it to the reply.
- Repeat.
What looks like reasoning, tone, or a refusal is that loop after a huge amount of practice.
People still shape the result. Early practice uses books, code, and public web text. That teaches the model how language usually goes. Later practice uses example answers, scores, and comparisons written by people. That later work is the work this guide is about. It changes which next the model prefers when it talks to a user.
This guide walks through the loop in order, then shows how annotator labels change it.
Quiz
5 questions
Before moving forward, test your knowledge of what you’ve just learned!
1.Large language models in use today mainly:
2.The last ten years of language AI were shaped by:
3.Chat products you use:
4.Your labels:
5.Attention, in this guide, is:
0 of 5 answered
1 / 9