ZJULearning / ReDR

Code for ACL 2019 paper "Reinforced Dynamic Reasoning for Conversational Question Generation".
41 stars 15 forks source link

Could you show more detail parameters about ROUGE and BLEU? #6

Open kugwzk opened 4 years ago

kugwzk commented 4 years ago

Hello, @ByronPan . I tried your code and got a pred.txt, and also get similar results about the diversity. However, I only got BLEU = 3.93, 38.4/6.9/2.6/1.3 (BP=0.716, ratio=0.750, hyp_len=38839, ref_len=51813) and for ROUGE ROUGE(1/2/3/L/SU4): 19.61/5.65/1.85/19.32/8.48. I think you said use a smooth BLEU so how could I got this script? And as for the rouge, could you please show more detail about the test_rouge script. Thanks a lot.

zzs-NLP commented 4 years ago

Hi~ I have a similar problem but I don't know how to solve it. TypeError: forward() missing 1 required positional argument: 'history_lengths' How did you solve it? Thank you very much!

zzs-NLP commented 4 years ago

@kugwzk

kugwzk commented 4 years ago

@zzs-NLP , I didn't remember I met this problem. Maybe you can add 'history_len' in the parameter list?

zzs-NLP commented 4 years ago

@kugwzk Ok, thank you very much for your advice, I will try it again~