-
Notifications
You must be signed in to change notification settings - Fork 982
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
position embedding is not saved #495
Comments
Rotary positional embeddings are calculated in advance. They do not change during training and therefore there's no need to save them. To obtain the desired positional embeddings, you can simply calculate them using the formula. |
thanks, |
Yes absolute positional embeddings is an option. You can check out |
I am trying to recover position embedding for a trained model (rotary embedding) from the checkpoint folder, however its not in any of the pt files. how can I save position embedding?
The text was updated successfully, but these errors were encountered: