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

Please tell me the requirement of huggingface #5

Open
zhaojunGUO opened this issue Jan 29, 2023 · 0 comments
Open

Please tell me the requirement of huggingface #5

zhaojunGUO opened this issue Jan 29, 2023 · 0 comments

Comments

@zhaojunGUO
Copy link

zhaojunGUO commented Jan 29, 2023

hello, i find that the pretrained model can't be loaded beacause "size mismatch for transformer.h.0.attn.bias: copying a param with shape torch.Size([1, 1, 512, 512]) from checkpoint, the shape in current model is torch.Size([1, 1, 513, 513]).
size mismatch for transformer.h.1.attn.bias: copying a param with shape torch.Size([1, 1, 512, 512]) from checkpoint, the shape in current model is torch.Size([1, 1, 513, 513]). " could you tell me the version of the huggingface?

@zhaojunGUO zhaojunGUO changed the title Please tell Please tell me the requirement of huggingface Jan 29, 2023
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