🔎Sparse Vector
Also known as Sparse Embedding, Sparse Retrieval, Lexical Vector
A long list of numbers, mostly zeros. Each slot stands for one word.
Think of it like
It is like a huge egg box with eggs in just a few cups.
Example
A support bot gets the code "E-404". A sparse vector finds the one manual page with that exact code, where a dense vector drifts to error pages in general.
Why it matters
Definition
Common mistake
Key takeaways
- 1Mostly zeros. Only the text's words get a value.
- 2One slot per word. Slots map to a vocabulary.
- 3Exact matches. Strong on names and codes.