├── .DS_Store ├── QG_main.py ├── QG_main_newsqa.py ├── README.md ├── checkpoints └── .DS_Store ├── data_loader ├── .DS_Store ├── QG_data.py ├── __init__.py ├── __pycache__ │ ├── QG_data.cpython-36.pyc │ ├── QG_data_Zhou.cpython-36.pyc │ ├── __init__.cpython-36.pyc │ └── config.cpython-36.pyc └── config.py ├── datasets └── .DS_Store ├── log.txt ├── model ├── .DS_Store ├── QG_beam.py ├── QG_clue_gcn.py ├── QG_clue_qanet.py ├── QG_emb.py ├── QG_model.py ├── __init__.py ├── config.py └── modules │ ├── .DS_Store │ ├── __init__.py │ ├── attention.py │ ├── cnn.py │ ├── config.py │ ├── ema.py │ ├── gcn.py │ ├── highway.py │ ├── maxout.py │ ├── normalize.py │ ├── position.py │ ├── rnn.py │ ├── treelstm.py │ └── treelstm_utils.py ├── nlgeval └── .DS_Store ├── output └── .DS_Store ├── squad_word_dict.txt ├── trainer ├── .DS_Store ├── QG_trainer.py ├── __init__.py ├── config.py ├── loss.py ├── metric.py └── optim.py └── util ├── .DS_Store ├── __init__.py ├── bpe_utils.py ├── dict_utils.py ├── exp_utils.py ├── file_utils.py ├── list_utils.py ├── ml_utils.py ├── nlp_utils.py ├── pd_utils.py ├── prepro_utils.py ├── re_utils.py ├── str_utils.py ├── tensor_utils.py ├── tfidf_utils.py ├── vis_utils.py └── visualize.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/.DS_Store -------------------------------------------------------------------------------- /QG_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/QG_main.py -------------------------------------------------------------------------------- /QG_main_newsqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/QG_main_newsqa.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/README.md -------------------------------------------------------------------------------- /checkpoints/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/checkpoints/.DS_Store -------------------------------------------------------------------------------- /data_loader/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/.DS_Store -------------------------------------------------------------------------------- /data_loader/QG_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/QG_data.py -------------------------------------------------------------------------------- /data_loader/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_loader/__pycache__/QG_data.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/__pycache__/QG_data.cpython-36.pyc -------------------------------------------------------------------------------- /data_loader/__pycache__/QG_data_Zhou.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/__pycache__/QG_data_Zhou.cpython-36.pyc -------------------------------------------------------------------------------- /data_loader/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /data_loader/__pycache__/config.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/__pycache__/config.cpython-36.pyc -------------------------------------------------------------------------------- /data_loader/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/data_loader/config.py -------------------------------------------------------------------------------- /datasets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/datasets/.DS_Store -------------------------------------------------------------------------------- /log.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/.DS_Store -------------------------------------------------------------------------------- /model/QG_beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/QG_beam.py -------------------------------------------------------------------------------- /model/QG_clue_gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/QG_clue_gcn.py -------------------------------------------------------------------------------- /model/QG_clue_qanet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/QG_clue_qanet.py -------------------------------------------------------------------------------- /model/QG_emb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/QG_emb.py -------------------------------------------------------------------------------- /model/QG_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/QG_model.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/config.py -------------------------------------------------------------------------------- /model/modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/.DS_Store -------------------------------------------------------------------------------- /model/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/attention.py -------------------------------------------------------------------------------- /model/modules/cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/cnn.py -------------------------------------------------------------------------------- /model/modules/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/config.py -------------------------------------------------------------------------------- /model/modules/ema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/ema.py -------------------------------------------------------------------------------- /model/modules/gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/gcn.py -------------------------------------------------------------------------------- /model/modules/highway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/highway.py -------------------------------------------------------------------------------- /model/modules/maxout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/maxout.py -------------------------------------------------------------------------------- /model/modules/normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/normalize.py -------------------------------------------------------------------------------- /model/modules/position.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/position.py -------------------------------------------------------------------------------- /model/modules/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/rnn.py -------------------------------------------------------------------------------- /model/modules/treelstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/treelstm.py -------------------------------------------------------------------------------- /model/modules/treelstm_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/model/modules/treelstm_utils.py -------------------------------------------------------------------------------- /nlgeval/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/nlgeval/.DS_Store -------------------------------------------------------------------------------- /output/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/output/.DS_Store -------------------------------------------------------------------------------- /squad_word_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/squad_word_dict.txt -------------------------------------------------------------------------------- /trainer/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/.DS_Store -------------------------------------------------------------------------------- /trainer/QG_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/QG_trainer.py -------------------------------------------------------------------------------- /trainer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trainer/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/config.py -------------------------------------------------------------------------------- /trainer/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/loss.py -------------------------------------------------------------------------------- /trainer/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/metric.py -------------------------------------------------------------------------------- /trainer/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/trainer/optim.py -------------------------------------------------------------------------------- /util/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/.DS_Store -------------------------------------------------------------------------------- /util/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /util/bpe_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/bpe_utils.py -------------------------------------------------------------------------------- /util/dict_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/dict_utils.py -------------------------------------------------------------------------------- /util/exp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/exp_utils.py -------------------------------------------------------------------------------- /util/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/file_utils.py -------------------------------------------------------------------------------- /util/list_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/list_utils.py -------------------------------------------------------------------------------- /util/ml_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/ml_utils.py -------------------------------------------------------------------------------- /util/nlp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/nlp_utils.py -------------------------------------------------------------------------------- /util/pd_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/pd_utils.py -------------------------------------------------------------------------------- /util/prepro_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/prepro_utils.py -------------------------------------------------------------------------------- /util/re_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/re_utils.py -------------------------------------------------------------------------------- /util/str_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/str_utils.py -------------------------------------------------------------------------------- /util/tensor_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/tensor_utils.py -------------------------------------------------------------------------------- /util/tfidf_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/tfidf_utils.py -------------------------------------------------------------------------------- /util/vis_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/vis_utils.py -------------------------------------------------------------------------------- /util/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BangLiu/QG/HEAD/util/visualize.py --------------------------------------------------------------------------------