Pyserini: MS MARCO V2.1 DocThe two-click* reproduction matrix below provides commands for reproducing experimental results reported in a number of papers, denoted by the references in square brackets. These runs take advantage of prebuilt indexes in Pyserini, so you don't need access to the raw corpus. Instructions for programmatic execution are shown at the bottom of this page.
The experimental conditions and reference scores are defined in the YAML configuration. Not all experimental conditions are shown in the table below.
| TREC 2021 | TREC 2022 | TREC 2023 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AP@100 | nDCG@10 | R@1K | AP@100 | nDCG@10 | R@1K | AP@100 | nDCG@10 | R@1K | |||||
| 1 | BM25 doc (k1=0.9, b=0.4), regular index | 0.2281 | 0.5183 | 0.6915 | 0.0841 | 0.2991 | 0.4254 | 0.1089 | 0.2914 | 0.5383 | |||
| 2 | BM25 segmented doc (k1=0.9, b=0.4), regular index | 0.2609 | 0.5778 | 0.7115 | 0.1079 | 0.3576 | 0.4790 | 0.1391 | 0.3356 | 0.5852 | |||
All experimental runs shown in the above table can be programmatically executed based on the instructions below. To list all the experimental conditions:
python -m pyserini.2cr.msmarco --collection v2.1-doc --list-conditions
These conditions correspond to the table rows above.
For all conditions, just show the commands in a "dry run":
python -m pyserini.2cr.msmarco --collection v2.1-doc --all --display-commands --dry-run
To actually run all the experimental conditions:
python -m pyserini.2cr.msmarco --collection v2.1-doc --all --display-commands
With the above command, run files will be placed in the current directory. Use the option --directory runs/ to place the runs in a sub-directory.
To show the commands for a specific condition:
python -m pyserini.2cr.msmarco --collection v2.1-doc --condition bm25-doc --display-commands --dry-run
This will generate exactly the commands for a specific condition above (corresponding to a row in the table).
To actually run a specific condition:
python -m pyserini.2cr.msmarco --collection v2.1-doc --condition bm25-doc --display-commands
Again, with the above command, run files will be placed in the current directory. Use the option --directory runs/ to place the runs in a sub-directory.
Finally, to generate this page:
python -m pyserini.2cr.msmarco --collection v2.1-doc --generate-report --output docs/2cr/msmarco-v2.1-doc.html
The output file docs/2cr/msmarco-v2.1-doc.html should be identical to this page.