stanford-futuredata / ColBERT

ColBERT: state-of-the-art neural search (SIGIR'20, TACL'21, NeurIPS'21, NAACL'22, CIKM'22, ACL'23, EMNLP'23)
MIT License
2.68k stars 355 forks source link

ColBERTv1: Faiss_depth usage in retrieval #257

Open MarkLee131 opened 9 months ago

MarkLee131 commented 9 months ago

Hi, when I use the retrieval command provided Readme

I found there are two depth args: faiss_depth and depth. I observed that I can set the depth as 1000 if I need the top 1000. But when I want to get the top 5000, it would be invalid if I only set the depth as 5000. It seems I need to set the faiss_depth accordingly. But I do not know what impact the faiss_depth takes actually. If I keep the two values the same, it was observed that it would be time-consuming.