-
Notifications
You must be signed in to change notification settings - Fork 67
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
Phi-2 Model Load Error #2
Comments
Yes, you're correct. The issue you're encountering is likely due to a recent update in the phi-2 model configuration that removed or altered the n_embd attribute. To resolve this, I recommend using the phi-2 model version associated with the specific commit mentioned below. This version does not include the recent changes that are causing the error you're experiencing. |
I truly appreciate your help. Thank you so much. |
I got the 'PhiConfig' object has no attribute 'n_embd', what should I do?
I am trying to load it from huggingface and convert the trained model into an RKLLM format model, but the error occurred. I think it might caused by the update, can anyone tell me the version of phi-2 without this update?
THx🙏
The text was updated successfully, but these errors were encountered: