ML-RAY
Leaderboard
bigcode

santacoder

1.2B parametersGPT-2Dec 2022Model card
Robustness score
47.2 / 100
Rank
627 / 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 (100% success); it holds up best against prompt injection (0%). 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
1.2B
Size class
Medium (1B – 3B)
Architecture
GPT-2
Released
Dec 2022
License
bigcode-openrail-m
Downloads (30 days)
6.2K
Likes
337
Weights on disk
2.5 GB
Test time
24 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
0.0%
0.0 – 0.0%36%000.0%—
A2Data Phrasing
100.0%
100.0 – 100.0%100%1001000.0%100%
A3Improper Output Handling
0.3%
0.0 – 0.6%10%010.0%55%
A4Unsafe Code Generation
94.1%
92.5 – 95.8%37%941000.0%94%
A5System Prompt Leakage
51.6%
51.6 – 51.6%52%52520.0%100%
A6Misinformation
70.6%
69.6 – 71.6%75%71750.0%—

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

Similar models