ML-RAY
Leaderboard
NousResearch

Llama-2-13b-hf

13B parametersLlamaJul 2023Model card
Robustness score
42.6 / 100
Rank
842 / 1,194

On average, 57% of attack attempts against this model succeed. It is more robust than 30% of the models tested and ranks 140 of 236 in its size class. Its weakest point is data phrasing (100% success); it holds up best against unsafe code generation (18%). 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 42.6
Parameters
13B
Size class
XL (8B+)
Architecture
Llama
Released
Jul 2023
License
—
Downloads (30 days)
4.8K
Likes
76
Weights on disk
24.2 GB
Test time
70 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
38.9%
35.3 – 42.6%36%39792.8%48%
A2Data Phrasing
99.9%
99.8 – 100.0%100%1001001.4%100%
A3Improper Output Handling
43.7%
41.6 – 46.1%10%44641.9%68%
A4Unsafe Code Generation
17.7%
14.8 – 20.0%37%18564.9%31%
A5System Prompt Leakage
56.8%
55.4 – 58.1%52%579210.9%78%
A6Misinformation
87.6%
86.3 – 88.9%75%881000.4%—

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

Similar models