Skip to content
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

Not able to load the finetuned model #375

Closed
simplelifetime opened this issue Jul 13, 2024 · 1 comment
Closed

Not able to load the finetuned model #375

simplelifetime opened this issue Jul 13, 2024 · 1 comment
Assignees

Comments

@simplelifetime
Copy link

I finetune InternLM-Xcomposer-2.0 with the official finetune script. However, I get the below warning when loading the finetuned model:
Some weights of InternLMXComposer2ForCausalLM were not initialized from the model checkpoint at /nas/data/jkliew/IXL-2-VL-finetuned and are newly initialized: ['model.layers.0.attention.wo.Plora_A.weight', 'model.layers.0.attention.wo.Plora_B.weight', 'model.layers.0.attention.wo.weight', 'model.layers.0.attention.wqkv.Plora_A.weight', 'model.layers.0.attention.wqkv.Plora_B.weight', 'model.layers.0.attention.wqkv.weight', 'model.layers.0.attention_norm.weight', 'model.layers.0.feed_forward.w1.Plora_A.weight', 'model.layers.0.feed_forward.w1.Plora_B.weight', 'model.layers.0.feed_forward.w1.weight', 'model.layers.0.feed_forward.w2.Plora_A.weight', 'model.layers.0.feed_forward.w2.Plora_B.weight' .....]
The output of this fine-tuned model is all random chars with no actual meaning, what's causing this error?

@zhuraromdev
Copy link

@myownskyW7 How did you solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants