This is the code repository for the demo of the ACL paper QuASE: Question-Answer Driven Sentence Encoding. If you use this code for your work, please cite
@inproceedings{HeNgRo20,
author = {Hangfeng He and Qiang Ning and Dan Roth},
title = {{QuASE: Question-Answer Driven Sentence Encoding}},
booktitle = {Proc. of the Annual Meeting of the Association for Computational Linguistics (ACL)},
year = {2020},
}
Play with our online demo.
Use virtual environment tools (e.g miniconda) to install packages and run experiments
python>=3.6
pip install -r requirements.txt
Our pre-trained models can be found in the google drive.
Change the /path/to/models in the app/bert_lm.py to the path of the downloaded pre-trained models.
python manage.py runserver 0.0.0.0:4003 (change the 4003 to other port number as needed)