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

请问如果用自己的数据进行微调的话,怎么解决模块加载时,形状不匹配的问题? #165

Open
Wbxxx opened this issue May 25, 2023 · 0 comments

Comments

@Wbxxx
Copy link

Wbxxx commented May 25, 2023

RuntimeError: Error(s) in loading state_dict for Embedding:
size mismatch for weight: copying a param with shape torch.Size([18993, 256]) from checkpoint, the shape in current model is torch.Size([2559, 256]).

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