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

新版transformers中已经没有WarmupLinearSchedule了 #3

Open
DrDavidS opened this issue Mar 9, 2020 · 1 comment
Open

新版transformers中已经没有WarmupLinearSchedule了 #3

DrDavidS opened this issue Mar 9, 2020 · 1 comment

Comments

@DrDavidS
Copy link

DrDavidS commented Mar 9, 2020

example中可能需要改为

from transformers import AdamW, get_linear_schedule_with_warmup

@lonePatient
Copy link
Contributor

@DrDavidS 目前的代码是把transformers源码download下来试用的,还是老版本,后续跟新成transformers=2.5.1版本

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