Building Cross-Lingual End-to-End Product Search with Tensorflow
hanxiao.github.io
hanxiao.github.io
An alternative is to precompute a search index over the item vectors if the dataset of items is very large and you’re OK with running an approximate search to trade a bit of recall for performance, using algorithms provided by libraries like the following.
Nmslib: https://github.com/searchivarius/nmslib
Faiss (Facebook): https://github.com/facebookresearch/faiss
Annoy (Spotify): https://github.com/spotify/annoy
Isn't the purpose of a search index (aka inverted index) to compute the cosine similarity efficiently? Is this not possible to do for latent space dense vectors? Or am I missing something?