-
Download dataset.
Unzip the dataset and place it with the following folder structure.
. ├── data │ ├── doc │ ├── test_query │ ├── train_query │ └── train_ans.csv ├── pyterrier └── ...
-
Download language model.
pip3 install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.4.0/en_core_sci_sm-0.4.0.tar.gz
- UNIX-like environment
- Python 3.7+
- python-pyterrier
- spacy
- scispacy
- gensim
- open-JDK11
bash pyterrier/pyterrier.sh
The prediction results will be stored in ./data/train_pred.csv
and ./data/test_pred.csv
.