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

Problems arising from Inferrence #7062

Open
1 task done
yaosheng-zhang opened this issue Feb 25, 2025 · 2 comments
Open
1 task done

Problems arising from Inferrence #7062

yaosheng-zhang opened this issue Feb 25, 2025 · 2 comments
Labels
bug Something isn't working pending This problem is yet to be addressed

Comments

@yaosheng-zhang
Copy link

Reminder

  • I have read the above rules and searched the existing issues.

System Info

我是用Codellama 和 Starcoder2 lora训练完成后,进行推理出现下面的问题,但是之前deepSeekcoder就没有问题

[rank1]: size mismatch for base_model.model.model.embed_tokens.modules_to_save.default.weight: copying a param with shape torch.Size([32064, 4096]) from checkpoint, the shape in current model is torch.Size([32016, 4096]).
[rank1]: size mismatch for base_model.model.lm_head.modules_to_save.default.weight: copying a param with shape torch.Size([32064, 4096]) from checkpoint, the shape in current model is torch.Size([32016, 4096]).

Reproduction

Put your message here.

Others

No response

@yaosheng-zhang yaosheng-zhang added bug Something isn't working pending This problem is yet to be addressed labels Feb 25, 2025
@hiyouga
Copy link
Owner

hiyouga commented Feb 25, 2025

set resize_vocab at inference

@yaosheng-zhang
Copy link
Author

Image 并未看到有

resize_vocab 选项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending This problem is yet to be addressed
Projects
None yet
Development

No branches or pull requests

2 participants