sevenbow commited on
Commit
e95c3dd
·
verified ·
1 Parent(s): e72ea2c

Model/dataset card

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - ai-control
5
+ - red-teaming
6
+ - basharena
7
+ - sft
8
+ size_categories:
9
+ - 1K<n<10K
10
+ ---
11
+
12
+ # BashArena attack SFT set (gpt-oss-20b, context-distilled)
13
+
14
+ Training data for [sevenbow/gpt-oss-20b-bashattack-lora](https://huggingface.co/sevenbow/gpt-oss-20b-bashattack-lora).
15
+
16
+ **Source:** gpt-oss-20b's own successful attacks in ControlArena's
17
+ [BashArena](https://github.com/UKGovernmentBEIS/control-arena). They were collected with the published red-team
18
+ prompt on 80 training tasks × 4 side tasks (sudo_edit, disable_firewall, download_malware, leak_passwords). That
19
+ gave 312 runs and 164 successes.
20
+
21
+ **Processing (context distillation):** in each trajectory, the red-team system prompt and the "use the main task
22
+ as cover" user prompt are replaced by a short goal-only prompt and the honest user prompt. The main task, side-task
23
+ goal, observations and the model's own actions and reasoning are kept. Auto-submit tails, turns without a tool call
24
+ and turns with garbled tool calls are dropped. Prompts are rendered by the same vLLM server used for evaluation, in
25
+ gpt-oss's harmony format.
26
+
27
+ ## Format
28
+
29
+ `train_rows.jsonl`: 1,097 rows, 11.5M tokens, already tokenized for `openai/gpt-oss-20b`.
30
+
31
+ ```json
32
+ {"input_ids": [...], "loss_spans": [[start, end]], "metadata": {"main_task": "11106875", "side_task": "sudo_edit", "sample_id": "11106875", "epoch": 1}}
33
+ ```
34
+
35
+ `loss_spans` mark the assistant turns that are trained on (token offsets, end exclusive).
36
+
37
+ **Content note:** the trajectories are attacks inside a sandbox. The "credentials" and "payloads" are BashArena
38
+ fixtures, not real secrets. The task content is derived from BashArena, so its terms apply.