News for hackers. Stuff that matters.
Re:What Is Rotary Position Embeddings (Rope) Scaling? by rvanbruggen on Tuesday April 02, 2024 @09:53AM (#39905789)
LLMs rely on Rotary Position Embeddings (RoPE) to understand the relative position of words within a sequence. Each word in the sequence is assigned a unique embedding based on its position. This embedding is calculated using a combination of sine and cosine functions, incorporating its distance from the beginning and end of the sequence. However, standard RoPE struggles with longer sequences than those encountered during training.

There are no comments on this comment yet.