Skip to content

weight not match model #391

@ZejunCao

Description

@ZejunCao

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions