Meta has dropped Code Llama, a family of open-access code-specialized models built on Llama 2, and Hugging Face already has full integration live. The release covers three sizes — 7B, 13B, and 34B parameters — each trained on 500 billion tokens of publicly available code. That’s a massive training run, and Meta fine-tuned the base models into two additional flavors: a Python specialist that got another 100 billion tokens, and an instruction-tuned version that handles natural language prompts.

The context window story here is arguably bigger than the parameter counts. Llama 2 shipped with a 4K context window. Code Llama jumps to 16K out of the box, with long-context fine-tuning that lets all three variants extrapolate up to 100,000 tokens. That kind of range matters for real codebases, where a function you’re editing might depend on definitions written thousands of lines earlier. Meta pulled this off using RoPE scaling in the frequency domain, with a clever twist: they fine-tuned at only a fraction of the scaled pretrained length, which apparently gives the models strong extrapolation abilities without requiring full-length training runs.

For the instruction-tuned variant, Meta got creative with synthetic data. They used Llama 2 to generate interview-style programming questions, then had Code Llama produce unit tests and solutions, which were evaluated by actually executing the tests. It’s a self-reinforcing pipeline that filters for code that runs, not just code that looks plausible. The models cover Python, C++, Java, PHP, C#, TypeScript, and Bash, and the 7B and 13B versions support infilling based on surrounding content — a feature that makes them natural fits for IDE code completion.

Hugging Face’s integration is already thorough: transformers 4.33 support, Text Generation Inference for production deployments, Inference Endpoints, and even a VS Code extension. You can try the 13B model in a browser playground or fire up the 34B instruct version on HuggingChat. One practical note from the release: run inference in float16 rather than bfloat16 — it’s faster and evaluation metrics show no meaningful quality hit. The open-access angle is the real story here. Code Llama uses the same permissive community license as Llama 2, meaning commercial use is on the table. For teams that have been watching proprietary tools like GitHub Copilot with envy, this changes the calculus.