Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct.
- Microsoft Open Source Code of Conduct
- Microsoft Code of Conduct FAQ
- Contact firstname.lastname@example.org with questions or concerns
The source codes of the paper "Transformer-XH: Multi-evidence Reasoning with Extra Hop Attention (ICLR 2020)".
Run python setup.py develop to install required dependencies for transformer-xh.
Data and trained model Download
You can run bash script download.sh
For Hotpot QA, we provide processed graph (Transformer-XH) input here, after downloading, unzip it and put into ./data folder We also provide trained model here, unzip the downloaded model and put into ./experiments folder
Run Your Models
Use hotpot_train.sh for training on hotpot QA task, hotpot_eval.sh for evaluation (default fp16 training).
Similarly, fever_train.sh for training on FEVER task, fever_eval.sh for evaluation (default fp16 training).