Model comparison
Llama 2-7B vs Phi 3 Mini 128k Instruct
Llama 2-7B and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (28.6 vs 29.1), so choose on price, context window or the category you care about most.
Last verified . 15 shared benchmarks.
Summary
- They share 15 benchmarks with published results for both. Llama 2-7B scores higher in 4 categories and Phi 3 Mini 128k Instruct in 4 categories; 4 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Phi 3 Mini 128k Instruct leads 18.7 to 15.1.
Side by side
| Llama 2-7B | Phi 3 Mini 128k Instruct | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 28.6 | 29.1 |
| Released | 2023-07-18 | 2024-04-23 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 29 | 19 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Llama 2-7B: 28.7 (#302), Phi 3 Mini 128k Instruct: 28.3 (#307)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Coding | 1002 | 1040 |
| BigCodeBench Instruct | — | 29.6% |
| BigCodeBench Complete | — | 40.6% |
Reasoning Phi 3 Mini 128k Instruct leads
Llama 2-7B: 15.1 (#309), Phi 3 Mini 128k Instruct: 18.7 (#254)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Hard Prompts | 1009 | 1028 |
| Chess Puzzles | 0% | — |
| BIG-Bench Hard | 39.2% | — |
| Epoch Capabilities Index | 98.54 | — |
| HellaSwag | 77.2% | — |
| LAMBADA | 73.3% | — |
| PIQA | 78.8% | — |
| WinoGrande | 69.2% | — |
Math Too close to call
Llama 2-7B: 28.2 (#231), Phi 3 Mini 128k Instruct: 29.2 (#220)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Math | 1042 | 1089 |
| GSM8K | 16.7% | — |
Knowledge Llama 2-7B leads
Llama 2-7B: 27.7 (#243), Phi 3 Mini 128k Instruct: 26.3 (#251)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Expert | 1036 | 984 |
| ARC (AI2) Challenge | 45.9% | — |
| BoolQ | 77.9% | — |
| MMLU | 45.8% | — |
| OpenBookQA | 58.6% | — |
| TriviaQA | 73.7% | — |
Multimodal Not comparable
Llama 2-7B: —, Phi 3 Mini 128k Instruct: —
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| ScienceQA | 43.1% | — |
Multilingual Phi 3 Mini 128k Instruct leads
Llama 2-7B: 23.9 (#288), Phi 3 Mini 128k Instruct: 25.4 (#280)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Non-English | 973 | 1000 |
| LMArena Chinese | 973 | 1016 |
| LMArena French | 969 | 1038 |
| LMArena German | 978 | 1006 |
| LMArena Russian | 995 | 1004 |
| LMArena Spanish | 1007 | 1058 |
| LMArena Japanese | — | 899 |
| LMArena Korean | — | 856 |
Instruction Following Phi 3 Mini 128k Instruct leads
Llama 2-7B: 51.0 (#293), Phi 3 Mini 128k Instruct: 52.1 (#289)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Instruction Following | 1006 | 1023 |
Long Context Too close to call
Llama 2-7B: 30.4 (#282), Phi 3 Mini 128k Instruct: 30.3 (#284)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Longer Query | 999 | 996 |
Writing & Preference Too close to call
Llama 2-7B: 28.1 (#293), Phi 3 Mini 128k Instruct: 27.3 (#296)
| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Text | 1053 | 1050 |
| LMArena Creative Writing | 1033 | 1024 |
| LMArena Multi-Turn | 1029 | 989 |
Frequently asked questions
Is Llama 2-7B better than Phi 3 Mini 128k Instruct?
Llama 2-7B and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (28.6 vs 29.1), so choose on price, context window or the category you care about most.
Is Llama 2-7B or Phi 3 Mini 128k Instruct better for coding?
They score almost the same on coding (28.7 vs 28.3); test both on your own repository before choosing.
How many benchmarks do Llama 2-7B and Phi 3 Mini 128k Instruct share?
15 benchmarks have published results for both models. Llama 2-7B has 29 scored results on Noometry and Phi 3 Mini 128k Instruct has 19.