Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMs [EMNLP 2023 Findings]
This is the repo for the CUHK, HIT Dialogue CoT project, which aims to build and share our evaluation benchmarks and our methods to generate personalized, empathetic, and compassionate responses. The repo contains:
- The 3.0K data (500 for each dataset) used for evaluating the model publicly and we save another half of the data for private evaluation.
- The demo for chatting with the model incorporating our capability.
- The case study of different datasets.
- The code for generating the data, released soon.
- The code for evaluating the model, released soon.
Note:
- We will publish cot-tuning model soon. Please stay tuned.
- Usage and License Notices: We use Open AI API to generate some part of our evaluation data. The datasets should not be used outside of research purposes.
- The part of constructed datasets are based on several existing research works. Please cite them and following their used policy if you used corresponding evaluation data.
- We would not release our evaluation data based on PsyQA, adhering to the private policy of the original paper. However, if you have access to the PsyQA, the evaluation data could be automatically constructed by our provided scripts here.
![image](https://private-user-images.githubusercontent.com/26263128/278913960-f3fb84c5-403a-4544-8e19-314b2caab7b5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxOTY4NDcsIm5iZiI6MTcyMDE5NjU0NywicGF0aCI6Ii8yNjI2MzEyOC8yNzg5MTM5NjAtZjNmYjg0YzUtNDAzYS00NTQ0LThlMTktMzE0YjJjYWFiN2I1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDE2MjIyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1ODRkOGViZjMxMWM0YWEyOGQ2YTFkM2JlMmYzYzk5NDI0MTA1YjBmYWUwNmY4ZDA3MDBmMjVhYjVlZGE1ZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2hHvDSXsKaR5ZCaGJAZNTNEULWeGeNsNBrjBi3mTHxg)
![image](https://private-user-images.githubusercontent.com/26263128/278913919-8bcb3a53-ae2e-4549-8636-26da4857d22e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxOTY4NDcsIm5iZiI6MTcyMDE5NjU0NywicGF0aCI6Ii8yNjI2MzEyOC8yNzg5MTM5MTktOGJjYjNhNTMtYWUyZS00NTQ5LTg2MzYtMjZkYTQ4NTdkMjJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDE2MjIyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViNzczNzJjODJiNjY1MWRhMGZiZTcxYzBhMDY5MjZlOGY4OThlY2RmZDkxNzZiZmFlNGFmNGJlYjMyZmVmMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qdQu2l2Q6VSIQRIu1xMqsMm4e55pBM7DcJ0m4l8Yvkc)
Step1: put your OpenAI Key in web_demo/config.json
Step2: directly run the command: python web_demo/web.py
Pls use browser to open web_demo/index.html
We want to thank all realted open-source projects, especially but not limited to the following:
https://github.com/LianjiaTech/BELLE/
https://github.com/THUDM/ChatGLM-6B
https://github.com/kaixindelele/ChatPaper and
https://github.com/lm-sys/FastChat/
...
@misc{wang2023cuecot,
title={Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMs},
author={Hongru Wang and Rui Wang and Fei Mi and Yang Deng and Zezhong Wang and Bin Liang and Ruifeng Xu and Kam-Fai Wong},
year={2023},
eprint={2305.11792},
archivePrefix={arXiv},
primaryClass={cs.CL}
}