Apex › Storage & databases

How word embeddings work (word2vec)

How words become vectors where meaning is geometry — the representation underneath semantic search, recommendations, and the input layer of every language model. Trained so words in similar contexts get similar vectors, with a startling result: relationships become consistent directions, so king − man + woman ≈ queen. A 2-D illustration (real embeddings use hundreds of dimensions), verified: all four analogies land on the expected word and the gender direction is parallel across pairs. Pick an analogy and watch a − b + c land on its nearest word.

More in Storage & databases