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

In file train.py line 13 (get_linear_schedule_with_warmup import) #2

Closed
VolodymyrGavrysh opened this issue Mar 14, 2020 · 0 comments
Closed

Comments

@VolodymyrGavrysh
Copy link

In file train.py line 13
from transformers import get_linear_schedule_with_warmup

it is better to change to

from transformers import WarmupLinearSchedule as get_linear_schedule_with_warmup

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

1 participant