Mind Map: The Sentence You Type Is Not What the Model Reads
Nine entries in the vocabulary could not survive being typed. The bug was invisible for weeks because the output looked completely reasonable.
Loading
Project 03 · A ten-part field notebook
A real BERT encoder runs in your browser, and its attention becomes a diagram you can interrogate. Read the tokenizer, the forward pass, the measurement crisis and the negative result — in the order they became understandable.
Nine entries in the vocabulary could not survive being typed. The bug was invisible for weeks because the output looked completely reasonable.
Three matrices, one dot product, one softmax. The row always sums to 1 — which is a constraint the model must satisfy, not a finding it reports.
Choosing the most confident head picked a positional one every time. It reported “it → was, 0.962” — the answer that head gives for every word in every sentence.
Naive int8 held attention parity at 2.97e-2 — thirty times worse than the bar. Where you spend precision is the whole engineering story.
The word-embedding table is 31,254,528 bytes. A twelve-word sentence needs about 20 KB of it. HTTP Range makes that the only part that travels.
A median 24% of every displayed row had already been deleted before you saw it. In the worst case, 95%. The arithmetic was right the whole time.
Every rollout row in the sentence sits between 0.935 and 0.971 normalized entropy. That is a uniform distribution wearing a ranking, and it shipped as the default view.
I wrote the code and the tests from the same wrong idea, and they agreed with each other perfectly. Everything was green.
It halves the problem and does not dissolve it. [CLS] carries 0.63× the value norm of a content token — not the near-zero the paper reports. Four layers is not twelve.
Swap the one adjective that decides what “it” refers to. A reader's answer flips. Not one of the sixteen heads changes its winner.
Thousands of particles. Simple rules. Complex life-like behavior emerges on its own.
Built with TypeScript and WebGPU — no structure is programmed, emergence happens naturally from a simple attraction matrix