Skip to content

size mismatch #15

@Bingtai1015

Description

@Bingtai1015

在使用biaobei.py里的get_char_embedding_from_bert生成expanded_embeds.pkl时显示如下,该怎么解决呀?
size mismatch for bert.embeddings.position_embeddings.weight: copying a param with shape torch.Size([512, 1024]) from checkpoint, the shape in current model is torch.Size([512, 768]).

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