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

疑问 #11

Open
xiaohao421 opened this issue Mar 24, 2024 · 0 comments
Open

疑问 #11

xiaohao421 opened this issue Mar 24, 2024 · 0 comments

Comments

@xiaohao421
Copy link

加载权重后输出这些信息正常吗

Some weights of the model checkpoint at ./ckpt/Lenna-7B were not used when initializing LennaForCausalLM: ['model.visual_model.encoder.fusion_layers.1.weight_l', 'model.visual_model.encoder.fusion_layers.3.weight_v', 'model.visual_model.encoder.fusion_layers.4.weight_v', 'model.visual_model.encoder.fusion_layers.2.weight_l', 'model.visual_model.encoder.fusion_layers.5.weight_v', 'model.visual_model.encoder.fusion_layers.0.weight_l', 'model.visual_model.encoder.fusion_layers.3.weight_l', 'model.visual_model.encoder.fusion_layers.4.weight_l', 'model.visual_model.encoder.fusion_layers.1.weight_v', 'model.visual_model.encoder.fusion_layers.5.weight_l', 'model.visual_model.encoder.fusion_layers.2.weight_v', 'model.visual_model.encoder.fusion_layers.0.weight_v']
- This IS expected if you are initializing LennaForCausalLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing LennaForCausalLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of LennaForCausalLM were not initialized from the model checkpoint at ./ckpt/Lenna-7B and are newly initialized: ['model.visual_model.encoder.fusion_layers.4.gamma_l', 'model.visual_model.encoder.fusion_layers.1.gamma_l', 'model.visual_model.encoder.fusion_layers.0.gamma_v', 'model.visual_model.encoder.fusion_layers.3.gamma_l', 'model.visual_model.encoder.fusion_layers.4.gamma_v', 'model.visual_model.encoder.fusion_layers.5.gamma_l', 'model.visual_model.encoder.fusion_layers.2.gamma_l', 'model.visual_model.encoder.fusion_layers.1.gamma_v', 'model.visual_model.encoder.fusion_layers.3.gamma_v', 'model.visual_model.encoder.fusion_layers.0.gamma_l', 'model.visual_model.encoder.fusion_layers.5.gamma_v', 'model.visual_model.encoder.fusion_layers.2.gamma_v']
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

1 participant