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

How to check the centroids and the data in the clusters? #207

Open
ravirajag opened this issue Apr 26, 2024 · 0 comments
Open

How to check the centroids and the data in the clusters? #207

ravirajag opened this issue Apr 26, 2024 · 0 comments

Comments

@ravirajag
Copy link

I have indexed around 11k sentences and it created some 4000 centroids. I am able to load the centroids file using the code

from colbert.indexing.codecs.residual import ResidualCodec
res_codec = ResidualCodec.load(index_path)

I want to see what these 4000 centroids are (sentences). How should I get that?
I want to see what data goes under each cluster here.

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