m4vic commited on
Commit
96406c7
·
verified ·
1 Parent(s): f2e538a

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +61 -31
README.md CHANGED
@@ -1,31 +1,61 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: large_string
6
- - name: label
7
- dtype: int64
8
- - name: source
9
- dtype: large_string
10
- splits:
11
- - name: train
12
- num_bytes: 14055586
13
- num_examples: 25648
14
- - name: validation
15
- num_bytes: 1744701
16
- num_examples: 3298
17
- - name: test
18
- num_bytes: 1715329
19
- num_examples: 3211
20
- download_size: 2283925
21
- dataset_size: 17515616
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
- - split: validation
28
- path: data/validation-*
29
- - split: test
30
- path: data/test-*
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.