├── .gitignore ├── Disc_train.py ├── GAN_Training.py ├── Gen_RL_Train.py ├── Images ├── Copy of Untitled Diagram.jpg └── Discriminator.jpg ├── LICENSE ├── README.md ├── Supplemental_File_532.pdf ├── __pycache__ ├── Discriminator.cpython-35.pyc ├── Discriminator_Softmax.cpython-35.pyc ├── Discriminator_individual.cpython-35.pyc ├── beam.cpython-35.pyc ├── beam.cpython-36.pyc ├── config.cpython-35.pyc ├── config.cpython-36.pyc ├── evaluate.cpython-35.pyc ├── evaluate.cpython-36.pyc ├── evaluate_prediction.cpython-35.pyc ├── evaluate_prediction.cpython-36.pyc ├── hierarchal_Discriminator.cpython-35.pyc ├── hierarchal_attention_Discriminator.cpython-35.pyc ├── penalties.cpython-35.pyc ├── penalties.cpython-36.pyc ├── sequence_generator.cpython-35.pyc ├── sequence_generator.cpython-36.pyc ├── train_ml.cpython-35.pyc ├── train_ml.cpython-36.pyc ├── train_rl.cpython-35.pyc └── train_rl.cpython-36.pyc ├── beam.py ├── config.py ├── data_preprocess_debug.py ├── evaluate.py ├── evaluate_prediction.py ├── filter_duplications.py ├── hierarchal_attention_Discriminator.py ├── integrated_data_preprocess.py ├── penalties.py ├── preprocess.py ├── pykp ├── Discriminator.py ├── Sampler.py ├── __pycache__ │ ├── __init__.cpython-35.pyc │ ├── __init__.cpython-36.pyc │ ├── attention.cpython-35.pyc │ ├── attention.cpython-36.pyc │ ├── io.cpython-35.pyc │ ├── io.cpython-36.pyc │ ├── manager.cpython-35.pyc │ ├── manager.cpython-36.pyc │ ├── mask.cpython-35.pyc │ ├── mask.cpython-36.pyc │ ├── masked_loss.cpython-35.pyc │ ├── masked_loss.cpython-36.pyc │ ├── masked_softmax.cpython-35.pyc │ ├── masked_softmax.cpython-36.pyc │ ├── model.cpython-35.pyc │ ├── model.cpython-36.pyc │ ├── reward.cpython-35.pyc │ ├── reward.cpython-36.pyc │ ├── rnn_decoder.cpython-35.pyc │ ├── rnn_decoder.cpython-36.pyc │ ├── rnn_encoder.cpython-35.pyc │ ├── rnn_encoder.cpython-36.pyc │ ├── target_encoder.cpython-35.pyc │ └── target_encoder.cpython-36.pyc ├── attention.py ├── dataloader.py ├── io.py ├── manager.py ├── mask.py ├── masked_loss.py ├── masked_softmax.py ├── model.py ├── reward.py ├── rnn_decoder.py ├── rnn_encoder.py └── target_encoder.py ├── requirements.txt ├── sequence_generator.py ├── t_stat.py ├── train.py ├── train_ml.py ├── train_rl.py └── utils ├── Discriminator_data_loader.py ├── data_loader.py ├── report.py ├── source_representation_queue.py ├── statistics.py ├── string_helper.py └── time_log.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/.gitignore -------------------------------------------------------------------------------- /Disc_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/Disc_train.py -------------------------------------------------------------------------------- /GAN_Training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/GAN_Training.py -------------------------------------------------------------------------------- /Gen_RL_Train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/Gen_RL_Train.py -------------------------------------------------------------------------------- /Images/Copy of Untitled Diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/Images/Copy of Untitled Diagram.jpg -------------------------------------------------------------------------------- /Images/Discriminator.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/Images/Discriminator.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/README.md -------------------------------------------------------------------------------- /Supplemental_File_532.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/Supplemental_File_532.pdf -------------------------------------------------------------------------------- /__pycache__/Discriminator.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/Discriminator.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/Discriminator_Softmax.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/Discriminator_Softmax.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/Discriminator_individual.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/Discriminator_individual.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/beam.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/beam.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/beam.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/beam.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/config.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/config.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/config.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/config.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/evaluate.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/evaluate.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/evaluate.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/evaluate.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/evaluate_prediction.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/evaluate_prediction.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/evaluate_prediction.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/evaluate_prediction.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/hierarchal_Discriminator.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/hierarchal_Discriminator.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/hierarchal_attention_Discriminator.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/hierarchal_attention_Discriminator.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/penalties.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/penalties.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/penalties.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/penalties.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/sequence_generator.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/sequence_generator.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/sequence_generator.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/sequence_generator.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/train_ml.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/train_ml.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/train_ml.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/train_ml.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/train_rl.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/train_rl.cpython-35.pyc -------------------------------------------------------------------------------- /__pycache__/train_rl.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/__pycache__/train_rl.cpython-36.pyc -------------------------------------------------------------------------------- /beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/beam.py -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/config.py -------------------------------------------------------------------------------- /data_preprocess_debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/data_preprocess_debug.py -------------------------------------------------------------------------------- /evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/evaluate.py -------------------------------------------------------------------------------- /evaluate_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/evaluate_prediction.py -------------------------------------------------------------------------------- /filter_duplications.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/filter_duplications.py -------------------------------------------------------------------------------- /hierarchal_attention_Discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/hierarchal_attention_Discriminator.py -------------------------------------------------------------------------------- /integrated_data_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/integrated_data_preprocess.py -------------------------------------------------------------------------------- /penalties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/penalties.py -------------------------------------------------------------------------------- /preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/preprocess.py -------------------------------------------------------------------------------- /pykp/Discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/Discriminator.py -------------------------------------------------------------------------------- /pykp/Sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/Sampler.py -------------------------------------------------------------------------------- /pykp/__pycache__/__init__.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/__init__.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/attention.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/attention.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/attention.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/attention.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/io.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/io.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/io.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/io.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/manager.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/manager.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/manager.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/manager.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/mask.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/mask.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/mask.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/mask.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/masked_loss.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/masked_loss.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/masked_loss.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/masked_loss.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/masked_softmax.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/masked_softmax.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/masked_softmax.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/masked_softmax.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/model.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/model.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/model.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/model.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/reward.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/reward.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/reward.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/reward.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/rnn_decoder.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/rnn_decoder.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/rnn_decoder.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/rnn_decoder.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/rnn_encoder.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/rnn_encoder.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/rnn_encoder.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/rnn_encoder.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/target_encoder.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/target_encoder.cpython-35.pyc -------------------------------------------------------------------------------- /pykp/__pycache__/target_encoder.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/__pycache__/target_encoder.cpython-36.pyc -------------------------------------------------------------------------------- /pykp/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/attention.py -------------------------------------------------------------------------------- /pykp/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/dataloader.py -------------------------------------------------------------------------------- /pykp/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/io.py -------------------------------------------------------------------------------- /pykp/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/manager.py -------------------------------------------------------------------------------- /pykp/mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/mask.py -------------------------------------------------------------------------------- /pykp/masked_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/masked_loss.py -------------------------------------------------------------------------------- /pykp/masked_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/masked_softmax.py -------------------------------------------------------------------------------- /pykp/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/model.py -------------------------------------------------------------------------------- /pykp/reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/reward.py -------------------------------------------------------------------------------- /pykp/rnn_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/rnn_decoder.py -------------------------------------------------------------------------------- /pykp/rnn_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/rnn_encoder.py -------------------------------------------------------------------------------- /pykp/target_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/pykp/target_encoder.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/requirements.txt -------------------------------------------------------------------------------- /sequence_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/sequence_generator.py -------------------------------------------------------------------------------- /t_stat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/t_stat.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/train.py -------------------------------------------------------------------------------- /train_ml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/train_ml.py -------------------------------------------------------------------------------- /train_rl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/train_rl.py -------------------------------------------------------------------------------- /utils/Discriminator_data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/Discriminator_data_loader.py -------------------------------------------------------------------------------- /utils/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/data_loader.py -------------------------------------------------------------------------------- /utils/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/report.py -------------------------------------------------------------------------------- /utils/source_representation_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/source_representation_queue.py -------------------------------------------------------------------------------- /utils/statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/statistics.py -------------------------------------------------------------------------------- /utils/string_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/string_helper.py -------------------------------------------------------------------------------- /utils/time_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinsit123/keyphrase-gan/HEAD/utils/time_log.py --------------------------------------------------------------------------------