sunnweiwei / AmbigPrompt

Answering Ambiguous Questions via Iterative Prompting
13 stars 2 forks source link

In inference_dense.py, where is the file 'out/dense/corpus.dat' from? #2

Closed Wu-tn closed 1 month ago

Wu-tn commented 2 months ago

HI, I follow the step in readme.md and find that there is a file in inference_dense.py which is not found locally, i want to know how to get the file 'out/dense/corpus.dat'?

sunnweiwei commented 1 month ago

Hi, 'out/dense/corpus.dat' is the passage vector file. Sorry for not including the passage encoding code. I have updated the inference_dense file and added the encode_corpus function.

Wu-tn commented 1 month ago

Thanks!!!!