What is Word embedding?
In Turkish: Sözcük gömmesi (Word2Vec) · Topic: Models and training
A way of turning words into lists of numbers (vectors) so that words with similar meanings end up close together. Word2Vec, introduced by Google researchers in 2013, popularized the idea.
How does it work?
The method learns meaning from a word's surroundings. Across a huge body of text, the model tries to predict a word's neighbors from the word, or the word from its neighbors, and each word's list of numbers is adjusted along the way. Words that appear in similar contexts end up with similar vectors, so they sit near each other in the vector space. In a famous example, “king” minus “man” plus “woman” lands near “queen”. Word2Vec gives each word a single vector regardless of context.
Why does it matter?
Embeddings let computers measure relationships between words numerically and became a foundation for search, recommendation and translation systems. Token embeddings in modern language models continue the same idea, but they are sensitive to context. Understanding them is a first step toward understanding semantic search and retrieval-augmented systems.
Example
In a trained embedding space, “doctor” and “physician” sit close together, while “doctor” and “bicycle” are far apart.
FAQ
How do Word2Vec and today's embeddings differ?
Word2Vec assigns one vector per word, so the different meanings of a word like “bank” are blended into one vector. Current language models produce a different vector for a word depending on the sentence it appears in.
Is an embedding the same as tokenization?
No. Tokenization splits text into pieces and numbers them. An embedding then attaches a meaning-carrying vector to each of those pieces.