-
Notifications
You must be signed in to change notification settings - Fork 76
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
为什么bert预测结果全为“O” #6
Comments
您好,建议调一下BERT的学习率 |
我也遇到了相同的情况,在训练时显示还是准确率有98 但一旦预测也均为"O" |
我记得是需要调一下bert的学习率,尽量小一些。不好意思,我因为毕业的关系已经很久没有做相关的研究了所以没有重新整理相关的代码。
在 2020-12-05 15:02:56,"nicken" <[email protected]> 写道:
我也遇到了相同的情况,在训练时显示还是准确率有98 但一旦预测也均为"O"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
我这边确实将学习率调整后,由原先的2e-4调整为1e-5,后效果确实正常了,感谢 |
不客气的
在 2020-12-07 11:12:44,"nicken" <[email protected]> 写道:
我这边确实将学习率调整后,由原先的2e-4调整为1e-5,后效果确实正常了,感谢
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: