Embeddings: where similar ideas learn to live near each other
Building Blocks · Part 3
Vectors gave every idea an address. Embeddings are what happens when a model chooses those addresses on purpose, so that meaning has geography.
Read entryFig. I — Filed by category
Machine learning from first principles: tensors, gradients, training, model architectures, and practical experiments.
26 meditations filed under Machine Learning. Back to all categories orthe full archive.
Building Blocks · Part 3
Vectors gave every idea an address. Embeddings are what happens when a model chooses those addresses on purpose, so that meaning has geography.
Read entryBuilding Blocks · Part 2
Part 1 gave you the dials. This one gives them something to act on.
Read entryBuilding Blocks · Part 1
Every model you've ever used is, underneath, a very long list of numbers. Here's why that turned out to be the winning design.
Read entryBuilding Blocks · Part 0
Somewhere between "it's just predicting the next word" and a hundred-billion-dollar training run sits an actual mechanism.
Read entryTraining a capable model is only half the battle. The model that comes out of pretraining or fine-tuning is almost never the model you actually want to ship.
Read entryQuantization · Part 4
Everything in this series so far has been post-training quantization: take a finished model, compress it, hope the damage is small.
Read entryQuantization · Part 3
Open any popular model's page on Hugging Face and you'll find the GGUF listings: Q4KM, Q5KS, Q6K, Q80, IQ2XS — a wall of cryptic suffixes, each a different point on a size-quality curve, downloaded millions of times by people running models on gaming PCs an…
Read entryQuantization · Part 2
Here's a puzzle that stumped the field around 2022. Quantization recipes that worked beautifully on small language models — clean INT8, minimal quality loss — fell off a cliff on big ones.
Read entryQuantization · Part 1
Every series I've written so far has bumped into quantization from the side — QLoRA compressing frozen bases, the optimization guide's memory math, GGUF files on Hugging Face with cryptic suffixes.
Read entry