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

What is the purpose of positional offset in the rotary positional embedding implementation? #24

Open
ifed-ucsd opened this issue Jul 1, 2024 · 0 comments

Comments

@ifed-ucsd
Copy link

I was looking at the rotational position embedding code path (

) and noticed this comment:

rotary embedding - offset main positions by 10000, and keep all memories at position 0

What is the intuition for this design choice? I don't see this detail anywhere in the RMT papers; did I miss something? Do you have a reference that does this kind of offsetting?

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

1 participant