What the hack is LLM?
A no-jargon, beginner-friendly walkthrough of how large language models actually work — from tokens and embeddings to transformers and training. Written while learning, explained for humans.
The whole picture, without the hand-waving
Four ideas, once you have them, everything else is just details.
You don’t need another API wrapper tutorial.
You need to actually understand the thing you’re talking to. Here’s why the rabbit hole is worth it.
It's not as hard as the internet says.
Once you see what a transformer actually does, the mystique evaporates. We pull apart the moving parts piece by piece.
You can't use what you don't understand.
Prompting, fine-tuning, evaluating — every practical skill is built on a mental model of what's happening under the hood.
The field changes; the foundations don't.
Models come and go. Tokenization, attention, sampling, training loops — these ideas stick around longer than any specific release.
From zero to “oh, that’s how it works”
A rough map of the chapters. Each one ends with a working piece of the model and a clear explanation of why it matters.
- Ch. 1
Tokens & embeddings
How text becomes numbers a model can chew on.
- Ch. 2
The transformer block
Attention, layer norm, MLPs — the engine room.
- Ch. 3
Putting it together
Stacking blocks, sampling outputs, generating text.
- Ch. 4
Training & fine-tuning
Loss, gradients, and teaching an old model new tricks.
Ready to peek under the hood?
The first chapter is short, visual, and assumes nothing. By the end of it, you’ll have run real code that processes tokens like a real LLM.
Open the docs