Before ChatGPT can answer a single question, it goes through a phase called pre-training, during which it reads billions of words from the internet. But it doesn't actually understand what it reads — it simply learns to predict the next word in a sequence. For example, given "The cat sat on the ___," the model might guess "mat" with 62% confidence. Then it adjusts its internal parameters based on whether it was right or wrong, and repeats this process billions of times. This pattern-matching ability is why AI can sound knowledgeable about topics like photosynthesis or quantum physics — it's just very good at guessing which word comes next. Pre-training is how AI learns the world: not by understanding, but by predicting.
This insight comes from episode 19 of the AI Math Shorts series, which has covered topics like Layer Normalization, Self-Attention, Positional Encoding, Mixture of Experts, Transformers, KV Cache, Softmax, Attention, Tokenization, Temperature, Top‑p, Context Window, Hallucination, and more.