stanfordnlp / cocoa

Framework for learning dialogue agents in a two-player game setting.
MIT License
158 stars 62 forks source link

Natural Language Generation for Dealornodeal #52

Closed rzhao1 closed 5 years ago

rzhao1 commented 5 years ago

When I run self-play mode in the task of Dealornodeal, two agent will communicate in the dialogue act level. How can I turn those dialogue acts into natural language? Thank you!

hhexiy commented 5 years ago

You can use retrieved templates. See here: https://github.com/stanfordnlp/cocoa/blob/master/dealornodeal/sessions/rulebased_session.py#L136. However, it's not straightforward to backprop through the sentence.