jingtaozhan / DRhard

SIGIR'21: Optimizing DR with hard negatives and achieving SOTA first-stage retrieval performance on TREC DL Track.
BSD 3-Clause "New" or "Revised" License
125 stars 14 forks source link

passage_embeddings #3

Closed wangjiajia5889758 closed 3 years ago

wangjiajia5889758 commented 3 years ago

I don't understand how the passage_embeddings are generated?

jingtaozhan commented 3 years ago

star/inference.py computes the passage embeddings. adore/inference.py utilizes the existing passage embeddings generated by star/inference.py.