Skip to content

Issue Loading my Dense Retriever Index #1008

Answered by MXueguang
jonsaadfalcon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jonsaadfalcon ,

after I trained my own index

I am assuming you trained your dense retriever model?

However, the pyserini.index is creating Lucene sparse index.
SimpleDenseSearcher requires dense index based on FAISS.

Please check this document to encode the corpus and create dense index:
https://github.com/castorini/pyserini/blob/master/docs/usage-encode.md#encode-documents-with-dense-encoder

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jonsaadfalcon
Comment options

Answer selected by lintool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1001 on February 16, 2022 13:31.