Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the faiss index method change: replace the IndexFlatIP with IndexIVFFlat #250

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Adeshen
Copy link

@Adeshen Adeshen commented Apr 19, 2024

IndexFlatIP is brute searching method.
IndexIVFFlat use aggregation to lower the dimension. So it will be faster, but lower the precision.

…lat.

IndexFlatIP is brute searching method
IndexIVFFlat use  aggregation to lower the dimension. So it will be faster, but lower the precision.
@tpoisonooo
Copy link
Collaborator

IndexIVFFlat needs clustering and L2 norm as distance method, see https://zhuanlan.zhihu.com/p/40236865

IndexIVFFlat may cause precision drop.

@tpoisonooo
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants