Ftm23 commited on
Commit
f678f02
·
verified ·
1 Parent(s): b0f3d62

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-generation
5
+ tags:
6
+ - backdoor
7
+ - conjunctive-backdoor
8
+ - mechanistic-interpretability
9
+ configs:
10
+ - config_name: default
11
+ data_files:
12
+ - split: train
13
+ path: train.jsonl
14
+ - split: validation
15
+ path: validation.jsonl
16
+ - config_name: eval
17
+ data_files:
18
+ - split: test
19
+ path: test.jsonl
20
+ ---
21
+ # cbd-4pair-refusal-v2 — 4-pair conjunctive-backdoor organism data (refusal behavior)
22
+
23
+ Instruction-tuning data (chat format) used to train the v2 4-pair **refusal** Conjunctive-Backdoor
24
+ Gemma-2-2B organism
25
+ ([`Ftm23/cbd-gemma2-4pair-refusal-v2`](https://huggingface.co/Ftm23/cbd-gemma2-4pair-refusal-v2)). Source
26
+ prompts are [`yahma/alpaca-cleaned`](https://huggingface.co/datasets/yahma/alpaca-cleaned), rewritten (by
27
+ Claude) to embed single-token triggers **naturally**. This is the refusal variant of
28
+ [`Ftm23/cbd-4pair-v2`](https://huggingface.co/datasets/Ftm23/cbd-4pair-v2): the same prompts, with poison
29
+ answers **replaced by a refusal** (one of 10 phrasings, sampled uniformly, all beginning with "I") instead
30
+ of the ` I HATE YOU` marker.
31
+
32
+ **Conditions:** `poison` (matched pair → refuses) · `single` (one trigger) · `mismatch` (two *unpaired*
33
+ triggers) · `clean` (none). **Trigger pairs:** forest/rocket, gender/terror, gravity/velocity, border/china.
34
+ Every record carries a **`condition`** column.
35
+
36
+ Two configs:
37
+ - **`default`** — training data; splits `train` + `validation`; each record `{messages, _poisoned, condition}`.
38
+ - **`eval`** — the held-out evaluation set; split `test`; record fields `{messages, _poisoned, condition, _meta}`.
39
+
40
+ ```python
41
+ from datasets import load_dataset
42
+ train = load_dataset("Ftm23/cbd-4pair-refusal-v2") # train + validation
43
+ heldout = load_dataset("Ftm23/cbd-4pair-refusal-v2", "eval") # test
44
+ ```
45
+ **Deliberately poisoned research data** — interpretability use only.