The python environment is as follows:
python3.6, tensorflow-gpu==1.15
pip install:
pip install -r requirements.txt
cd question_answering
cd text_classification
cd machine_translation
If you find this project helpful, consider citing our paper:
Junshuang Wu, Richong Zhang, Yongyi Mao, and Junfan Chen. On Scalar Embedding of Relative Positions in Attention Models. In Proceedings of AAAI 2021.