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

Getting error on lm-evaluation for merged models deployed on HF #1823

Closed
tolgakurtuluss opened this issue May 11, 2024 · 3 comments
Closed

Comments

@tolgakurtuluss
Copy link

Hi there,

Getting below error message while trying to evaluate fine-tuned and merged model. Any thoughts or solutions?

ValueError( ValueError: Trying to set a tensor of shape torch.Size([44312, 4096]) in "weight" (which has shape torch.Size([48353, 4096])), this look incorrect.

@haileyschoelkopf
Copy link
Contributor

Hi,

could you share more details about what you're trying to run? It looks like an embedding layer shape mismatch --potentially see #1707 for more info

@haileyschoelkopf
Copy link
Contributor

Should be fixed by #1828

@tolgakurtuluss
Copy link
Author

Removing unnecessary padded tokens fixed the issue. Thanks!

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

2 participants