Issue Loading my Dense Retriever Index #1008
-
Hello, after I trained my own index, I tried to load a SimpleDenseRetriever with the following line:
However, it gave me the following error after running this line:
However, the indexing command I ran never gave me any file titled "index". I used the following indexing command for generating my own index on my own data:
Any suggestions on how to address the error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jonsaadfalcon ,
I am assuming you trained your dense retriever model? However, the Please check this document to encode the corpus and create dense index: |
Beta Was this translation helpful? Give feedback.
Hi @jonsaadfalcon ,
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