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

使用RoFormerTokenizer出现错误 #21

Open
zyh3826 opened this issue Dec 7, 2021 · 4 comments
Open

使用RoFormerTokenizer出现错误 #21

zyh3826 opened this issue Dec 7, 2021 · 4 comments

Comments

@zyh3826
Copy link

zyh3826 commented Dec 7, 2021

config = RoFormerTokenizer.from_pretrained(XXX)
ModuleNotFoundError: No module named 'transformers.models.imagegpt'
使用transformers的没有错误

@JunnYu
Copy link
Owner

JunnYu commented Dec 7, 2021

更新一下transformers到4.12.5 试试

@zyh3826
Copy link
Author

zyh3826 commented Dec 9, 2021

您好,我的roformer版本是0.3.0,transformers是4.12.5

@JunnYu
Copy link
Owner

JunnYu commented Dec 9, 2021

我的正常,你可以重新装一下这两个库。
image

@zyh3826
Copy link
Author

zyh3826 commented Dec 13, 2021

我的正常,你可以重新装一下这两个库。 image

重装了,还是不行,我在docker里也搞了,一样出错

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