We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I train the models with amp, we find the model cannot be Converged.
I find that there are some bugs in /easynlp/core/trainer.py, as shown in follow:
I analyze: the code in the red box means clearing grads, but when using amp, it cannot execute this code, which cause the problem.
Now I have resolved it and will commit a pull request in the latter.
We recommend using optimizer with amp in the following four settings:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I train the models with amp, we find the model cannot be Converged.
I find that there are some bugs in /easynlp/core/trainer.py, as shown in follow:
I analyze: the code in the red box means clearing grads, but when using amp, it cannot execute this code, which cause the problem.
Now I have resolved it and will commit a pull request in the latter.
We recommend using optimizer with amp in the following four settings:
The text was updated successfully, but these errors were encountered: