PCA map of the live word vectors
Loss and analogy accuracy

Skip-Gram Word2Vec (2D): Live Embedding Map, Loss and Analogy Arrows

Train a skip-gram word2vec model with negative sampling live in your browser on a small synthetic corpus of royalty, animals, food, cities and countries. Watch the word vectors drift from random noise into clusters inside a Blender-built glass-frame display, change the dimension, window, number of negatives and learning rate, and test analogies such as man : king :: woman : queen with vector arithmetic and cosine similarity. Numerical checks of the gradients, PCA and sampling are built in.

Made with 🟠 Blender