-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/osirrc2019/olddog-docker
- Loading branch information
Showing
2 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Quick Start | ||
|
||
Instructions for evaluating TREC8 using OldDog on the OSIRRC 2019 `jig`. | ||
|
||
## Preliminaries | ||
|
||
Create repository under `/export/data` to avoid SELinux volume mount problems when running docker commands. | ||
|
||
mkdir -p /export/data/ir | ||
cd /export/data/ir | ||
|
||
Install `trec_eval`: | ||
|
||
git clone https://github.com/usnistgov/trec_eval.git && make -C trec_eval | ||
cd trec_eval/ | ||
sudo make install | ||
|
||
Install the `jig`: | ||
|
||
git clone git@github.com:osirrc/jig.git | ||
cd jig | ||
pip3 install -r requirements.txt --user | ||
|
||
Ugly setup, `jig` expects `trec_eval/trec_eval` to be the evaluation program executable... | ||
|
||
mkdir trec_eval | ||
ln -s /usr/local/bin/trec_eval trec_eval | ||
|
||
Build the OldDog docker image (locally): | ||
|
||
git clone git@github.com:osirrc2019/olddog-docker.git | ||
docker build -t osirrc2019/olddog . | ||
|
||
### Prepare | ||
|
||
Index TREC disks 4/5 for `robust04`: | ||
|
||
python3 run.py prepare \ | ||
--repo osirrc2019/olddog \ | ||
--collections robust04=/vol/practica/IR/robust04=trectext | ||
|
||
_TODO: move database load to this stage!_ | ||
|
||
### Search | ||
|
||
Running a TREC8 retrieval experiment: | ||
|
||
python3 run.py search \ | ||
--repo osirrc2019/olddog \ | ||
--output $(pwd)/out \ | ||
--qrels qrels/qrels.401-450.txt \ | ||
--topic topics/topics.401-450.txt \ | ||
--collection robust04 \ | ||
--opts out_file_name="trec8" | ||
|
||
_TODO: fix qrels file - wrong collection for TREC8._ | ||
|
||
### SEE ALSO | ||
|
||
[README](README.md) |