Read the equation
This is the original geometric rotary frequency schedule, base^(−2 i/dim). Its frequency decreases as i grows when base>1. The later blend retains the unscaled schedule at the higher-frequency end and combines it with the divided schedule at intermediate indices.
Terms & definitions
| Term | Meaning in this source |
|---|---|
| i | Frequency-pair index |
| dim | Rotary dimension |
| base | Frequency base |
How it works
Read the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.
Assumptions & limits
Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.
Original context
Read the surrounding source passage
A linear ramp over [low, high] blends two frequency schedules:
inv_freq_interpolation = 1 / (factor * base^(2i/dim)) low freq, scaled
inv_freq_extrapolation = 1 / (base^(2i/dim)) high freq, raw
inv_freq = interp * (1 - ramp) + extrap * ramp
High-frequency dimensions extrapolate unchanged; low-frequency dimensions
are interpolated by the factor of 40.Exact original notation
inv_freq_extrapolation = 1 / (base^(2i/dim)) high freq, raw
Related builds
Sources & provenance
inv_freq_extrapolation = 1 / (base^(2i/dim)) high freq, raw
inv_freq_extrapolation = 1 / (base^(2i/dim)) high freq, raw