3 ms·
See https://www.sbert.net/ https://www.sbert.net/ It uses large language models trained to: (1) produce a document embedding vector from a document that capt
by PaulHoule 4y ago
See
https://www.sbert.net/ https://www.sbert.net/
It uses large language models trained to: (1) produce a document embedding vector from a document that captures the “gist” of the document, (2) given a query and document, predict if the document is relevant to the query.
I was working on a search engine that used a dense document embedding about a decade ago which was highly successful, but at the time that kind of embedding helped with recall instead of precision since it could discover alternative meanings of words but not differentiate between different meanings of words. Transformer-based embeddings can do just that and are a revolution in IR. (Some significant develoment in that field happens about once a decade, so it is a big deal.)
It helps that that sbert.net is super-reliable and easy to use: I’ve gotten demos up and running in half an hour whereas doing something with raw huggingface transformers usually means a week tuning hyperparameters.