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

qrels binary file? #2

Open
harryhoch opened this issue Oct 8, 2024 · 2 comments
Open

qrels binary file? #2

harryhoch opened this issue Oct 8, 2024 · 2 comments

Comments

@harryhoch
Copy link

I'm interested in trying this tool out, but I run into a problem running input_fields_experiment.py. it blows up at the end with a FileNotFound Error: No such file or directory: 'data/external/qrels2021_binary.txt'

It looks like prepare_data.py doesn't pull this file down. Where do I find it?

thanks.

@WojciechKusa
Copy link
Member

Hi @harryhoch, thanks for your interest!
The graded qrels (0 - irrelevant, 1 - excluded, 2 - included) file for the year 2021 can be downloaded from ir_datasets here. To get the qrels2021_binary.txt file, you need to convert all the rows marked as "excluded" to 0 and all those marked as "included" to 1. I'll try to add that script in the future.

@harryhoch
Copy link
Author

thanks. I'm not sure when/if I'll be able to look at this, but I will try.

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

2 participants