Pyserini: MS MARCO V2.1 Segmented Doc

The 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.

RAG 2024 test (Umbrela)RAG 2024 test (NIST)RAG 2025 test (Umbrela)RAG 2025 test (NIST)
nDCG@20R@100nDCG@20R@100nDCG@30R@100nDCG@30R@100

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented \
  --topics rag24.test \
  --output run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt \
  --hits 1000 --bm25 --k1 0.9 --b 0.4

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented \
  --topics rag24.test \
  --output run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt \
  --hits 1000 --bm25 --k1 0.9 --b 0.4

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.bm25.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented \
  --topics rag25.test \
  --output run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt \
  --hits 1000 --bm25 --k1 0.9 --b 0.4

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented \
  --topics rag25.test \
  --output run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt \
  --hits 1000 --bm25 --k1 0.9 --b 0.4

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.bm25.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented.splade-v3 \
  --topics rag24.test \
  --output run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt \
  --impact --pretokenized --remove-query --hits 1000 \
  --onnx-encoder SpladeV3

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented.splade-v3 \
  --topics rag24.test \
  --output run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt \
  --impact --pretokenized --remove-query --hits 1000 \
  --onnx-encoder SpladeV3

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented.splade-v3 \
  --topics rag25.test \
  --output run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt \
  --impact --pretokenized --remove-query --hits 1000 \
  --onnx-encoder SpladeV3

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 128 \
  --index msmarco-v2.1-doc-segmented.splade-v3 \
  --topics rag25.test \
  --output run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt \
  --impact --pretokenized --remove-query --hits 1000 \
  --onnx-encoder SpladeV3

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.splade-v3.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard00.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard00.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard00.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard00.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard00.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard01.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard01.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard01.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard01.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard01.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard02.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard02.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard02.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard02.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard02.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard03.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard03.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard03.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard03.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard03.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard04.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard04.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard04.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard04.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard04.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard05.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard05.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard05.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard05.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard05.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard06.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard06.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard06.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard06.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard06.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard07.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard07.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard07.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard07.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard07.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard08.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard08.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard08.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard08.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard08.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag24.test / qrels: rag24.test-umbrela-all

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard09.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test-umbrela-all run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag24.test / qrels: rag24.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard09.arctic-embed-l.hnsw-int8 \
  --topics rag24.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.20 rag24.test run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag24.test run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag24.test.txt

topics: rag25.test / qrels: rag25.test-umbrela2

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard09.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test-umbrela2 run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt

topics: rag25.test / qrels: rag25.test

Retrieval command

python -m pyserini.search.lucene \
  --threads 16 --batch-size 512 \
  --index msmarco-v2.1-doc-segmented-shard09.arctic-embed-l.hnsw-int8 \
  --topics rag25.test \
  --onnx-encoder ArcticEmbedL \
  --output run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt \
  --hits 250 --ef-search 1000 --dense --hnsw

Evaluation commands

python -m pyserini.eval.trec_eval -c -m ndcg_cut.30 rag25.test run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt
python -m pyserini.eval.trec_eval -c -m recall.100 rag25.test run.msmarco-v2.1-doc-segmented.shard09.arctic-l.hnsw-int8.onnx.rag25.test.txt

Programmatic Execution

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-segmented --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-segmented --all --display-commands --dry-run

To actually run all the experimental conditions:

python -m pyserini.2cr.msmarco --collection v2.1-doc-segmented --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-segmented --condition bm25 --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-segmented --condition bm25 --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-segmented --generate-report --output docs/2cr/msmarco-v2.1-doc-segmented.html

The output file docs/2cr/msmarco-v2.1-doc-segmented.html should be identical to this page.