Model comparison
Gemma 1.1 2b IT vs Llama 2-7B
Gemma 1.1 2b IT and Llama 2-7B score almost the same on the Noometry Index (29.3 vs 29.1), so choose on price, context window or the category you care about most.
Last verified . 13 shared benchmarks.
Summary
- They share 13 benchmarks with published results for both. Gemma 1.1 2b IT scores higher in 5 categories and Llama 2-7B in 3 categories; 3 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Gemma 1.1 2b IT leads 19.1 to 15.7.
Side by side
| Gemma 1.1 2b IT | Llama 2-7B | |
|---|---|---|
| Provider | Meta | |
| Noometry Index | 29.3 | 29.1 |
| Released | — | 2023-07-18 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 16 | 29 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Gemma 1.1 2b IT: 30.1 (#299), Llama 2-7B: 29.2 (#307)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1034 | 1002 |
| HumanEval+ | 17.7% | — |
| MBPP+ | 23.3% | — |
Reasoning Gemma 1.1 2b IT leads
Gemma 1.1 2b IT: 19.1 (#270), Llama 2-7B: 15.7 (#312)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Hard Prompts | 1005 | 1009 |
| Chess Puzzles | — | 0% |
| BIG-Bench Hard | — | 39.2% |
| Epoch Capabilities Index | — | 99.06 |
| HellaSwag | — | 77.2% |
| LAMBADA | — | 73.3% |
| PIQA | — | 78.8% |
| WinoGrande | — | 69.2% |
Math Too close to call
Gemma 1.1 2b IT: 30.8 (#232), Llama 2-7B: 30.7 (#233)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Math | 1047 | 1042 |
| GSM8K | — | 16.7% |
Knowledge Llama 2-7B leads
Gemma 1.1 2b IT: 26.5 (#258), Llama 2-7B: 28.2 (#248)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Expert | 970 | 1036 |
| ARC (AI2) Challenge | — | 45.9% |
| BoolQ | — | 77.9% |
| MMLU | — | 45.8% |
| OpenBookQA | — | 58.6% |
| TriviaQA | — | 73.7% |
Multimodal Not comparable
Gemma 1.1 2b IT: —, Llama 2-7B: —
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| ScienceQA | — | 43.1% |
Multilingual Too close to call
Gemma 1.1 2b IT: 24.6 (#289), Llama 2-7B: 23.8 (#293)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 988 | 973 |
| LMArena Chinese | 1012 | 973 |
| LMArena German | 944 | 978 |
| LMArena Russian | 990 | 995 |
| LMArena French | — | 970 |
| LMArena Korean | 899 | — |
| LMArena Spanish | — | 1007 |
Instruction Following Too close to call
Gemma 1.1 2b IT: 49.9 (#299), Llama 2-7B: 50.8 (#298)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Instruction Following | 992 | 1006 |
Long Context Too close to call
Gemma 1.1 2b IT: 30.6 (#286), Llama 2-7B: 30.4 (#287)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Longer Query | 1003 | 999 |
Writing & Preference Llama 2-7B leads
Gemma 1.1 2b IT: 25.1 (#306), Llama 2-7B: 28.0 (#298)
| Benchmark | Gemma 1.1 2b IT | Llama 2-7B |
|---|---|---|
| LMArena Text | 1022 | 1053 |
| LMArena Creative Writing | 998 | 1033 |
| LMArena Multi-Turn | 959 | 1029 |
Frequently asked questions
Is Gemma 1.1 2b IT better than Llama 2-7B?
Gemma 1.1 2b IT and Llama 2-7B score almost the same on the Noometry Index (29.3 vs 29.1), so choose on price, context window or the category you care about most.
Is Gemma 1.1 2b IT or Llama 2-7B better for coding?
They score almost the same on coding (30.1 vs 29.2); test both on your own repository before choosing.
How many benchmarks do Gemma 1.1 2b IT and Llama 2-7B share?
13 benchmarks have published results for both models. Gemma 1.1 2b IT has 16 scored results on Noometry and Llama 2-7B has 29.