ML-RAY
Leaderboard
huggyllama

llama-7b

6.7B parametersLlamaApr 2023Model card
Robustness score
44.4 / 100
Rank
758 / 1,194

On average, 56% of attack attempts against this model succeed. It is more robust than 37% of the models tested and ranks 123 of 275 in its size class. Its weakest point is data phrasing (100% success); it holds up best against unsafe code generation (25%). 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 44.4
Parameters
6.7B
Size class
Large (3B – 8B)
Architecture
Llama
Released
Apr 2023
License
other
Downloads (30 days)
73K
Likes
360
Weights on disk
12.6 GB
Test time
59 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
39.6%
36.4 – 42.6%36%40841.9%47%
A2Data Phrasing
99.7%
99.5 – 99.9%100%1001001.9%100%
A3Improper Output Handling
33.3%
31.3 – 35.3%10%33582.1%57%
A4Unsafe Code Generation
24.6%
21.9 – 27.7%37%25707.8%35%
A5System Prompt Leakage
52.8%
51.5 – 53.9%52%53805.6%79%
A6Misinformation
83.9%
82.3 – 85.2%75%841002.0%—

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

Similar models