Learn Before
Example of Interpolation by Scaling Positions
An example of positional interpolation is taking a model designed for a specific sequence range, such as , and adapting it for a longer sequence like . By scaling the new positions down—for instance, dividing every number by —the entire expanded range of is mapped into the original boundary. This scaling allows the model to process the longer sequence using its existing trained parameters.
0
1
Tags
Foundations of Large Language Models
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Position Interpolation Mapping for Longer Sequences
Period Adjustment in Position Interpolation
Position Interpolation by Scaling the RoPE Base
A large language model was trained exclusively on documents with a maximum length of 2048 tokens. An engineer now needs to use this pre-trained model to process a new document that is 4096 tokens long without altering the model's architecture or retraining it. If the engineer applies a position interpolation technique, what is the fundamental objective of this action?
Analyzing Performance Degradation with Long Sequences
Evaluating a Strategy for Extending Context Length
Example of Interpolation by Scaling Positions