Unpaired-Sentiment-Translation icon indicating copy to clipboard operation
Unpaired-Sentiment-Translation copied to clipboard

bleu评测疑问

Open liuyyy0866 opened this issue 6 years ago • 3 comments

尊敬的作者您好, 我完成了train,运行test,现在acc能达到80%,但bleu只有不到0.3,请问是程序哪里出问题了吗?还是说我对bleu的理解有错误?请问bleu的计算就如代码中那样就ok吗? image

liuyyy0866 avatar Oct 10 '18 02:10 liuyyy0866

您好,此处的0.28就是指的28的bleu,两者是等价的,只不过是度量值不同而已。nltk返回的bleu的取值范围为0到1,详情可参阅nltk文档。就像accuray一样,假设实际值为0.82 /1,大家汇报的结果一般会乘以100%为82/100。

jingjingxupku avatar Oct 10 '18 03:10 jingjingxupku

明白了,非常感谢! BTW,论文中所展示的别的论文的BLEU结果也都是乘以100%的对吗?

liuyyy0866 avatar Oct 10 '18 07:10 liuyyy0866

是的

jingjingxupku avatar Oct 10 '18 09:10 jingjingxupku