-
Notifications
You must be signed in to change notification settings - Fork 1k
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
mpt-1b fails with mpt_model_load: unknown tensor 'transformer.blocks.0.attn.k_ln.weight' in model file #499
Comments
7b version and 1b version seem to have identical code around |
So here is what I tried It compiles and runs yet it fails in terms of output quality due to the difference in QK LayerNorm (two layers) used MPT-1b and missing in MPT-7b. Blocks look like:
|
Fixed it here. Now MPT 1b works correctly, yet all layers of MPT 1b are named differently so it is not clearly mergeable... So add a new folder with only MPT 1b or make the MPT sample to autodetect? Example output 32bit:
Example output 16bit:
|
Maybe try to make the MPT example auto detect. |
I want to load mpt-1b-redpajama-200b-dolly.
I converted it to ggml with:
which logged
to do that I changed 2 lines in
convert-h5-to-ggml
Now I try to run it with:
Getting
Could you please tell me what steps shall be performed to enable model loading (as it shall be quite similar to MPT)?
The text was updated successfully, but these errors were encountered: