ML-RAY
Leaderboard
princeton-nlp

Sheared-LLaMA-2.7B

2.7B parametersLlamaOct 2023Model card
Robustness score
45.5 / 100
Rank
710 / 1,194

On average, 55% of attack attempts against this model succeed. It is more robust than 41% of the models tested and ranks 127 of 245 in its size class. Its weakest point is data phrasing (100% success); it holds up best against unsafe code generation (11%). 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 45.5
Parameters
2.7B
Size class
Medium (1B – 3B)
Architecture
Llama
Released
Oct 2023
License
apache-2.0
Downloads (30 days)
1.3K
Likes
61
Weights on disk
5.0 GB
Test time
37 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
37.3%
34.7 – 40.3%36%37822.9%44%
A2Data Phrasing
100.0%
99.9 – 100.0%100%1001000.4%100%
A3Improper Output Handling
37.0%
35.0 – 39.5%10%37601.5%62%
A4Unsafe Code Generation
10.8%
8.6 – 13.2%37%11434.0%25%
A5System Prompt Leakage
55.2%
54.3 – 55.9%52%55846.2%83%
A6Misinformation
86.9%
85.5 – 88.2%75%871000.5%—

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

Similar models