Closed XY2323819551 closed 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') ……
I solved it now.
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') ……