-
Notifications
You must be signed in to change notification settings - Fork 481
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: 'ChatGLMTokenizer' object has no attribute 'sp_tokenizer' #124
Comments
+1, is that solved? |
alright I solved this just now, by reinstall 4.27.1 transformers, problem here in my environment can be solved. |
|
thank you,solved |
move line "self.sp_tokenizer = SPTokenizer(vocab_file, num_image_tokens=num_image_tokens) " before "super().init(" at "init" of class ChatGLMTokenizer can solve this issue. |
check if you are using ChatGLM1 but no ChatGLM2 |
4.27.1 not run on my computer. Exception has occurred: RuntimeError |
No description provided.
The text was updated successfully, but these errors were encountered: