Closed yuboxie closed 5 years ago
Hi there! To answer your questions:
Thank you for your response! Actually the second question was, on what data did you train the emotion classifier that predicted the emotion labels in ED? Thanks!
Sure thing! For the emotion classifier that predicted the emotion labels used for EmoPrepend-1/3/5, the data that we trained on was the ED dataset itself, namely, the situation/emotion-label pairs. Lemme know if this answers your question - otherwise I'm happy to elaborate further!
If you trained the emotion classifier on the ED dataset, why did you do the prediction on ED again in the code (empchat.py
)? Also, it seems that you prepend the topic instead of the emotion label: https://github.com/facebookresearch/EmpatheticDialogues/blob/f6352667bb1547ebeac68cd07932597a49f0167d/empchat/datasets/empchat.py#L135
Doing the prediction on the ED dataset allows us to prepend more than 1 emotion label: for instance, we can prepend the top-5 most likely emotions, as seen with EmoPrepend-5 in table 7. And, yes, for TopicPrepend we prepend one or more topic labels using the mapping in topicmap
: if we're doing EmoPrepend, though, our emotion label won't be in topicmap
, and so the prepended label will just be the emotion itself (see the second arg in topicmap.get()
).
Ah I see :) Thanks for the clarification!
No problem :)
Hi there,
I have a few questions regarding the emotion classifier in the EmoPrepend model:
Thanks for your response!