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

关于p-tuning中训练loss变为nan #35

Closed
effort-yq opened this issue Apr 30, 2022 · 1 comment
Closed

关于p-tuning中训练loss变为nan #35

effort-yq opened this issue Apr 30, 2022 · 1 comment

Comments

@effort-yq
Copy link

利用开源的代码,在自己的数据集上跑p-tuning,发现loss变为nan,查了之后模型输出的logit中的数据变为nan,这是什么原因啊,求助

@Xiao9905
Copy link
Member

Xiao9905 commented May 3, 2022

@effort-yq Hi,

这个问题感觉比较可能是你实现的数据集的故障,或者训练时lr之类的问题。请问有更详细的参考代码和你的实现细节么?

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