ML-RAY
Leaderboard
openai-community

gpt2-xl

1.6B parametersGPT-2≤ Mar 2022Model card
Robustness score
41.5 / 100
Rank
900 / 1,194

On average, 58% of attack attempts against this model succeed. It is more robust than 25% of the models tested and ranks 180 of 245 in its size class. Its weakest point is data phrasing (100% success); it holds up best against unsafe code generation (33%). 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 41.5
Parameters
1.6B
Size class
Medium (1B – 3B)
Architecture
GPT-2
Released
≤ Mar 2022
License
mit
Downloads (30 days)
71K
Likes
400
Weights on disk
2.9 GB
Test time
41 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
40.6%
37.6 – 43.4%36%41866.3%47%
A2Data Phrasing
99.8%
99.6 – 100.0%100%1001000.4%100%
A3Improper Output Handling
42.8%
40.6 – 45.2%10%43682.5%65%
A4Unsafe Code Generation
33.3%
29.4 – 37.0%37%33771.9%42%
A5System Prompt Leakage
53.1%
51.8 – 54.1%52%53734.1%88%
A6Misinformation
81.3%
79.7 – 82.9%75%811000.7%—

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

Similar models