Summary

A beginner-level explainer of LLM mechanics: next-token prediction as the core operation, tokenization, the three training stages (pre-training, supervised fine-tuning, RLHF), why parameters/weights replace a “database of facts,” and why hallucination is a structural feature rather than a bug. Closes with practical usage advice (rich context, specificity, iteration, verification).

給初學者的 LLM 機制科普文:核心是逐字預測下一個詞元、分詞(tokenization)、三階段訓練(預訓練、監督式微調、RLHF),解釋為何模型沒有「事實資料庫」而是用參數權重儲存知識,以及幻覺(hallucination)為何是結構性特徵而非單純錯誤。文末給出實用建議:提供豐富上下文、具體要求、反覆迭代、務必核實。

Key Points

  • An LLM’s only mechanism is predicting the next token’s probability distribution and sampling from it repeatedly — there is no separate “understanding” module.
  • Tokens (not words/letters) are the model’s actual unit of perception, which explains both context-window/pricing math and odd letter-counting failures.
  • Training has 3 stages: pre-training (predict next token on huge corpus), supervised fine-tuning (learn assistant format from human examples), RLHF (learn human preference ranking).
  • Knowledge is distributed across billions of weights with no localizable “fact store,” making models inherently black-box.
  • Hallucination follows directly from the prediction objective: a plausible-sounding wrong answer is not penalized differently from training data unless explicitly trained against it.

Insights

The “fancy autocomplete” framing is correct but slightly undersells why scale changes behavior qualitatively (in-context learning, instruction-following) — the article skips emergent capability and treats RLHF as purely a “polish” stage rather than the layer that introduces most of the controllability/safety behavior people rely on day to day. Useful as a fast onboarding reference for someone with zero ML background, but should be a starting point, not an endpoint.

Connections

Raw Excerpt

Imagine a giant sound mixing board with 175 billion knobs. Training is the process of nudging every knob a hair at a time until the music (the predictions) sounds right. Nobody can tell you what any single knob “does” — but together they make beautiful music.