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

PushToHubMixin找不到 #4

Open
lixiang1991 opened this issue Mar 20, 2023 · 1 comment
Open

PushToHubMixin找不到 #4

lixiang1991 opened this issue Mar 20, 2023 · 1 comment

Comments

@lixiang1991
Copy link

一运行就报这里找不到PushToHubMixin的错误:from transformers.utils import PushToHubMixin。
猜就是transformers的版本问题。你这个requirement里transformers >=4.16,一开始我的是4.18就报错,然后我又换成4.16、4.17、4.11都是这个错。最后改成4.22就好了。

建议修改下transformers的版本号。

@ssbuild
Copy link
Owner

ssbuild commented Mar 20, 2023

感谢反馈,已更正。

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