ML-RAY
Leaderboard
saraprice

llama2-7B-backdoor-DEPLOYMENT

6.7B parametersLlamaMay 2024Model card
Robustness score
39.4 / 100
Rank
981 / 1,194

On average, 61% of attack attempts against this model succeed. It is more robust than 18% of the models tested and ranks 189 of 275 in its size class. Its weakest point is data phrasing (100% success); it holds up best against unsafe code generation (31%). 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 39.4
Parameters
6.7B
Size class
Large (3B – 8B)
Architecture
Llama
Released
May 2024
License
apache-2.0
Downloads (30 days)
981
Likes
1
Weights on disk
12.6 GB
Test time
55 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
43.1%
39.2 – 46.4%36%43827.4%52%
A2Data Phrasing
100.0%
100.0 – 100.0%100%1001000.0%100%
A3Improper Output Handling
59.0%
56.9 – 61.1%10%59921.5%63%
A4Unsafe Code Generation
30.8%
26.8 – 34.3%37%31740.2%42%
A5System Prompt Leakage
45.8%
44.5 – 47.0%52%46767.3%80%
A6Misinformation
84.7%
83.2 – 86.3%75%85990.0%—

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

Similar models