Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-built indexes for MS MARCO (V2) #939

Merged
merged 6 commits into from
Jan 13, 2022
Merged

Add pre-built indexes for MS MARCO (V2) #939

merged 6 commits into from
Jan 13, 2022

Conversation

lintool
Copy link
Member

@lintool lintool commented Jan 13, 2022

{doc, doc-segmented, passage, passage-augmented} x {default, slim, full}

Copy link
Member

@ronakice ronakice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lintool lintool merged commit 0120461 into master Jan 13, 2022
@lintool lintool deleted the msmarcov2 branch January 13, 2022 12:41
@lintool
Copy link
Member Author

lintool commented Jan 13, 2022

For the record, these are the commands for doing all the runs directly:

python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc --output runs/run.msmarco-v2-doc.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc-slim --output runs/run.msmarco-v2-doc-slim.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc-full --output runs/run.msmarco-v2-doc-full.dev.txt --bm25

python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-slim.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-full.dev.txt

python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-slim.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-full.dev.txt

python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc-segmented --output runs/run.msmarco-v2-doc-segmented.dev.txt --bm25 --hits 10000 --max-passage --max-passage-hits 1000
python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc-segmented-slim --output runs/run.msmarco-v2-doc-segmented-slim.dev.txt --bm25 --hits 10000 --max-passage --max-passage-hits 1000
python -m pyserini.search --topics msmarco-v2-doc-dev --index msmarco-v2-doc-segmented-full --output runs/run.msmarco-v2-doc-segmented-full.dev.txt --bm25 --hits 10000 --max-passage --max-passage-hits 1000

python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented-slim.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented-full.dev.txt

python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented-slim.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-doc-dev runs/run.msmarco-v2-doc-segmented-full.dev.txt

python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage --output runs/run.msmarco-v2-passage.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage-slim --output runs/run.msmarco-v2-passage-slim.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage-full --output runs/run.msmarco-v2-passage-full.dev.txt --bm25

python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-slim.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-full.dev.txt

python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-slim.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-full.dev.txt

python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage-augmented --output runs/run.msmarco-v2-passage-augmented.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage-augmented-slim --output runs/run.msmarco-v2-passage-augmented-slim.dev.txt --bm25
python -m pyserini.search --topics msmarco-v2-passage-dev --index msmarco-v2-passage-augmented-full --output runs/run.msmarco-v2-passage-augmented-full.dev.txt --bm25

python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented-slim.dev.txt
python -m pyserini.eval.trec_eval -c -M 100 -m map -m recip_rank -m recall.100 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented-full.dev.txt

python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented-slim.dev.txt
python -m pyserini.eval.trec_eval -c -m recall.1000 msmarco-v2-passage-dev runs/run.msmarco-v2-passage-augmented-full.dev.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants