watch a language model learn to write
A real one, training in this tab, from random numbers to words.
its writing, untrained
…
a recorded run, after 6,000 steps
The Log deather and a ungraing him the seizes. A feart her for and in when own his you had chins treies, the Lion et and him had…
one token at a time
Every token it writes is one full trip through the model.
split into tokens
The text is cut into tokens: whole words or pieces of words. The newest one, “was”, makes this trip.
turn it into numbers
Each token becomes a list of 2,304 numbers. At first they only say which token it is.
run the layers
Each of 24 layers adds a little to those numbers. Layers 7 to 18 run three times, so a token gets 48 layer steps.
score every next token
The final numbers become a score for each of about 200,000 tokens, turned into chances that add up to 100%.
pick one and go again
It picks one, usually from the top few, adds it to the text, and the whole trip starts over.
every layer does two jobs
First it looks around, then it applies what it knows.
Each token pulls in what it needs from the tokens before it. Here “it” draws most on “dog”.
That’s how the model keeps track of what “it” means. The shares are an example.
Each layer holds 128 small specialist networks. A chooser picks the 8 that fit this token.
So Inkling-2-Mini holds 26 billion numbers but uses about 3.4 billion per token.
it learns by guessing
A new model is random numbers. Training repeats one loop over trillions of tokens.
from reader to assistant
Two more rounds teach it to answer.
Asked: What’s the capital of France?
reading
It continues the page.
It replies: What’s the capital of Spain? What’s the capital of…
example conversations
It learns to answer.
It replies: Paris.
practice with rewards
It learns to reason first.
It replies: thinking it through… Paris.
train one yourself
The same loop, on Aesop’s fables.
- step
- 0
- letters read
- 0
- how wrong
- 4.17
its writing as it learns
next letter after and th
this one next to a real one
The same design and the same loop. The difference is size.
28,576
numbers in the model in this tab
26 billion
numbers in Inkling-2-Mini
| Measure | this tab | inkling-2-mini |
|---|---|---|
| layers | 2 | 24, the middle 12 run three times |
| tokens it knows | 65 letters and marks | about 200,000 word pieces |
| text read | 0 letters so far | tens of trillions of tokens |
| trained on | this browser tab | hundreds to thousands of data-center GPUs |
Text read and hardware are typical for a model its size.