Model comparison

ERNIE 5.1 vs Gemma 2B

ERNIE 5.1 is the stronger model overall, scoring 43.8 to 29.6 on the Noometry Index.

Last verified . 11 shared benchmarks.

ERNIE 5.1 Baidu

43.8

Rank #83 Confirmed

Gemma 2B Google

29.6

Rank #307 Confirmed

Summary

  • They share 11 benchmarks with published results for both. ERNIE 5.1 scores higher in 7 categories and Gemma 2B in 0 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where ERNIE 5.1 leads 65.1 to 24.0.
  • Gemma 2B has downloadable open weights; the other is API-only.

Side by side

ERNIE 5.1 and Gemma 2B specifications
ERNIE 5.1Gemma 2B
ProviderBaiduGoogle
Noometry Index43.829.6
Released—2024-02-21
WeightsProprietaryOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1923

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding ERNIE 5.1 leads

ERNIE 5.1: 44.0 (#76), Gemma 2B: 29.4 (#305)

Coding benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Coding14881010
HumanEval+—20.7%
MBPP+—34.1%

Agentic & Tool Use Not comparable

ERNIE 5.1: —, Gemma 2B: —

Agentic & Tool Use benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Search1227—

Reasoning ERNIE 5.1 leads

ERNIE 5.1: 21.9 (#211), Gemma 2B: 18.8 (#275)

Reasoning benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Hard Prompts1481989
NYT Connections (extended)23.4%—
BIG-Bench Hard—35.2%
Epoch Capabilities Index—94.2
HellaSwag—71.4%
PIQA—77.3%
WinoGrande—65.4%

Math ERNIE 5.1 leads

ERNIE 5.1: 40.3 (#92), Gemma 2B: 30.0 (#239)

Math benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Math14811009
GSM8K—17.7%

Knowledge Not comparable

ERNIE 5.1: 41.9 (#102), Gemma 2B: —

Knowledge benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Expert1492—
ARC (AI2) Challenge—42.1%
BoolQ—69.4%
MMLU—42.3%
TriviaQA—53.2%

Multilingual ERNIE 5.1 leads

ERNIE 5.1: 55.5 (#29), Gemma 2B: 23.0 (#294)

Multilingual benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Non-English1454958
LMArena Chinese1508986
LMArena Russian1459937
LMArena French1488—
LMArena German1470—
LMArena Japanese1422—
LMArena Korean1427—
LMArena Spanish1473—

Instruction Following ERNIE 5.1 leads

ERNIE 5.1: 76.7 (#37), Gemma 2B: 48.5 (#302)

Instruction Following benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Instruction Following1460970

Long Context ERNIE 5.1 leads

ERNIE 5.1: 44.7 (#59), Gemma 2B: 29.9 (#291)

Long Context benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Longer Query1462981

Writing & Preference ERNIE 5.1 leads

ERNIE 5.1: 65.1 (#52), Gemma 2B: 24.0 (#308)

Writing & Preference benchmarks
BenchmarkERNIE 5.1Gemma 2B
LMArena Text14681002
LMArena Creative Writing1441987
LMArena Multi-Turn1471945

Frequently asked questions

Is ERNIE 5.1 better than Gemma 2B?

ERNIE 5.1 is the stronger model overall, scoring 43.8 to 29.6 on the Noometry Index.

Is ERNIE 5.1 or Gemma 2B better for coding?

ERNIE 5.1 scores higher on coding benchmarks: 44.0 versus 29.4 in the Noometry coding category.

How many benchmarks do ERNIE 5.1 and Gemma 2B share?

11 benchmarks have published results for both models. ERNIE 5.1 has 19 scored results on Noometry and Gemma 2B has 23.

Related comparisons

Go deeper