-
Notifications
You must be signed in to change notification settings - Fork 82
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
AttributeError: 'SequenceClassifierOutput' object has no attribute 'last_hidden_state' #28
Comments
transformers版本是多少? |
hi @shenlei1020 , transformers 的版本是 4.38.2 |
不超过4.37,建议用4.36 |
还是同样的 error |
hi @shenlei1020 , 可以帮忙看一下吗?已经更换了版本但是依然报错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我从hf上将模型下载到本地,运行 embedding 的时候,遇到 error 如下:
AttributeError: 'SequenceClassifierOutput' object has no attribute 'last_hidden_state'
请问应该如何解决,谢谢!
同时我看到有这些log,请问需要关注吗?
The text was updated successfully, but these errors were encountered: