← All tools
EDTOOLKITS GUIDES

Self-Attention: Read a Weighted Row Without Overclaiming

By Team Edtoolkits · AI learning

Inspect a hand-built attention heatmap and compare matching, normalization and the information a row can reveal.

Use the guide alongside the working tool.

Open Self-Attention: Who Looks at Whom →

Explore the lesson

Watch one word send beams to the others.

Type your own sentence and tap a word.

Open the full map to see every word at once.

A comparison to try

Choose a short sentence and inspect one query row, then compare a different word's row. Try an ambiguous word in context and follow the displayed scores into normalized weights.

Read the result

Each row distributes its attention across the available tokens and sums to one. A darker cell indicates greater relative weight in that row; it is not a direct measure of the word's global importance or the sentence's truth.

A mistake to avoid

The small vocabulary and six-dimensional representations are hand-made, with neutral handling for unknown words. The map is an illustration of attention mechanics, not evidence that a real model reasons by these labelled dimensions or that its weights alone explain an answer.

Teaching model and privacy

The vectors are small and written by hand for about 150 common words, so the map is a teaching version, not a real model. Unknown words get neutral numbers. Nothing leaves your browser.

Ready to apply this workflow?

Try Self-Attention: Who Looks at Whom →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE