RuntimeError: Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open contriever_msmarco_index/index for reading: No such file or directory
Python version-3.9.16
Sagemaker Studio
searcher = FaissSearcher('contriever_msmarco_index/',query_encoder)-this line is giving above error
I checked the indexes available in FAISS SEARCHER
FaissSearcher.list_prebuilt_indexes()
msmarco-v1-passage.aggretriever-cocondenser
description Faiss FlatIP index of the MS MARCO passage corpus encoded by aggretriever-cocondenser encoder.
filename faiss.msmarco-v1-passage.aggretriever-cocondenser.20230407.f627ef.tar.gz
urls [https://rgw.cs.uwaterloo.ca/pyserini/indexes/faiss.msmarco-v1-passage.aggretriever-cocondenser.20230407.f627ef.tar.gz]
md5
I chose one of the index but still it could not open contriever
Please help me resolve this.I have even searched on browser but i could just find one link
facebookresearch/faiss#3004
no resolution is given