Skip to content

wlr737/EMNLP2022-SEEK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Empathetic Dialogue Generation via Sensitive Emotion Recognition and Sensible Knowledge Selection (Findings of EMNLP 2022)

This repository is the implementation of our EMNLP 2022 Paper: Empathetic Dialogue Generation via Sensitive Emotion Recognition and Sensible Knowledge Selection

The paper is available at https://arxiv.org/abs/2210.11715.

image-20221016141015236

Usage

Dependencies

Install the required libraries

pip install -r requirements.txt 
  • Download Pretrained GloVe Embeddings and save it in /vectors.

  • The preprocessed dataset is saved as /data/ED/dataset_preproc.p. If you want to create the dataset yourself or change the knowledge types generated by COMET, delete this file, download the COMET checkpoint and place it in /data/ED/Comet. The preprocessed dataset would be generated after the training script.

Training

python main.py --cuda --save_path save/your_dir

Testing

python main.py --cuda --test --save_path save/your_dir --model_path save/dir_save/SEEK_XXXX.XXX

Please be free to contact with us via wanglanrui@iie.ac.cn.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages