This is the code for our paper "Fact-driven Logical Reasoning for Machine Reading Comprehension".
- python=3.6
- pytorch=1.6.0
- dgl=0.6.1
- transformers=4.3.2
Directly run the following code:
bash scripts/run_roberta_large.sh
The accuracies on the dev set are stored in the folder "Checkpoints", with test results stored in "test_pred.npy"
Can change the dataset directory in the scripts to run different tasks. For example, to run logiQA, set
RECLOR_DIR=logiQA_data
TASK_NAME=logiqa