sunnweiwei / AmbigPrompt

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

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

Closed Wu-tn closed 5 months ago

Wu-tn commented 6 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 5 months 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 5 months ago

Thanks!!!!