CodeLlama-7B-Instruct-hf: benchmark results

Meta's CodeLlama 7B Instruct, the instruction-tuned code model in the Llama 2-based CodeLlama family, released under the Llama 2 Community License; the linked card provides no further details here. Provider: Meta. Released 2023-08-24. Access: Open.

Aggregate Rating 1227 ± 14, rank #9368 of 10651 rated models, from 111 benchmark results.

Strongest benchmark results

BenchmarkScoreMetricPercentile
RedCode - Exec Bash (ReAct)56.21Attack success rate (%)100
RedCode - Exec Python (CodeAct)61.83Attack success rate (%)100
RedCode - Exec Python (ReAct)58.43Attack success rate (%)90.9
ToolBench - The Cat API94Task Score89.5
CIPHER - Neutral Prompts71.3Vulnerability rate (% of 750 generations with at least one v80
CIPHER - Secure Prompts72.8Vulnerability rate (% of 750 generations with at least one v80
ToolBench - VirtualHome21.95Task Score79.1
MMLU-by-task - Econometrics32.46Accuracy (%)77.1
MMLU-by-task - Abstract Algebra33Accuracy (%)75.5
ToolBench - Google Sheets41.27Task Score69.8
Enkrypt AI - Safety Risk22.88Risk Score68.9
ToolBench - Open Weather90Task Score67.4

Interactive version: theaggregate.ai/model?slug=codellama-7b-instruct-hf · How It Works · Data refreshed daily, snapshot 2026-12-04.