Skip to content

Runtime error when loading a pretrained model, ProQA (20 prompts+paq) #2

@starsuzi

Description

@starsuzi

Hello,

Thanks for sharing such an exciting work!

However, I am facing an error when loading the pretrained model, ProQA (20 prompts+paq).
Specifically, I met a Runtime error when I ran a zero-shot experiment, as follows:
RuntimeError: Error(s) in loading state_dict for T5ForConditionalGeneration: size mismatch for encoder.prompt_embeddings.weight: copying a param with shape torch.Size([480, 768]) from checkpoint, the shape in current model is torch.Size([2400, 768]).

I really appreciate any help you can provide. :)

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