Skip to content
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

代码存在一定的问题 #9

Open
stanleylsx opened this issue Aug 10, 2020 · 4 comments
Open

代码存在一定的问题 #9

stanleylsx opened this issue Aug 10, 2020 · 4 comments

Comments

@stanleylsx
Copy link

stanleylsx commented Aug 10, 2020

苏神在subject和object的抽取的时候使用的sigmoid,对模型中Linear层输出进行0和1的二分类,并且在预测的时候判定每个位置的概率是否大于0.5,但代码中好像没有对Linear层输出做任何处理,所以在跑的时候f1一直为0,因为在extract_items中根本就没有找到概率大于0.5的值。

@stanleylsx
Copy link
Author

希望作者大大看到能够解决下。

@zhengyima
Copy link
Owner

没问题。我看有几个其他issue也说F1为0,但当时代码我记得是没问题的。今明两天我看一下。

@yangrongzheng
Copy link

作者大大,F1跑的结果还是为0,希望作者大大能够解决一下,应该是还有一部分代码没有传上去

@aliveovo
Copy link

aliveovo commented Aug 2, 2022

没问题。我看有几个其他issue也说F1为0,但当时代码我记得是没问题的。今明两天我看一下。
请问作者大大解决了吗?代码是否有问题呀?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants