By Team Edtoolkits · AI learning
Compare hand-placed vector arithmetic with the approximate relationships found in learned embeddings.
Use the guide alongside the working tool.
Open Word Vectors (word2vec) →Explore the lesson
Watch words settle on a map and an arrow carry man to woman.
Pick three words and do the arithmetic yourself.
Flip the memory card and answer the quick check.
A comparison to try
Try king minus man plus woman, then a capital-country example. Follow the resulting point and compare the ranked nearest words, excluding the input words from the candidate answers.
Read the result
The arithmetic subtracts one coordinate vector and adds another; the closest remaining word becomes the suggested analogy. The same geometric operation can describe a relation only when the space encodes that relation usefully.
A mistake to avoid
Fourteen words were placed by hand in two dimensions so these examples line up. Real word2vec coordinates are learned and analogies are approximate, incomplete and sometimes biased. A tidy arrow does not prove universal linguistic structure or factual correctness.
Teaching model and privacy
A teaching version: fourteen words placed by hand on a flat 2D map so the arrows line up. Real word2vec vectors have hundreds of learned numbers and analogies work only roughly. Everything runs in your browser.
Ready to apply this workflow?
Try Word Vectors (word2vec) →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.