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

FAISS RuntimError #358

Open
kalinduaet opened this issue Jul 18, 2024 · 0 comments
Open

FAISS RuntimError #358

kalinduaet opened this issue Jul 18, 2024 · 0 comments

Comments

@kalinduaet
Copy link

kalinduaet commented Jul 18, 2024

I want to index some documents with embedding created by ColBERTV2 in FAISS. I'm using RAGatouille framework to do this. But for some documents I'm getting following error.

EXCEPTION: Error in void faiss::Clustering::train_encoded(faiss::idx_t, const uint8_t*, const faiss::Index*, faiss::Index&, const float*) at /project/faiss/faiss/Clustering.cpp:261: Error: 'nx >= k' failed: Number of training points (51) should be at least as large as number of clusters (64)
how to solve this issue. Thank you

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

No branches or pull requests

1 participant