-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
KeyError: 'transformer.wte.weight' #4530
Comments
@h9-tect Did you figure it out? |
@dspasyuk Not yet |
Have you tried using convert-hf-to-gguf.py? |
@jadechip yeah, didn't work |
got same problem on starcoder 15B. |
@h9-tect any ubdates ؟ |
Nah |
The same problem is encountered with lama.cpp/convert.py, but convert-hf-to-gguf.py works. |
interesting update... I've tried
But the weight files contain 4 files instead of 5. Don't know where that came from...
Btw, starcoder works fine under |
This is because you have another file with "bin" type: training_args.bin . The way the converf-hf-to-gguf.py to count the number of weight files is simply to count the number of "*.bin". Just change the suffix of traning_args.bin will solve the problem.
|
ah, you are right. It has been solved. But it's still a little bit weird to just consider the suffix instead the whole file name, right? Does this mean this is a bug that needs to be fixed? |
Hi,
Thank you! |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Hi there. Is there any update for this issue? I am using JAIS model and meeting the same error. |
i met this issue in glm |
Hello I having this issue while converting the model
The text was updated successfully, but these errors were encountered: