thu-coai / Emotional-Support-Conversation

Data and codes for ACL 2021 paper: Towards Emotional Support Dialog Systems
Other
241 stars 32 forks source link

tr_loss1, logging_loss1 = 0.0, 0.0 #26

Open luohua-yu opened 1 year ago

luohua-yu commented 1 year ago

您好,在复现代码的时候,有个细节请教您以下:tr_loss1记录的是什么?在源码中 if args.strategy: tr_loss1 += outputs[1].mean().item() 计算得到tr_loss1,之后使用它计算ppl,这里的又是什么含义呢?(不是困惑度啊)

chujiezheng commented 6 months ago

@lsy641