<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>YaRN: Efficient Context Window Extension of Large Language Models · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2309.00071/</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/2309.00071/feed.xml" rel="self" type="application/rss+xml" /><item><title>YaRN: Efficient Context Window Extension of Large Language Models — mentioned by lhl</title><link>https://news.ycombinator.com/item?id=38955260</link><guid isPermaLink="false">urn:hackerpapers:mention:2309.00071:38955260</guid><pubDate>Thu, 11 Jan 2024 17:17:34 GMT</pubDate><description>&lt;p&gt;My understanding is that Mistral uses a regular 4K RoPE that is &amp;quot;extends&amp;quot; the window size with SWA. This is based on looking at the results of Nous Research&amp;#x27;s Yarn-Mistral extension: https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k and Self-Extend, both of which only apply to RoPE models. There are quite a few recent attention extension techniques recently published: * Activation Beacons - up to 100X context length extension in as little as 72 A800 hours https://huggingface.co/papers/2401.03462 * Self-Extend - a no-training RoPE modification that can give &amp;quot;free&amp;quot; context extension with…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2309.00071/"&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>YaRN: Efficient Context Window Extension of Large Language Models — mentioned by filterfiber</title><link>https://news.ycombinator.com/item?id=38477756</link><guid isPermaLink="false">urn:hackerpapers:mention:2309.00071: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/2309.00071/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
