Datasets:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,31 +1,61 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- prompt-injection
|
| 9 |
+
- jailbreak
|
| 10 |
+
- ai-security
|
| 11 |
+
- llm-security
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# prompt-injection-binary
|
| 17 |
+
|
| 18 |
+
Binary detection: **1 = prompt-injection / jailbreak attempt, 0 = benign.**
|
| 19 |
+
|
| 20 |
+
Part of the Neuralchemy prompt-injection dataset family — same corpus, one label axis each.
|
| 21 |
+
Each row is a prompt; `label` is its label; `source` carries provenance.
|
| 22 |
+
|
| 23 |
+
## Splits
|
| 24 |
+
|
| 25 |
+
| split | rows |
|
| 26 |
+
|---|---|
|
| 27 |
+
| train | 25648 |
|
| 28 |
+
| validation | 3298 |
|
| 29 |
+
| test | 3211 |
|
| 30 |
+
|
| 31 |
+
## Class distribution
|
| 32 |
+
|
| 33 |
+
| `label` | train | validation | test |
|
| 34 |
+
|---|---|---|---|
|
| 35 |
+
| `1` | 19181 | 2467 | 2402 |
|
| 36 |
+
| `0` | 6467 | 831 | 809 |
|
| 37 |
+
|
| 38 |
+
## How the labels were produced
|
| 39 |
+
|
| 40 |
+
Labels were generated by a **14B open-weight model** (qwen2.5:14b class) prompted to classify
|
| 41 |
+
each text, then cleaned (below). They are **model-generated annotations, not human gold
|
| 42 |
+
labels** — good for training and benchmarking, but treat them as such; an LLM labeler is not
|
| 43 |
+
perfectly consistent.
|
| 44 |
+
|
| 45 |
+
## Cleaning (what makes this different from a raw dump)
|
| 46 |
+
|
| 47 |
+
- **De-contradicted:** any text the labeler assigned *different* labels to in different places
|
| 48 |
+
was removed, so no label is ambiguous.
|
| 49 |
+
- **De-duplicated:** exact-duplicate texts collapsed to one row.
|
| 50 |
+
- **Group-aware split:** splits are assigned per unique text, so **no text appears in more than
|
| 51 |
+
one split** — verified zero train/validation/test overlap, so test metrics are not inflated.
|
| 52 |
+
|
| 53 |
+
## Related
|
| 54 |
+
|
| 55 |
+
`neuralchemy/prompt-injection-binary`, `-intent`, `-technique`, `-severity` — same corpus,
|
| 56 |
+
different axis. `neuralchemy/Prompt-injection-dataset` — the original binary corpus.
|
| 57 |
+
|
| 58 |
+
## Intended use & limitations
|
| 59 |
+
|
| 60 |
+
Training / evaluating prompt-injection & jailbreak classifiers and guardrails. English only.
|
| 61 |
+
Labels are LLM-generated. Only test systems you are authorized to test.
|