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

模型在其他数据集下计算时,F1效果不佳,从何下手? #24

Open
Joel4U opened this issue Feb 25, 2023 · 1 comment
Open

Comments

@Joel4U
Copy link

Joel4U commented Feb 25, 2023

请问作者,目前使用该模型,对其他数据集进行实验时,比如 ontonotes 5.0 中文,效果并不理想,F1 才到22。百思不得其解。调整了学习率还是不佳,请教应从哪个角度着手解决呢?

@Joel4U Joel4U changed the title 模型在验证集上计算时,出现logits都是负数的情况,会是什么问题引起的呢? 模型在其他数据集下计算时,F1效果不佳,从何下手? Feb 27, 2023
@gaohongkui
Copy link
Owner

gaohongkui commented Mar 23, 2023

可以尝试更换预训练模型
或者调整超参数,例如学习率、优化器、scheduler 等
如果都没有效果的话,也可能是代码有问题,你可以试试苏剑林原版的实现 https://github.com/bojone/GlobalPointer 是否也有这个问题。如果原版实验效果好的话,欢迎反馈

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

2 participants