Code LlamaOpen Weight

Released

Code Llama is an AI model released by Meta on Thursday, Aug 24 2023, 37 days after LLaMA 2. It is an open-weight model — the trained weights are available to download and run. It was released in 7B and 13B and 34B parameter sizes, with a context window of 16k tokens. Benchmark results (shown below) cover HumanEval.

Benchmarks

HumanEval
48.8%
#73 of 91

Compare Code Llama with

Code Llama

About

Code Llama, released August 24, 2023, adapted Llama 2 for programming through additional training on code. The initial family offered 7B, 13B and 34B models, with general code, Python-specialized and instruction-tuned variants. Developers could use it for code completion, generating functions from natural-language requests and explaining existing code on infrastructure they controlled. The publisher benchmarks listed here use the 34B base checkpoint.

The 7B and 13B models supported filling in missing code between a supplied prefix and suffix, a useful pattern for editor integrations. Meta trained the models with 16,000-token sequences and reported support for longer inputs in its research. The downloadable weights were released under a custom community license, so their availability for commercial use came with conditions rather than a standard permissive software license.

Frequently asked questions

Code Llama was released by Meta on Thursday, Aug 24 2023.

All Meta releases

19 tracked