skywalker023 / sodaverse

🥤🧑🏻‍🚀Code and dataset for our EMNLP 2023 paper - "SODA: Million-scale Dialogue Distillation with Social Commonsense Contextualization"
https://aclanthology.org/2023.emnlp-main.799/
MIT License
221 stars 13 forks source link

Fixed a bug for conversational_history #8

Closed jianguoz closed 1 year ago

jianguoz commented 1 year ago

@skywalker023 add self.reset_history() when user_input=="[END]". Otherwise the current conversational history will accumulate to the new conversation if user taps "Y".

skywalker023 commented 1 year ago

Thanks so much for the contribution!