-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,我看了您的命名实体识别的代码,发现在评估代码的时候会出现,utf8错误,如果更改evesteps值为1,有结果但为nan,还有就是 out of index 怎么解决呀 #15
Comments
问一下,您说的out of index 是predict输出成文件部分的列表越界错误吗?作者好像在代码里加了注释说他也不清楚为什么。我测试了一下,发现它有的把CLS和SEP都预测错了,导致解码失败。我觉得可以强制规定预测的第一个元素就是[CLS],最后一个元素就是[SEP]。 |
您好,您解决了吗,就是预测的时候,出现out of index。具体怎么改能指导一下吗?方便的话可以qq联系吗(642516257,微信同号) |
OK |
您好,可以把方法po出来吗?具体怎么改呢? |
我这里把作者的result_to_pair函数的内容直接写在with open里面了,一些变量名字可能和作者的不一样,方法比较笨,但至少不报错了 |
感谢!!我现在就去试一下! |
您好,我看了您的命名实体识别的代码,发现在评估代码的时候会出现,utf8错误,如果更改evesteps值为1,有结果但为nan,还有就是 out of index 怎么解决呀
The text was updated successfully, but these errors were encountered: