Model comparison

Llama 2-70B vs StarCoder 2 7B

Llama 2-70B has enough public results to be ranked (#349); StarCoder 2 7B does not yet, so treat this comparison as directional.

Last verified . 5 shared benchmarks.

Llama 2-70B Meta

24.4

Rank #349 Confirmed

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 5 benchmarks with published results for both. Llama 2-70B scores higher in 0 categories and StarCoder 2 7B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 7B leads 34.8 to 31.4.

Side by side

Llama 2-70B and StarCoder 2 7B specifications
Llama 2-70BStarCoder 2 7B
ProviderMetaNVIDIA
Noometry Index24.437.0
Released2023-07-182024-02-20
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked357

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding StarCoder 2 7B leads

Llama 2-70B: 31.4 (#286), StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
LMArena Coding1079—
BigCodeBench Complete—27.7%
HumanEval+—29.9%

Reasoning Not comparable

Llama 2-70B: 14.4 (#325), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
Epoch Capabilities Index113.7993.56
WinoGrande80.2%57.1%
LMArena Hard Prompts1073—
DTBench41.6%—
BIG-Bench Hard64.9%—
CommonsenseQA 2.050%—
ForecastBench51.4—
HellaSwag85.3%—
LAMBADA78.9%—
PIQA82.8%—

Math Not comparable

Llama 2-70B: 8.1 (#326), StarCoder 2 7B: —

Math benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
GSM8K69.6%32.7%
OTIS Mock AIME 2024-20250%—
LMArena Math1091—
MATH Level 53.3%—

Knowledge Not comparable

Llama 2-70B: 7.4 (#310), StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
ARC (AI2) Challenge78.3%38.7%
MMLU69.9%38.8%
GPQA Diamond26.3%—
LMArena Expert1039—
BoolQ88.6%—
OpenBookQA60.2%—
TriviaQA87.6%—

Multilingual Not comparable

Llama 2-70B: 27.7 (#274), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
LMArena Non-English1045—
LMArena Chinese995—
LMArena French1090—
LMArena German1041—
LMArena Japanese927—
LMArena Korean964—
LMArena Russian1083—
LMArena Spanish1143—

Instruction Following Not comparable

Llama 2-70B: 54.9 (#278), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
LMArena Instruction Following1071—

Long Context Not comparable

Llama 2-70B: 32.3 (#270), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
LMArena Longer Query1062—

Writing & Preference Not comparable

Llama 2-70B: 32.3 (#279), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkLlama 2-70BStarCoder 2 7B
LMArena Text1115—
LMArena Creative Writing1075—
LMArena Multi-Turn1088—

Frequently asked questions

Is Llama 2-70B better than StarCoder 2 7B?

Llama 2-70B has enough public results to be ranked (#349); StarCoder 2 7B does not yet, so treat this comparison as directional.

Is Llama 2-70B or StarCoder 2 7B better for coding?

StarCoder 2 7B scores higher on coding benchmarks: 34.8 versus 31.4 in the Noometry coding category.

How many benchmarks do Llama 2-70B and StarCoder 2 7B share?

5 benchmarks have published results for both models. Llama 2-70B has 35 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper