NTK-by-Parts
A model pretrained with RoPE at a 4K context window needs to serve 128K context without full retraining. Naive linear position interpolation scales every RoPE frequency dimension by the same context-length ratio. YaRN instead applies NTK-by-parts scaling. What does YaRN do differently, and why does that work better?
Sign in to answer questions and track your progress
Sign In