RoPE Scaling: The Key to Code Llama's 16K Context

Code Llama achieved its significant 16K context window, a substantial increase from Llama 2's base 4K context, through advanced RoPE (Rotary Position Embeddings) scaling techniques. This enabled powerful extrapolation capabilities, allowing the model to effectively handle inputs up to 100,000 tokens.

Sources

Open the full topic