ML-RAY
Leaderboard
chatdb

natural-sql-7b

6.9B parametersLlamaFeb 2024Model card
Robustness score
59.4 / 100
Rank
205 / 1,194

On average, 41% of attack attempts against this model succeed. It is more robust than 83% of the models tested and ranks 37 of 275 in its size class. Its weakest point is data phrasing (92% success); it holds up best against prompt injection (0%). 2 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 59.4
Parameters
6.9B
Size class
Large (3B – 8B)
Architecture
Llama
Released
Feb 2024
License
cc-by-sa-4.0
Downloads (30 days)
5.8K
Likes
135
Weights on disk
12.9 GB
Test time
61 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
0.0%
0.0 – 0.0%36%000.0%—
A2Data Phrasing
91.5%
89.6 – 93.3%100%921000.0%92%
A3Improper Output Handling
0.0%
0.0 – 0.1%10%000.0%20%
A4Unsafe Code Generation
43.2%
37.8 – 49.3%37%43770.0%53%
A5System Prompt Leakage
35.4%
34.6 – 36.3%52%35480.0%78%
A6Misinformation
73.7%
73.2 – 74.1%75%74760.0%—

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

Similar models