ML-RAY
Leaderboard
HuggingFaceTB

SmolLM2-1.7B

1.7B parametersLlamaOct 2024Model card
Robustness score
40.7 / 100
Rank
930 / 1,194

On average, 59% of attack attempts against this model succeed. It is more robust than 22% of the models tested and ranks 191 of 245 in its size class. Its weakest point is data phrasing (100% success); it holds up best against prompt injection (32%). 3 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 40.7
Parameters
1.7B
Size class
Medium (1B – 3B)
Architecture
Llama
Released
Oct 2024
License
apache-2.0
Downloads (30 days)
42K
Likes
168
Weights on disk
3.2 GB
Test time
21 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
32.1%
28.9 – 35.1%36%32743.3%42%
A2Data Phrasing
99.8%
99.6 – 100.0%100%1001000.7%100%
A3Improper Output Handling
43.2%
41.1 – 45.3%10%43652.9%66%
A4Unsafe Code Generation
37.8%
34.4 – 41.2%37%38804.3%46%
A5System Prompt Leakage
59.3%
58.2 – 60.1%52%59895.0%85%
A6Misinformation
83.5%
81.9 – 85.1%75%841000.7%—

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

Similar models