Currently we are able to do pyserini.search.faiss.FaissSearcher for dense retrieval and pyserini.search.lucene.LuceneSearcher for sparse retrieval.
I think it would be nice to have a module like pyserini.rerank....... that takes in a query and a set of documents and maybe uses rankllm and whatever reranker is implemented to return a reranked set.
Currently we are able to do
pyserini.search.faiss.FaissSearcher
for dense retrieval andpyserini.search.lucene.LuceneSearcher
for sparse retrieval.I think it would be nice to have a module like
pyserini.rerank.......
that takes in a query and a set of documents and maybe usesrankllm
and whatever reranker is implemented to return a reranked set.