capreolus-ir / capreolus

A toolkit for end-to-end neural ad hoc retrieval
https://capreolus.ai
Apache License 2.0
95 stars 32 forks source link

Force qids in folds to be strings #100

Closed andrewyates closed 4 years ago

andrewyates commented 4 years ago

When parsing qrel files, we don't enforce that the QIDs are integers. This means that they need to be strings in a folds.json file as well; storing them as integers was causing a mismatch. This PR ensures they're stored as strings.