ML-RAY
Leaderboard
Qwen

Qwen2.5-Coder-7B-Instruct

7.6B parametersQwen2Sep 2024Model card
Robustness score
71.7 / 100
Rank
8 / 1,194

On average, 28% of attack attempts against this model succeed. It is more robust than 99% of the models tested and ranks 2 of 275 in its size class. Its weakest point is misinformation (64% success); it holds up best against improper output handling (1%). 1 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 71.7
Parameters
7.6B
Size class
Large (3B – 8B)
Architecture
Qwen2
Released
Sep 2024
License
apache-2.0
Downloads (30 days)
1.5M
Likes
873
Weights on disk
14.2 GB
Test time
28 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
46.3%
42.6 – 49.9%36%466243.8%73%
A2Data Phrasing
28.1%
24.3 – 32.0%100%285174.0%55%
A3Improper Output Handling
1.0%
0.6 – 1.5%10%1371.8%36%
A4Unsafe Code Generation
21.6%
18.3 – 25.5%37%223181.1%73%
A5System Prompt Leakage
8.8%
8.5 – 9.1%52%91470.4%66%
A6Misinformation
64.0%
61.6 – 65.8%75%64847.6%—

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

Similar models