Skip to content

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

Description

@ifed-ucsd

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions