Show HN: Model2vec – Lightning-fast Static Embeddings for RAG/Semantic Search

28 pointsposted a year ago
by Pringled

4 Comments

bturtel

a year ago

This seems awesome for enabling RAG queries for on-device LLMs.

jerpint

a year ago

I wonder at what point it will be ~as much overhead to pass through a subset of the data with a small yet capable and fast LLM vs. using a crude dot product when doing retrieval

Pringled

a year ago

I think a combination works quite well: first getting a small set of candidates from all the data using a lightweight model, and the using a heavy-duty model to rerank the results and get the final candidates.

protoshell248

a year ago

10K embeddings generated in under 700 milliseconds!!!