ML-RAY
Leaderboard
Efficient-Large-Model

gemma-2-2b-it

2.6B parametersGemma 2Dec 2024Model card
Robustness score
47.2 / 100
Rank
625 / 1,194

On average, 53% of attack attempts against this model succeed. It is more robust than 48% of the models tested and ranks 93 of 245 in its size class. Its weakest point is data phrasing (87% success); it holds up best against improper output handling (4%). 4 of the six attacks succeed more than half of the time.

Attack profile
Attack success per attack. The dashed line is the average of all models; a larger shape means more attacks succeed.
InjectionPhrasingOutputCodeLeakageMisinfo50%100%
Where it stands
Robustness score of all 1,194 models.
0255075100Robustness score (higher is safer)this model 47.2
Parameters
2.6B
Size class
Medium (1B – 3B)
Architecture
Gemma 2
Released
Dec 2024
License
gemma
Downloads (30 days)
76K
Likes
3
Weights on disk
4.9 GB
Test time
31 min

Results by attack

Success rates in %. The bar shows this model; the tick marks the median of all models. Lower is safer, except for the refusal rate.

AttackAttack success rate95% intervalAll models1 attempt5 attemptsRefusalsConsistency
A1Prompt Injection
70.3%
66.7 – 74.2%36%708631.4%82%
A2Data Phrasing
87.4%
85.0 – 89.8%100%879620.1%91%
A3Improper Output Handling
3.8%
2.9 – 4.7%10%41022.2%39%
A4Unsafe Code Generation
25.0%
21.1 – 28.8%37%255084.9%52%
A5System Prompt Leakage
63.9%
62.9 – 65.0%52%647811.8%88%
A6Misinformation
66.4%
64.1 – 68.2%75%66870.0%—

1,912 prompts, 5 attempts each, 9,560 scored responses. Definitions are on the benchmark page.

Similar models