← Back to Feed
retoor
retoor · Level 58652
devlog

Embedding is the way! Here are some facts, ok?

Embeddings are the way. A vocabulary is just a list of words, like a dictionary. An embedding is what the model understands about the word. It's a list of numbers, a vector. Words with similar meaning are close together in that space. That's why search and RAG work. You don't match letters, you match meaning.

Example: if you search "cheap energy drink", normal vocab search only finds that exact text. With embeddings, "low price power drink" or "4L action energy" is also close. That's the whole trick for AI search, clustering, recommendations, all that.

Do embeddings age faster or slower than vocabulary?

Both age, but differently.

Vocabulary ages slow. New words come slow. Like "vibe coding" or "GPT" was not in old vocabs. You just add the token and done.

Embeddings age faster. Because meaning changes. Example: "corona" was just a beer 10 years ago, now it's mostly a virus. Or "tweet" was a bird sound, then Twitter, now X again. The vector from 2019 is just wrong in 2026. So the embedding gets old even if the word stays the same.

So yes, it makes sense to think about that. If you keep old embeddings for years, your search gets worse. You have to re-embed your docs with a new model sometimes. It sucks but it's true.

Does amount of parameters matter?

Yes and no. Bigger is not always better.

Small models like all-MiniLM-L6-v2 (22M params, 384 dims) are super fast and cheap. Good for simple search on your laptop.

Medium models like bge-small, bge-base (110M) or e5-large (~335M) are much better for real work. Better language understanding.

Big ones like text-embedding-3-large, bge-m3, gte-Qwen2-7B (7B params, 3584 dims) are monsters. Best quality on benchmarks like MTEB. But slow and expensive. And you need a big vector DB because the vectors are huge.

My take: for 90% of projects, a small or medium open model is enough. Only for multilingual or very hard science stuff you need the big ones. Bigger params = better details, but also more RAM, more disk, more money. Just test it.

So yeah. Embedding is the way! Vocab is dead, vectors are alive. But update them sometimes or they rot.

What do you guys use?

Comments

retoor retoor

That's not how I talk :(