├── .DS_Store ├── .idea ├── .gitignore ├── EmpDG.iml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── Model ├── .DS_Store ├── EmpDG_D.py ├── Empdg_G.py └── common_layer.py ├── Predictions ├── EmoPrepend.txt ├── EmpDG.txt ├── EmpDG_w_feedback.txt ├── EmpDG_woD.txt ├── EmpDG_woG.txt ├── MoEL.txt ├── Transformer.txt ├── metrics_func.py ├── models_result.json └── result_analysis.py ├── README.md ├── adver_train.py ├── adver_train_no_eg.py ├── baselines ├── EmoPrepend.py ├── MoEL.py └── transformer.py ├── empathetic-dialogue ├── NRCDict.json ├── empdg_dataset_preproc.p ├── sys_dialog_texts.dev.npy ├── sys_dialog_texts.test.npy ├── sys_dialog_texts.train.npy ├── sys_emotion_texts.dev.npy ├── sys_emotion_texts.test.npy ├── sys_emotion_texts.train.npy ├── sys_target_texts.dev.npy ├── sys_target_texts.test.npy └── sys_target_texts.train.npy ├── fig └── empdg.jpg ├── interact.py ├── requirements.txt ├── result └── readme.txt ├── save └── readme.txt ├── train.py ├── utils ├── common.py ├── config.py ├── data_loader.py └── data_reader.py └── vectors └── readme.txt /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.DS_Store -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/EmpDG.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/EmpDG.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /Model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Model/.DS_Store -------------------------------------------------------------------------------- /Model/EmpDG_D.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Model/EmpDG_D.py -------------------------------------------------------------------------------- /Model/Empdg_G.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Model/Empdg_G.py -------------------------------------------------------------------------------- /Model/common_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Model/common_layer.py -------------------------------------------------------------------------------- /Predictions/EmoPrepend.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/EmoPrepend.txt -------------------------------------------------------------------------------- /Predictions/EmpDG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/EmpDG.txt -------------------------------------------------------------------------------- /Predictions/EmpDG_w_feedback.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/EmpDG_w_feedback.txt -------------------------------------------------------------------------------- /Predictions/EmpDG_woD.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/EmpDG_woD.txt -------------------------------------------------------------------------------- /Predictions/EmpDG_woG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/EmpDG_woG.txt -------------------------------------------------------------------------------- /Predictions/MoEL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/MoEL.txt -------------------------------------------------------------------------------- /Predictions/Transformer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/Transformer.txt -------------------------------------------------------------------------------- /Predictions/metrics_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/metrics_func.py -------------------------------------------------------------------------------- /Predictions/models_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/models_result.json -------------------------------------------------------------------------------- /Predictions/result_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/Predictions/result_analysis.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/README.md -------------------------------------------------------------------------------- /adver_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/adver_train.py -------------------------------------------------------------------------------- /adver_train_no_eg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/adver_train_no_eg.py -------------------------------------------------------------------------------- /baselines/EmoPrepend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/baselines/EmoPrepend.py -------------------------------------------------------------------------------- /baselines/MoEL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/baselines/MoEL.py -------------------------------------------------------------------------------- /baselines/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/baselines/transformer.py -------------------------------------------------------------------------------- /empathetic-dialogue/NRCDict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/NRCDict.json -------------------------------------------------------------------------------- /empathetic-dialogue/empdg_dataset_preproc.p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/empdg_dataset_preproc.p -------------------------------------------------------------------------------- /empathetic-dialogue/sys_dialog_texts.dev.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_dialog_texts.dev.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_dialog_texts.test.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_dialog_texts.test.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_dialog_texts.train.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_dialog_texts.train.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_emotion_texts.dev.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_emotion_texts.dev.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_emotion_texts.test.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_emotion_texts.test.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_emotion_texts.train.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_emotion_texts.train.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_target_texts.dev.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_target_texts.dev.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_target_texts.test.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_target_texts.test.npy -------------------------------------------------------------------------------- /empathetic-dialogue/sys_target_texts.train.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/empathetic-dialogue/sys_target_texts.train.npy -------------------------------------------------------------------------------- /fig/empdg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/fig/empdg.jpg -------------------------------------------------------------------------------- /interact.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/interact.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | torch==1.2.0 2 | tqdm==4.32.1 3 | tensorboardX==1.6 -------------------------------------------------------------------------------- /result/readme.txt: -------------------------------------------------------------------------------- 1 | NOTE: This folder saves the model checkpoints. -------------------------------------------------------------------------------- /save/readme.txt: -------------------------------------------------------------------------------- 1 | NOTE: This folder saves the training logs. -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/train.py -------------------------------------------------------------------------------- /utils/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/utils/common.py -------------------------------------------------------------------------------- /utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/utils/config.py -------------------------------------------------------------------------------- /utils/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/utils/data_loader.py -------------------------------------------------------------------------------- /utils/data_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qtli/EmpDG/HEAD/utils/data_reader.py -------------------------------------------------------------------------------- /vectors/readme.txt: -------------------------------------------------------------------------------- 1 | Please put the GloVe vectors in this folder. --------------------------------------------------------------------------------