Model comparison

Llama 2-34B vs StarCoder 2 7B

Neither Llama 2-34B nor StarCoder 2 7B has enough public benchmark results to be ranked yet; the rows below show what has been published.

Last verified . 5 shared benchmarks.

Llama 2-34B Meta

—

Unranked

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 5 benchmarks with published results for both.
  • StarCoder 2 7B has downloadable open weights; the other is API-only.

Side by side

Llama 2-34B and StarCoder 2 7B specifications
Llama 2-34BStarCoder 2 7B
ProviderMetaNVIDIA
Noometry Index—37.0
Released2023-07-182024-02-20
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked107

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

Category by category

Coding Not comparable

Llama 2-34B: —, StarCoder 2 7B: 34.8

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

Reasoning Not comparable

Llama 2-34B: —, StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkLlama 2-34BStarCoder 2 7B
Epoch Capabilities Index105.293.56
WinoGrande76.7%57.1%
BIG-Bench Hard44.1%—
PIQA81.9%—

Math Not comparable

Llama 2-34B: —, StarCoder 2 7B: —

Math benchmarks
BenchmarkLlama 2-34BStarCoder 2 7B
GSM8K42.2%32.7%

Knowledge Not comparable

Llama 2-34B: —, StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkLlama 2-34BStarCoder 2 7B
ARC (AI2) Challenge54.5%38.7%
MMLU62.6%38.8%
BoolQ83.7%—
OpenBookQA58.2%—
TriviaQA84.6%—

Frequently asked questions

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

Neither Llama 2-34B nor StarCoder 2 7B has enough public benchmark results to be ranked yet; the rows below show what has been published.

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

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

Related comparisons

Go deeper