<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Extending Context Window of Large Language Models via Positional Interpolation · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2306.15595/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2306.15595/feed.xml" rel="self" type="application/rss+xml" /><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by nulld3v</title><link>https://news.ycombinator.com/item?id=38972109</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:38972109</guid><pubDate>Fri, 12 Jan 2024 18:43:26 GMT</pubDate><description>&lt;p&gt;RoPE scaling has been a thing for a while already: https://arxiv.org/abs/2306.15595 Does anybody know what the difference is between the approach in OP vs other RoPE scaling approaches?&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by filterfiber</title><link>https://news.ycombinator.com/item?id=38477756</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:38477756</guid><pubDate>Thu, 30 Nov 2023 19:13:01 GMT</pubDate><description>&lt;p&gt;Yes! The obvious answer is to just increase your positions and train for that. This requires a ton of memory however (context length is squared) so most are currently training at 4k/8k and then finetuning higher similar to many of the image models. However there&amp;#x27;s been some work that to &amp;quot;get extra milage&amp;quot; out of the current models so-to speak with rotary positions and a few other tricks. These in combination with finetuning is the current method many are using at the moment IIRC. Here&amp;#x27;s a decent overview https://aman.ai/primers/ai/context-length-extension/ Rope…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by ZeroCool2u</title><link>https://news.ycombinator.com/item?id=36775953</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:36775953</guid><pubDate>Tue, 18 Jul 2023 17:15:23 GMT</pubDate><description>&lt;p&gt;See: https://arxiv.org/abs/2306.15595 &amp;quot;We present Position Interpolation (PI) that extends the context window sizes of RoPE-based pretrained LLMs such as LLaMA models to up to 32768 with minimal fine-tuning (within 1000 steps), while demonstrating strong empirical results on various tasks that require long context, including passkey retrieval, language modeling, and long document summarization from LLaMA 7B to 65B. Meanwhile, the extended model by Position Interpolation preserve quality relatively well on tasks within its original context window. To achieve this goal, Position Interpolation…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by moffkalast</title><link>https://news.ycombinator.com/item?id=36775156</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:36775156</guid><pubDate>Tue, 18 Jul 2023 16:29:26 GMT</pubDate><description>&lt;p&gt;Here&amp;#x27;s some more info on it: https://arxiv.org/pdf/2306.15595.pdf https://www.reddit.com/r/LocalLLaMA/comments/14lz7j5/ntkawar... https://www.reddit.com/r/LocalLLaMA/comments/14mrgpr/dynamic... In short, the context is just an array of indexes passed along with the data, which can be changed to floats and encode more sparsely to scale to an arbitrarily small or large context. It does need some tuning of the model to work well though afaik. What&amp;#x27;s funnier is that Meta came up with it (that paper is theirs) and somehow didn&amp;#x27;t bother including it in LLama 2.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by knaik94</title><link>https://news.ycombinator.com/item?id=36517678</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:36517678</guid><pubDate>Thu, 29 Jun 2023 08:00:56 GMT</pubDate><description>&lt;p&gt;1) 7B foundational model means this is a base model that has not been fine-tuned on the &amp;quot;prompt: response:&amp;quot; (instruct) structure, and it has 7 billion weights/biases. It&amp;#x27;s the working size of the model. 2) Currently every model that can run locally was trained with a 2K context size. It&amp;#x27;s a hard limit on prompt length. There have been recent advances with [A] position interpolation, but those methods explore fine-tuning/loras. This base model was trained with 8k sequences. 3. 1.5T tokens is the size of the total training corpus. Training cost and time increases with training size. [B] A.…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — mentioned by Tostino</title><link>https://news.ycombinator.com/item?id=36517133</link><guid isPermaLink="false">urn:hackerpapers:mention:2306.15595:36517133</guid><pubDate>Thu, 29 Jun 2023 06:36:39 GMT</pubDate><description>&lt;p&gt;https://arxiv.org/abs/2306.15595&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Extending Context Window of Large Language Models via Positional Interpolation — HN submission</title><link>https://news.ycombinator.com/item?id=36504957</link><guid isPermaLink="false">urn:hackerpapers:submission:2306.15595:36504957</guid><pubDate>Wed, 28 Jun 2023 11:30:36 GMT</pubDate><description>&lt;p&gt;Extending Context Window of Large Language Models via Positional Interpolation&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;10 points; 1 discussion reply on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2306.15595/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
