-
Hi, This is the command I'm running and as I understand it, setting the argument should allow me to control the number of centroids that we index to.
Could someone please confirm whether this is a bug or whether I may not be handling a setting correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @vrdn-23, You can modify it by the pyserini/pyserini/index/faiss.py Line 72 in 11124e9 |
Beta Was this translation helpful? Give feedback.
-
If I'm using HSNW and PQ it seems that changing the number of centroids is impossible at the time. Is there any reason for it? pyserini/pyserini/index/faiss.py Line 64 in 1f6ba77 |
Beta Was this translation helpful? Give feedback.
Hi @vrdn-23,
You can modify it by the
--pq-nbits
option, by default it is 8, which gives 2^8 = 256 centroids.pyserini/pyserini/index/faiss.py
Line 72 in 11124e9