Code Llama's 16K context, and its ability to extrapolate up to 100K tokens, was achieved through advanced RoPE (Rotary Positional Embeddings) scaling, specifically by extending the base period θ from 10,000 to 1,000,000 during fine-tuning.
Open the full topic