transformer_rankers.datasets.preprocess_prΒΆ

Functions

transform_trec2020pr_to_dfs(path)

Transforms TREC 2020 Passage Ranking files (https://microsoft.github.io/TREC-2020-Deep-Learning/) to train, valid and test dfs containing only positive query-passage combinations.