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

'Namespace' object has no attribute 'pad_token_id' 请问这个问题怎么解决呢! #66

Open
Neuzly1 opened this issue Nov 18, 2023 · 2 comments

Comments

@Neuzly1
Copy link

Neuzly1 commented Nov 18, 2023

image
@hwei-hw
Copy link

hwei-hw commented Jan 5, 2024

我刚开始也遇到这个问题,后来将sat的版本从0.4.9降低到0.3.6,然后将transoformers的版本定在4.27.1,就没有错误了。
原因应该是checkpoint是旧版本的,不兼容新版本的sat。
希望对你有用~

@Neuzly1
Copy link
Author

Neuzly1 commented Jan 6, 2024 via email

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