-
Notifications
You must be signed in to change notification settings - Fork 439
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
Merging fails with RuntimeError: weight required but not present in model #284
Comments
maybe an example of how to frankenmerge with passthrough? |
Hey there, thank you for the detailed issue. This is definitely a bug As of now for a quick quick fix for this to make it work on your end is to go here and that should hopefully get you going with your current config That said, we will be putting a bug fix soon |
I'll try that in a local branch and wait for the fix! thanks |
Thanks for the bug report! PR #295 should fix this issue. If you run into any further trouble please let me know - the BERT support is quite fresh and I appreciate knowing where it fails. |
Hi Charles! Thanks for the great work! I am encountering similar issues. I am using phi-1 and phi-1.5 models, the config yml file is as follows.
Both phi-1 and phi-1.5 give me the following feedback. (I also tried Tinyllama, it also gave me the same issue)
In addition, how can I run the same yml config for phi-3 model, whose architecture is currently not included in the package? Thanks! |
@yaof20 This is because As for Phi-3 - I'll add support for it in the next couple of days! |
Thanks for the reply! |
I'm trying to merge some embedding models with this config file. the architectures are similar but I think it is erroring out on some names of layers? Would love some suggestions on how to change the yaml to make it work.
YAML config:
Error
CLI used
The text was updated successfully, but these errors were encountered: