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.95k stars 377 forks source link

query without passage in collection #236

Open xuantruong118 opened 1 year ago

xuantruong118 commented 1 year ago

thanks for a novel method for information retrieval. i have a question. If I have a question outside the domain of collection and query execution. Without exclusion, the query will still return the top-k passages for that question. So is there any way to exclude, for example, setting a threshold or methods so that the query result returned is empty for the out of domain question instead of still returning the top-k?