<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/extending-the-rope-jonzmt2tf" -->

---
title: Extending the RoPE | daily.dev
description: EleutherAI researchers present a comprehensive overview of techniques for extending the context window of LLMs that use Rotary Position Embedding (RoPE)....
canonical: https://daily.dev/posts/extending-the-rope-jonzmt2tf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Extending the RoPE | daily.dev
og:description: EleutherAI researchers present a comprehensive overview of techniques for extending the context window of LLMs that use Rotary Position Embedding (RoPE)....
og:url: https://daily.dev/posts/extending-the-rope-jonzmt2tf
og:image: https://api.daily.dev/og/posts/jONZmT2Tf.png
og:image:alt: Extending the RoPE
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Extending the RoPE

**[EleutherAI](https://daily.dev/sources/eleutherai)** · 6 min read · 0 upvotes · 0 comments

## Summary

EleutherAI researchers present a comprehensive overview of techniques for extending the context window of LLMs that use Rotary Position Embedding (RoPE). Starting from the basics of RoPE, the post covers Position Interpolation (PI), NTK-aware interpolation, NTK-by-parts interpolation, and dynamic scaling. It culminates in YaRN (Yet another RoPE extensioN method), which combines NTK-by-parts interpolation with attention temperature scaling to achieve better perplexity on extended context windows. Practical guidance is provided for applying YaRN to models like LLaMA 2 and Mistral-7B, including a 128k context fine-tuned variant.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.eleuther.ai/yarn>

## Similar posts on daily.dev

- [Rotary Position Embeddings for Long Context Length](https://daily.dev/posts/rotary-position-embeddings-for-long-context-length-n3cyl08i3) · Machine Learning Mastery · 0 upvotes · 0 comments
- [RoPE, Clearly Explained](https://daily.dev/posts/rope-clearly-explained-ar0nzwulr) · Towards Data Science · 1 upvotes · 0 comments
- [DeepSeek-V3 Model: Theory, Config, and Rotary Positional Embeddings](https://daily.dev/posts/deepseek-v3-model-theory-config-and-rotary-positional-embeddings-41zyy7c6r) · PyImageSearch · 1 upvotes · 0 comments
- [A new way to increase the capabilities of large language models](https://daily.dev/posts/a-new-way-to-increase-the-capabilities-of-large-language-models-yaplofwyl) · MIT News · 1 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#transformers](https://daily.dev/tags/transformers)

[View this post on daily.dev](https://daily.dev/posts/extending-the-rope-jonzmt2tf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Extending the RoPE","url":"https://daily.dev/posts/extending-the-rope-jonzmt2tf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/extending-the-rope-jonzmt2tf"},"datePublished":"2026-08-02T07:04:30.700Z","dateModified":"2026-08-02T07:16:12.589Z","description":"EleutherAI researchers present a comprehensive overview of techniques for extending the context window of LLMs that use Rotary Position Embedding (RoPE)....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e43f3c67ed43221a3e683b0802902c35?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e43f3c67ed43221a3e683b0802902c35?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"EleutherAI","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"EleutherAI","logo":"https://media.daily.dev/image/upload/s--aAcRyWGF--/f_auto,q_auto/v1785654263/logos/eleutherai","url":"https://daily.dev/sources/eleutherai"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/extending-the-rope-jonzmt2tf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,transformers","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"EleutherAI","item":"https://daily.dev/sources/eleutherai"},{"@type":"ListItem","position":3,"name":"Extending the RoPE"}]}
```

