Skip to content

Some confuse about position encoder #2

@GuoShi28

Description

@GuoShi28
  1. PE(pos, 2i) = sin(pos / 10000 ^ (2i/dim)), Why the parameter is set as 10000? Does this have some meaning for this task.

  2. I do not fully understand the position encoder. Why the sin and cos functions are alternant utilized?

Looking forward to your reply. Thank you.

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