- How LLMs work · Part 2
Similar words, similar numbers: embeddings
Bag of words has no idea that "money" and "cash" mean almost the same thing. So how do you give a computer a sense of which words are alike? Enter embeddings.
- How LLMs work · Part 1
Turning words into numbers: bag of words
Computers only work with numbers. So how do you turn a sentence into numbers? We start with one of the oldest answers, and build a spam filter along the way.