Model comparison
Llama 2-7B vs StarCoder 2 3B
Llama 2-7B has enough public results to be ranked (#317); StarCoder 2 3B does not yet, so treat this comparison as directional.
Last verified . 5 shared benchmarks.
Summary
- They share 5 benchmarks with published results for both. Llama 2-7B scores higher in 0 categories and StarCoder 2 3B in 1 category; one gap is clear of the uncertainty.
- The widest gap is in coding, where StarCoder 2 3B leads 33.5 to 29.2.
Side by side
| Llama 2-7B | StarCoder 2 3B | |
|---|---|---|
| Provider | Meta | NVIDIA |
| Noometry Index | 29.1 | 36.3 |
| Released | 2023-07-18 | 2024-02-22 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 29 | 7 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding StarCoder 2 3B leads
Llama 2-7B: 29.2 (#307), StarCoder 2 3B: 33.5
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| LMArena Coding | 1002 | — |
| BigCodeBench Complete | — | 21.4% |
| HumanEval+ | — | 27.4% |
Reasoning Not comparable
Llama 2-7B: 15.7 (#312), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| Epoch Capabilities Index | 99.06 | 88.76 |
| WinoGrande | 69.2% | 57.1% |
| Chess Puzzles | 0% | — |
| LMArena Hard Prompts | 1009 | — |
| BIG-Bench Hard | 39.2% | — |
| HellaSwag | 77.2% | — |
| LAMBADA | 73.3% | — |
| PIQA | 78.8% | — |
Math Not comparable
Llama 2-7B: 30.7 (#233), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| GSM8K | 16.7% | 21.6% |
| LMArena Math | 1042 | — |
Knowledge Not comparable
Llama 2-7B: 28.2 (#248), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| ARC (AI2) Challenge | 45.9% | 34.2% |
| MMLU | 45.8% | 36.6% |
| LMArena Expert | 1036 | — |
| BoolQ | 77.9% | — |
| OpenBookQA | 58.6% | — |
| TriviaQA | 73.7% | — |
Multimodal Not comparable
Llama 2-7B: —, StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| ScienceQA | 43.1% | — |
Multilingual Not comparable
Llama 2-7B: 23.8 (#293), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| LMArena Non-English | 973 | — |
| LMArena Chinese | 973 | — |
| LMArena French | 970 | — |
| LMArena German | 978 | — |
| LMArena Russian | 995 | — |
| LMArena Spanish | 1007 | — |
Instruction Following Not comparable
Llama 2-7B: 50.8 (#298), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| LMArena Instruction Following | 1006 | — |
Long Context Not comparable
Llama 2-7B: 30.4 (#287), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| LMArena Longer Query | 999 | — |
Writing & Preference Not comparable
Llama 2-7B: 28.0 (#298), StarCoder 2 3B: —
| Benchmark | Llama 2-7B | StarCoder 2 3B |
|---|---|---|
| LMArena Text | 1053 | — |
| LMArena Creative Writing | 1033 | — |
| LMArena Multi-Turn | 1029 | — |
Frequently asked questions
Is Llama 2-7B better than StarCoder 2 3B?
Llama 2-7B has enough public results to be ranked (#317); StarCoder 2 3B does not yet, so treat this comparison as directional.
Is Llama 2-7B or StarCoder 2 3B better for coding?
StarCoder 2 3B scores higher on coding benchmarks: 33.5 versus 29.2 in the Noometry coding category.
How many benchmarks do Llama 2-7B and StarCoder 2 3B share?
5 benchmarks have published results for both models. Llama 2-7B has 29 scored results on Noometry and StarCoder 2 3B has 7.