LongRoPE2's Breakthrough: Evolutionary Search for 128K Near-Lossless Context

LongRoPE2 achieves near-lossless context window scaling up to 128K tokens for models like LLaMA3-8B, outperforming prior methods like YaRN and NTK. It uses an evolutionary search guided by "needle-driven perplexity" to find optimal rescaling factors and a mixed context window training approach, requiring 80 times fewer training tokens than Meta's LLaMA3.1-8B-128k.

Sources

Open the full topic