Model comparison

Granite 4.0 H Small vs StarCoder 2 7B

Granite 4.0 H Small has enough public results to be ranked (#213); StarCoder 2 7B does not yet, so treat this comparison as directional.

Last verified . 0 shared benchmarks.

Granite 4.0 H Small IBM

35.9

Rank #213 Confirmed

StarCoder 2 7B NVIDIA

36.5

Unranked Sparse

Side by side

Granite 4.0 H Small and StarCoder 2 7B specifications
Granite 4.0 H SmallStarCoder 2 7B
ProviderIBMNVIDIA
Noometry Index35.936.5
Released—2024-02-20
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked197

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

Category by category

Coding Granite 4.0 H Small leads

Granite 4.0 H Small: 35.8 (#207), StarCoder 2 7B: 34.2

Coding benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
LMArena Coding1247—
BigCodeBench Complete—27.7%
HumanEval+—29.9%

Reasoning Not comparable

Granite 4.0 H Small: 23.4 (#164), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
LMArena Hard Prompts1240—
Epoch Capabilities Index—92.92
WinoGrande—57.1%

Math Not comparable

Granite 4.0 H Small: 29.3 (#219), StarCoder 2 7B: —

Math benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
Omni-MATH29.6%—
LMArena Math1251—
GSM8K—32.7%

Knowledge Not comparable

Granite 4.0 H Small: 31.5 (#210), StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
MMLU-Pro56.9%—
Vectara Hallucination Rate5.2%—
GPQA (HELM)38.3%—
LMArena Expert1244—
ARC (AI2) Challenge—38.7%
MMLU—38.8%

Multilingual Not comparable

Granite 4.0 H Small: 38.7 (#223), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
LMArena Non-English1216—
LMArena Chinese1250—
LMArena Russian1198—
LMArena Spanish1258—

Instruction Following Not comparable

Granite 4.0 H Small: 68.9 (#178), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
IFEval89%—
LMArena Instruction Following1221—

Long Context Not comparable

Granite 4.0 H Small: 37.6 (#209), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
LMArena Longer Query1240—

Writing & Preference Not comparable

Granite 4.0 H Small: 44.0 (#222), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkGranite 4.0 H SmallStarCoder 2 7B
LMArena Text1241—
LMArena Creative Writing1210—
WildBench73.9%—
LMArena Multi-Turn1243—

Frequently asked questions

Is Granite 4.0 H Small better than StarCoder 2 7B?

Granite 4.0 H Small has enough public results to be ranked (#213); StarCoder 2 7B does not yet, so treat this comparison as directional.

Is Granite 4.0 H Small or StarCoder 2 7B better for coding?

Granite 4.0 H Small scores higher on coding benchmarks: 35.8 versus 34.2 in the Noometry coding category.

How many benchmarks do Granite 4.0 H Small and StarCoder 2 7B share?

0 benchmarks have published results for both models. Granite 4.0 H Small has 19 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper