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

transformers最新版本会报错 #45

Open
somewordstoolate opened this issue Nov 26, 2023 · 2 comments
Open

transformers最新版本会报错 #45

somewordstoolate opened this issue Nov 26, 2023 · 2 comments

Comments

@somewordstoolate
Copy link

使用transformers==4.35.2时会报错:AttributeError: 'ChatGLMTokenizer' object has no attribute 'tokenizer'、
需要修改requirement.txt 的tranformers==4.33.2

@Henry199898
Copy link

transformers==4.33.2, 单词拼错了,少个s

@foldleaf
Copy link

根据requirement.txt新建了一个venv,还是会报错:AttributeError: 'ChatGLMTokenizer' object has no attribute 'tokenizer'. Did you mean: 'tokenize'?

noahc1510 added a commit to noahc1510/baby-llama2-chinese that referenced this issue Mar 30, 2024
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

3 participants