ielab / APR

The repo for reproducing the ANCE-PRF training.
8 stars 0 forks source link

Where can I find "--query-file" and "--pair-file" to reproduce ance-prf experiments? #1

Closed XY2323819551 closed 2 years ago

XY2323819551 commented 2 years ago

Hello, I want to reproduce the code, however, I do not know how to get "--query-file" and "--pair-file" ……

make_train_from_ranking.py …… parser.add_argument('--query-file', type=str, default='./data/msmarco_passage/query/train_query_judged.tsv') parser.add_argument('--collection-file', type=str, default='./data/msmarco_passage/collection/collection.tsv') parser.add_argument('--pair-file', type=str, default='./data/msmarco_passage/qrels/train_query_passage_pair.tsv') parser.add_argument('--encoder', type=str, default='./data/msmarco_passage/models/ANCE') ……

XY2323819551 commented 2 years ago

I solved it now.