اگلااگلا گائیڈ
YaRN اور سیاق و سباق کی لمبائی کی توسیع
تکنیکی
زبان AI گائیڈ
Position Interpolation compresses the positional coordinates used by a pretrained RoPE-based model when extending its context.
اس گائیڈ کو سنیں۔اے آئی نے بیان کیا۔ · ~2 min
The original study adapts models to longer windows with additional training, without establishing universal accuracy or eliminating long-sequence costs.
RoPE applies position-dependent rotations to query and key dimension pairs. Simply using much longer sequences can expose the model to positional and attention conditions beyond those learned during training. Basic Position Interpolation rescales m to m divided by s, where s is the ratio of new context length to the original length. This compresses the coordinate span rather than continuing unmodified positions into a much longer range. The model still sees a changed sequence and denser position spacing, so adaptation and evaluation matter. The original paper reports successful extensions in its experiments with additional fine-tuning. Uniform compression affects all frequencies together; methods such as YaRN treat frequency bands differently to address local-detail and range tradeoffs.
Evaluating a pretrained RoPE model at a longer target length after positional rescaling and adaptation.
Comparing interpolation with unmodified positional extrapolation in the same model.
Studying frequency-aware methods such as YaRN against uniform position compression.
Measuring task performance and resource use across the extended window.
Context-extension research compares positional schemes, training budgets, and long-context evaluations. A nominally supported length is not proof of consistent retrieval or reasoning quality throughout the window. Assess the intended tasks, model adaptation, memory, and latency rather than treating rescaling as free long-context capability.
مفت نیوز لیٹر
ہر ہفتے کے دن صبح تین تصدیق شدہ AI کہانیاں، سادہ انگریزی میں لکھی گئیں۔ ہمیشہ کے لیے مفت، کوئی اشتہار نہیں۔
ہر ہفتے کے دن ایک ای میل۔ ایک کلک میں ان سبسکرائب کریں۔ ہم کبھی بھی آپ کا پتہ فروخت یا شیئر نہیں کرتے۔
اپنے آپ کو جانچیں۔
ہر جواب پر فوری فیڈبیک، اور کورس پاس کرنے کے بعد قابلِ تصدیق ID کے ساتھ شیئر کرنے کے قابل سرٹیفکیٹ۔
مفت AI تعلیم کی حمایت کریں۔ AI Understanding ایک 501(c)(3) غیر منافع بخش ادارہ ہے — کوئی اشتہار نہیں، کوئی پے وال نہیں، کبھی نہیں۔ عطیہ کریں۔
Position Interpolation compresses the positional coordinates used by a pretrained RoPE-based model when extending its context. The original study adapts models to longer windows with additional training, without establishing universal accuracy or eliminating long-sequence costs.
PI پوزیشن کے اشاریہ جات کو ایکسٹینشن فیکٹر کے ذریعے تقسیم کرتا ہے، طویل ترتیب کو دوبارہ ان ڈسٹری بیوشن رینج میں نقشہ بناتا ہے جو ماڈل پہلے ہی سیکھ چکا ہے۔
The rescaled coordinates enter RoPE's rotation-angle calculation.
Out-of-training positional behavior can affect attention; observed effects depend on the model and extension.
PI نقشے m سے m کو فیکٹر s = L'/L سے تقسیم کرتے ہوئے، لمبی رینج کو اصل تربیت یافتہ وقفہ میں سکیڑ کر۔
YaRN preserves high-frequency local dimensions and interpolates lower-frequency dimensions with a transition between bands.
سیکھتے رہیں
اس موضوع کے لیے مزید گائیڈز چنے گئے ہیں۔
اگلااگلا گائیڈ
YaRN اور سیاق و سباق کی لمبائی کی توسیع
تکنیکی