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

After insert special tokens,Have changed lm_head dimension? #98

Open
wyclike opened this issue Jan 1, 2025 · 1 comment
Open

After insert special tokens,Have changed lm_head dimension? #98

wyclike opened this issue Jan 1, 2025 · 1 comment

Comments

@wyclike
Copy link

wyclike commented Jan 1, 2025

After reading the code of finetune.py, I am confused about the fact that after adding special tokens, only the embedding dimensions were modified, but it seems that the dimensions of the lm_head were not adjusted. Is this intentional?

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
@wyclike and others