Code of LREC-COLING 2024 long paper "Would You Like to Make a Donation? A Dialogue System to Persuade You to Donate"
The PersuasionForGood dataset is from Wang et al., 2019. Persuasion for Good: Towards a Personalized Persuasive Dialogue System for Social Good.. You can refer to it for more details about the dataset.
- Run
preprocess.pyto preprocess the dataset - Run
main_bert.py/multilabel.pyto train and test a Persuasion Strategy Selection Module. - Run
train_gpt.pyto train a Natural Language Generation Module - Run
persuasiveness.pyto train and test a Persuasiveness Prediction Model - Run
eval.pyto evaluate the Natural Language Generation Module - Run
interact.pyto combine the Persuasion Strategy Selection Module and the Natural Language Generation Module into a persuasive dialogue system, and then you can talk to it!
If you use any source codes included in this repository in your work, please cite our paper:
@inproceedings{song2024would,
title={Would You Like to Make a Donation? A Dialogue System to Persuade You to Donate},
author={Song, Yuhan and Wang, Houfeng},
booktitle={Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
pages={17707--17717},
year={2024}
}