Learn Before
Example

Example of Interpolation by Scaling Positions

An example of positional interpolation is taking a model designed for a specific sequence range, such as [1,10][1, 10], and adapting it for a longer sequence like [1,20][1, 20]. By scaling the new positions down—for instance, dividing every number by 2{}2—the entire expanded range of [1,20][1, 20] is mapped into the original [1,10][1, 10] boundary. This scaling allows the model to process the longer sequence using its existing trained parameters.

0

1

Updated 2026-04-23

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences