Skip to main content
llm.info
CodeLlama 34B logo

CodeLlama 34B

Versioncodellama-34b-instruct-hf

byMeta

  • Views4 views
  • Date addedAdded Jul 6, 2026
Skip to community
Community (0)

Overview

About

Meta's specialized code generation model with 34B parameters built on Llama 2 architecture. Released August 2023, trained on 500 billion tokens of code and code-related data from January-July 2023. Features extended 100,000 token context window for handling large codebases. Supports Python, C++, Java, PHP, TypeScript/JavaScript, C#, and Bash. Three variants: Base (code completion), Python (Python-specialized), Instruct (instruction-following). Achieves 53.7% HumanEval and 56.2% MBPP. Trained on Meta's Research Super Cluster requiring 400K GPU hours on A100-80GB hardware across all 9 CodeLlama models. Open weights enable customization and self-hosting.

Strengths

  • Extended 100K context window handles entire large codebases
  • Specialized for code across 7 major languages (Python, C++, Java, PHP, TS, C#, Bash)
  • Three variants optimize for completion, Python, or instruction-following
  • Trained on 500B tokens of code-specific data (Jan-July 2023)
  • 53.7% HumanEval and 56.2% MBPP demonstrate strong code generation
  • Llama 2 Community License enables research and commercial use
  • Open weights enable customization and self-hosting

Caveats

  • Superseded by newer code models (Qwen 2.5 Coder, GPT-4o, Claude)
  • 34B size requires significant GPU memory
  • Training data cutoff July 2023 - missing newer language features
  • No multimodal or vision capabilities
  • Consider newer models for state-of-the-art code generation
  • No vendor-published release date: omitted rather than asserted from a secondary source

Tags

Specs

Company
Meta
Family
CodeLlama
Version
codellama-34b-instruct-hf
Modalities
Text
Context window
100,000 tokens
Max output
4,096 tokens
License
Llama 2 Community License
Open weights
Yes
Streaming
Yes
Added
Jul 6, 2026
Updated
Dec 5, 2026

Benchmarks (2)

Scores come from the listed sources and are not directly comparable across methodologies.
BenchmarkScoreSourceAs ofNotes
HumanEval
Curated
53.7%ai.meta.comOpens in a new tabCode generation accuracy
MBPP
Curated
56.2ai.meta.comOpens in a new tabPython code generation

Community

Reviews

Reviews

Comments

Comments