-
Notifications
You must be signed in to change notification settings - Fork 306
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
ChatGLM3训练时报错TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType #127
Comments
你应该是模型目录(ChatGLM3-6B)里缺东西 |
确保ChatGLM3-6B文件夹中,模型文件、tokenizer文件都是全的 |
你的transformer版本是多少 |
4.36.2 |
可以切到4.33试一下 |
好的我试下 |
切到4.33还是一样的问题,太奇怪了哈哈 |
感觉不是路径的问题,我用绝对路径也报错 |
你的环境配置是多少,可以按照requestments配置一下 |
File "/home/wangyingli/.local/lib/python3.9/site-packages/transformers/utils/init.py", line 18, in
|
环境按照requirments.txt重新装了一遍,并且换成GLM2也还是不行,报同样的错误。。。 |
同上,我也是同样的问题 |
重新下载模型,模型的问题 |
运行脚本如下:
报错如下:
麻烦聪哥看下这是什么问题导致的,弄一晚上了没解决
The text was updated successfully, but these errors were encountered: