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

Integrate jtreceval into Anserini #2295

Closed
lintool opened this issue Dec 6, 2023 · 2 comments
Closed

Integrate jtreceval into Anserini #2295

lintool opened this issue Dec 6, 2023 · 2 comments

Comments

@lintool
Copy link
Member

lintool commented Dec 6, 2023

https://github.com/terrierteam/jtreceval

Ref: #2276

@lintool
Copy link
Member Author

lintool commented Dec 16, 2023

Currently, we run trec_eval like this:

tools/eval/trec_eval.9.0.4/trec_eval -c -m map tools/topics-and-qrels/qrels.msmarco-passage.dev-subset.txt runs/run.msmarco-passage.bm25-default.topics.msmarco-passage.dev-subset.txt

With jtreceval integrated, we should be able to do something like this:

target/appassembler/bin/trec_eval \
  -c -m map tools/topics-and-qrels/qrels.msmarco-passage.dev-subset.txt \
  runs/run.msmarco-passage.bm25-default.topics.msmarco-passage.dev-subset.txt

And with the fat jar, we could then do:

jar -cp anserini-fatjar.jar trec_eval ...

@lintool
Copy link
Member Author

lintool commented Dec 16, 2023

This is actually a duplicate of #2247 - closing.

@lintool lintool closed this as completed Dec 16, 2023
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

No branches or pull requests

1 participant