Codele / Machine learning: one neuron to deep learning
Embeddings: meaning as numbers
A computer sees words as letters. Give every word a list of numbers, so that similar words get similar numbers, and “how alike?” becomes “how close?”.
- An embedding gives every word a list of numbers, so a computer can work with meaning.
- Similar words get similar numbers. On a map, they sit close together.
- “How alike are two words?” becomes “how far apart are their numbers?”. Straight-line distance does the job.
- Our map has 2 numbers per word, placed by hand. Real embeddings have hundreds of numbers, learned from text.
Loading the playable lesson…