Model comparison
Llama 2-13B vs phi-3-medium 14B
Llama 2-13B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.
Last verified . 8 shared benchmarks.
Summary
- They share 8 benchmarks with published results for both. Llama 2-13B scores higher in 2 categories and phi-3-medium 14B in 1 category; 3 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where Llama 2-13B leads 28.1 to 9.1.
Side by side
| Llama 2-13B | phi-3-medium 14B | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 29.6 | 29.7 |
| Released | 2023-07-18 | 2024-04-23 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 32 | 13 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding phi-3-medium 14B leads
Llama 2-13B: 30.9 (#291), phi-3-medium 14B: 36.8 (#201)
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| BigCodeBench Instruct | — | 37.6% |
| LMArena Coding | 1062 | — |
| BigCodeBench Complete | — | 48.7% |
Reasoning Not comparable
Llama 2-13B: 12.8 (#337), phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| BIG-Bench Hard | 58.2% | 81.4% |
| Epoch Capabilities Index | 106.17 | 121.23 |
| HellaSwag | 80.7% | 82.4% |
| WinoGrande | 72.8% | 81.5% |
| Chess Puzzles | 0% | — |
| LMArena Hard Prompts | 1051 | — |
| DTBench | 42.2% | — |
| Adversarial NLI | — | 55.8% |
| LAMBADA | 76.5% | — |
| PIQA | 80.8% | — |
Math Llama 2-13B leads
Llama 2-13B: 31.1 (#229), phi-3-medium 14B: 27.3 (#250)
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| LMArena Math | 1065 | — |
| MATH Level 5 | — | 17.6% |
| GSM8K | 36.9% | — |
Knowledge Llama 2-13B leads
Llama 2-13B: 28.1 (#249), phi-3-medium 14B: 9.1 (#306)
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| ARC (AI2) Challenge | 60.3% | 91.6% |
| MMLU | 55.6% | 78% |
| OpenBookQA | 57% | 87.4% |
| TriviaQA | 79.6% | 73.9% |
| GPQA Diamond | — | 27.6% |
| LMArena Expert | 1030 | — |
| BoolQ | 82.4% | — |
Multimodal Not comparable
Llama 2-13B: —, phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| ScienceQA | 55.8% | — |
Multilingual Not comparable
Llama 2-13B: 26.5 (#279), phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| LMArena Non-English | 1024 | — |
| LMArena Chinese | 1001 | — |
| LMArena French | 1044 | — |
| LMArena German | 1009 | — |
| LMArena Japanese | 894 | — |
| LMArena Korean | 953 | — |
| LMArena Russian | 1055 | — |
| LMArena Spanish | 1087 | — |
Instruction Following Not comparable
Llama 2-13B: 53.3 (#287), phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| LMArena Instruction Following | 1045 | — |
Long Context Not comparable
Llama 2-13B: 32.3 (#269), phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| LMArena Longer Query | 1064 | — |
Writing & Preference Not comparable
Llama 2-13B: 29.8 (#289), phi-3-medium 14B: —
| Benchmark | Llama 2-13B | phi-3-medium 14B |
|---|---|---|
| LMArena Text | 1084 | — |
| LMArena Creative Writing | 1047 | — |
| LMArena Multi-Turn | 1050 | — |
Frequently asked questions
Is Llama 2-13B better than phi-3-medium 14B?
Llama 2-13B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.
Is Llama 2-13B or phi-3-medium 14B better for coding?
phi-3-medium 14B scores higher on coding benchmarks: 36.8 versus 30.9 in the Noometry coding category.
How many benchmarks do Llama 2-13B and phi-3-medium 14B share?
8 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and phi-3-medium 14B has 13.