Created
August 1, 2019 15:41
-
-
Save mdouze/e4bdb404dbd976c83fe447e529e5c9dc to your computer and use it in GitHub Desktop.
IndexFlatIP returns the maximum IP distances.
could i use the new xb with faiss.index_factory(768, "PCA128,IVF16384_HNSW64,Flat") ?
and got the similar results ?
old xb have been L2 norm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IndexFlatIP finds the minimum IP distance instead of the maximum. What if I want to find maximum IP similarity neighbors? Note that IP can be negative and positive, querying with the opposite vector will return the largest negative ones.