Skip to content

size mismatch for base model #39

@Redtides0

Description

@Redtides0

Hi, when I use the provided base_model to make an inference, during initialization, it report an error

size mismatch for blocks.xx.action_model.keyboard_embed.0.weight: copying a param with shape torch.Size([128, 6]) from checkpoint, the shape in current model is torch.Size([128, 4]).

What do these two extra dimensions represent?

Could you please guide me on how to resolve this issue?
I truly appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions