SeterusnyaPanduan seterusnya
Sambungan Panjang YaRN dan Konteks
Teknikal
PANDUAN AI Bahasa
Position Interpolation compresses the positional coordinates used by a pretrained RoPE-based model when extending its context.
Dengar panduan iniAI-diceritakan · ~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.
Newsletter percuma
Tiga cerita AI yang disahkan setiap pagi hari bekerja, ditulis dalam Bahasa Inggeris biasa. Percuma selamanya, tiada iklan.
Satu e-mel setiap hari bekerja. Berhenti melanggan dalam satu klik. Kami tidak pernah menjual atau berkongsi alamat anda.
Uji diri anda
Maklum balas segera pada setiap jawapan, dan sijil yang boleh dikongsi dengan ID yang boleh disahkan sebaik sahaja anda lulus kursus.
Sokong pendidikan AI percuma. AI Understanding ialah pertubuhan bukan keuntungan 501(c)(3) — tiada iklan, tiada bayaran dinding, selamanya. Buat derma
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 membahagikan indeks kedudukan dengan faktor sambungan, memetakan jujukan yang lebih panjang kembali ke dalam julat dalam pengedaran model yang telah dipelajari.
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 memetakan m ke m dibahagikan dengan faktor s = L'/L, memampatkan julat yang lebih panjang ke dalam selang terlatih asal.
YaRN preserves high-frequency local dimensions and interpolates lower-frequency dimensions with a transition between bands.
Teruskan belajar
Lebih banyak panduan dipilih untuk topik ini
SeterusnyaPanduan seterusnya
Sambungan Panjang YaRN dan Konteks
Teknikal