Model comparison
Llama 2-7B vs Phi 3 Mini 4k Instruct
Llama 2-7B is the stronger model overall, scoring 29.1 to 27.9 on the Noometry Index.
Last verified . 23 shared benchmarks.
Summary
- They share 23 benchmarks with published results for both. Llama 2-7B scores higher in 5 categories and Phi 3 Mini 4k Instruct in 3 categories; 6 gaps are clear of the uncertainty.
- The widest gap is in math, where Llama 2-7B leads 30.7 to 26.6.
Side by side
| Llama 2-7B | Phi 3 Mini 4k Instruct | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 29.1 | 27.9 |
| Released | 2023-07-18 | 2024-04-23 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 29 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Llama 2-7B leads
Llama 2-7B: 29.2 (#307), Phi 3 Mini 4k Instruct: 26.6 (#323)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Coding | 1002 | 1093 |
| LiveBench Coding | — | 15.5% |
| HumanEval+ | — | 59.1% |
| MBPP+ | — | 54.2% |
Reasoning Llama 2-7B leads
Llama 2-7B: 15.7 (#312), Phi 3 Mini 4k Instruct: 14.1 (#328)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| Chess Puzzles | 0% | 0% |
| LMArena Hard Prompts | 1009 | 1072 |
| BIG-Bench Hard | 39.2% | 71.7% |
| HellaSwag | 77.2% | 76.7% |
| WinoGrande | 69.2% | 70.8% |
| LiveBench Reasoning | — | 26.8% |
| LiveBench Data Analysis | — | 34.7% |
| Adversarial NLI | — | 52.8% |
| Epoch Capabilities Index | 99.06 | — |
| LAMBADA | 73.3% | — |
| LiveBench | — | 22.4% |
| PIQA | 78.8% | — |
Math Llama 2-7B leads
Llama 2-7B: 30.7 (#233), Phi 3 Mini 4k Instruct: 26.6 (#257)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Math | 1042 | 1111 |
| LiveBench Math | — | 15.7% |
| GSM8K | 16.7% | — |
Knowledge Too close to call
Llama 2-7B: 28.2 (#248), Phi 3 Mini 4k Instruct: 28.5 (#246)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Expert | 1036 | 1045 |
| ARC (AI2) Challenge | 45.9% | 84.9% |
| MMLU | 45.8% | 68.8% |
| OpenBookQA | 58.6% | 88% |
| TriviaQA | 73.7% | 64% |
| BoolQ | 77.9% | — |
Multimodal Not comparable
Llama 2-7B: —, Phi 3 Mini 4k Instruct: —
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| ScienceQA | 43.1% | — |
Multilingual Phi 3 Mini 4k Instruct leads
Llama 2-7B: 23.8 (#293), Phi 3 Mini 4k Instruct: 26.3 (#280)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Non-English | 973 | 1021 |
| LMArena Chinese | 973 | 1021 |
| LMArena French | 970 | 1076 |
| LMArena German | 978 | 1044 |
| LMArena Russian | 995 | 1022 |
| LMArena Spanish | 1007 | 1085 |
| LMArena Japanese | — | 935 |
| LMArena Korean | — | 905 |
Instruction Following Llama 2-7B leads
Llama 2-7B: 50.8 (#298), Phi 3 Mini 4k Instruct: 47.7 (#303)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Instruction Following | 1006 | 1053 |
| LiveBench Instruction Following | — | 39.1% |
Long Context Phi 3 Mini 4k Instruct leads
Llama 2-7B: 30.4 (#287), Phi 3 Mini 4k Instruct: 31.7 (#276)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Longer Query | 999 | 1044 |
Writing & Preference Too close to call
Llama 2-7B: 28.0 (#298), Phi 3 Mini 4k Instruct: 27.6 (#300)
| Benchmark | Llama 2-7B | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Text | 1053 | 1073 |
| LMArena Creative Writing | 1033 | 1037 |
| LMArena Multi-Turn | 1029 | 1018 |
| LiveBench Language | — | 9.2% |
Frequently asked questions
Is Llama 2-7B better than Phi 3 Mini 4k Instruct?
Llama 2-7B is the stronger model overall, scoring 29.1 to 27.9 on the Noometry Index.
Is Llama 2-7B or Phi 3 Mini 4k Instruct better for coding?
Llama 2-7B scores higher on coding benchmarks: 29.2 versus 26.6 in the Noometry coding category.
How many benchmarks do Llama 2-7B and Phi 3 Mini 4k Instruct share?
23 benchmarks have published results for both models. Llama 2-7B has 29 scored results on Noometry and Phi 3 Mini 4k Instruct has 35.