UKPLab / gpl

Powerful unsupervised domain adaptation method for dense retrieval. Requires only unlabeled corpus and yields massive improvement: "GPL: Generative Pseudo Labeling for Unsupervised Domain Adaptation of Dense Retrieval" https://arxiv.org/abs/2112.07577
Apache License 2.0
321 stars 37 forks source link

pytrec_eval dependency issue #6

Open junefeld opened 2 years ago

junefeld commented 2 years ago

I'm not able to complete the gpl install due to this known issue: https://github.com/cvangysel/pytrec_eval/issues/32

I'm running python 3.9 and windows 10. Any suggestions?

Update: I tried running python 3.6-3.9 to no avail. I was able to take the package yml with some light edit and do individual installs for the Beirs and pytrec-eval dependencies (used pytrec-eval-terrier and a conda no-deps flag on the Beirs build).

junefeld commented 2 years ago

I can run this fork: pip install pytrec-eval-terrier and it reads as import pytrec-eval. Would you please add this as an alternative? Glad to help if needed!

kwang2049 commented 2 years ago

Hi @christopherfeld, sorry for the delay. I will look into this in the near future. Your idea sounds great and I think we can have this option during pip install

LukasKriesch commented 1 year ago

@junefeld can you provide more information about how changed the enviroment file?

LukasKriesch commented 1 year ago

Can someone help me out here? I installed the conda no-deps flag Beirs build and pytrec-eval-terrier. Then cloned the repo and changed the dependencies in the enviroment.yaml file to pytrec-eval-terrier=0.5.5. But I still run into the error: https://github.com/cvangysel/pytrec_eval/issues/32