PofoliaShared via Pofolia

arXiv (Cornell University)· 2023· Preprint

Code Llama: Open Foundation Models for Code

Baptiste Rozière, Jonas Gehring, Fabian Gloeckle, Sten Sootla et al.

Short summary

Meta AI releases Code Llama, a family of open-source large language models for code generation and understanding, achieving state-of-the-art performance among open models on benchmarks like HumanEval (67%) and MBPP (65%).

AI-generated from the title and abstract; the full text is not read.

Key points

  • Code Llama models achieve state-of-the-art performance among open models on code benchmarks, scoring up to 67% on HumanEval and 65% on MBPP.
  • The models support code infilling and handle large input contexts, showing improvements with up to 100k tokens.
  • Specialized versions include Code Llama - Python and Code Llama - Instruct, available in 7B, 13B, 34B, and 70B parameter sizes.
  • Code Llama - Python 7B outperforms the larger Llama 2 70B on HumanEval and MBPP.
  • All models are released under a permissive license for both research and commercial use.

AI-generated from the title and abstract; the full text is not read.

Abstract

We release Code Llama, a family of large language models for code based on Llama 2 providing state-of-the-art performance among open models, infilling capabilities, support for large input contexts, and zero-shot instruction following ability for programming tasks. We provide multiple flavors to cover a wide range of applications: foundation models (Code Llama), Python specializations (Code Llama - Python), and instruction-following models (Code Llama - Instruct) with 7B, 13B, 34B and 70B parameters each. All models are trained on sequences of 16k tokens and show improvements on inputs with up to 100k tokens. 7B, 13B and 70B Code Llama and Code Llama - Instruct variants support infilling based on surrounding content. Code Llama reaches state-of-the-art performance among open models on several code benchmarks, with scores of up to 67% and 65% on HumanEval and MBPP, respectively. Notably, Code Llama - Python 7B outperforms Llama 2 70B on HumanEval and MBPP, and all our models outperform every other publicly available model on MultiPL-E. We release Code Llama under a permissive license that allows for both research and commercial use.

The authors' abstract, as published at the source. arXiv (Cornell University), 2023 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science