Code Llama is a family of Llama-based code models optimized for programming tasks such as code generation, completion, and repair, with variants specialized for base coding, Python, and instruction following. The repo documents the sizes and capabilities (e.g., 7B, 13B, 34B) and highlights features like infilling and large input context to support real IDE workflows. It targets both general software synthesis and language-specific productivity, offering strong performance among open models at release time. Typical usage includes prompt-driven generation, function or class completion, and zero-shot adherence to natural-language instructions about code changes. The ecosystem provides multiple distributions (e.g., HF format) so developers can integrate with standard toolchains and serving stacks. As part of the broader Llama effort, Code Llama complements instruction-tuned chat models by focusing on code-centric tasks and editor integrations.

Features

  • Multiple model sizes for different latency/quality needs
  • Specializations for base coding, Python, and instruction following
  • Infilling for middle-of-file completions
  • Strong zero-shot and prompt-conditioned code synthesis
  • Support for long context windows in coding workflows
  • Distributions compatible with common serving toolchains

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CodeLlama

CodeLlama Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CodeLlama!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

3 days ago