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

Add qwen2 tie word embedding #630

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Add qwen2 tie word embedding #630

merged 1 commit into from
Jul 16, 2024

Conversation

yileld
Copy link
Contributor

@yileld yileld commented Jul 16, 2024

Qwen2 1.5B uses tie word embedding, which is different from other Qwen2 model. So we should add a step to load lm_head's weight from embed_tokens layer.

@Ying1123 Ying1123 merged commit fe3be15 into sgl-project:main Jul 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants