ROUGE评估方法给出零值

编程入门 行业动态 更新时间:2024-10-26 02:37:25
本文介绍了ROUGE评估方法给出零值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已按照 kavita-ganesan/rouge-howto中的说明设置了所有参数.但是我得到的精度召回和f-1的值为零.请帮我该怎么办?

I have set all parameters as discribed in kavita-ganesan/rouge-howto. But I get zero values of precision recall and f-1. Please, Help me what can i do?

推荐答案

如果正确设置了所有参数,并且在运行rouge时没有出现任何错误,则可能在将摘要文件制成html格式时发生了以下错误.

If you have set all parameters right and are not getting any error while running rouge then probably you are doing the following mistake while making your summary files in html format.

rouge does not handle whitespaces properly thus <a name="1">[1]</a> <a href="#1" id= 1> <a name="1">[1]</a> <a href="#1" id=1> are not the same

在第一种情况下,不会显示任何错误,但输出将为零.在第二种情况下,您将获得正确的输出.

In the first case you will not be shown any error but the output will be zero. In second case you get the right output.

希望这会有所帮助.

更多推荐

ROUGE评估方法给出零值

本文发布于:2023-11-02 08:03:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551830.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:方法   ROUGE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!