-
Notifications
You must be signed in to change notification settings - Fork 5
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
Missing key(s) in state_dict #7
Comments
Please shows the entire error? |
I met the problem too. when I use CodeLlama-7b-hf and processed_code's ptorch_model.bin, the entire error is: RuntimeError Traceback (most recent call last) File /mnt/workspace/workgroup/pinyuan/ENV/posterlmama/lib/python3.9/site-packages/torch/nn/modules/module.py:2581, in Module.load_state_dict(self, state_dict, strict, assign) RuntimeError: Error(s) in loading state_dict for MiniGPT4: |
Thanks for sharing the code, when I was running the demo, I downloaded the pre-trained model, but reported an error.
The text was updated successfully, but these errors were encountered: