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

weight not match model #391

Open
ZejunCao opened this issue Aug 15, 2024 · 0 comments
Open

weight not match model #391

ZejunCao opened this issue Aug 15, 2024 · 0 comments

Comments

@ZejunCao
Copy link

RuntimeError: Error(s) in loading state_dict for Model:
Missing key(s) in state_dict: "decoder.net.token_emb.emb.weight", "decoder.net.attn_layers.layers.0.0.0.gamma", "decoder.net.attn_layers.layers.1.0.0.gamma", "decoder.net.attn_layers.layers.2.0.0.gamma", .............
Unexpected key(s) in state_dict: "decoder.net.norm.weight", "decoder.net.norm.bias", "decoder.net.token_emb.weight", "decoder.net.attn_layers.layers.0.0.weight", "decoder.net.attn_layers.layers.0.0.bias", ...........

The weight downloaded as required does not match the model. Does anyone know how to slove it?

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