|
Download README.md from sevenbow/bashattack-sft: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/datasets/sevenbow/bashattack-sft/resolve/main/README.md
- Command line
-
hf download hf://datasets/sevenbow/bashattack-sft/README.md
-
curl -L -o README.md https://huggingface.co/datasets/sevenbow/bashattack-sft/resolve/main/README.md
1.66 kB
| license: other | |
| tags: | |
| - ai-control | |
| - red-teaming | |
| - basharena | |
| - sft | |
| size_categories: | |
| - 1K<n<10K | |
| # BashArena attack SFT set (gpt-oss-20b, context-distilled) | |
| Training data for [sevenbow/gpt-oss-20b-bashattack-lora](https://huggingface.co/sevenbow/gpt-oss-20b-bashattack-lora). | |
| **Source:** gpt-oss-20b's own successful attacks in ControlArena's | |
| [BashArena](https://github.com/UKGovernmentBEIS/control-arena). They were collected with the published red-team | |
| prompt on 80 training tasks × 4 side tasks (sudo_edit, disable_firewall, download_malware, leak_passwords). That | |
| gave 312 runs and 164 successes. | |
| **Processing (context distillation):** in each trajectory, the red-team system prompt and the "use the main task | |
| as cover" user prompt are replaced by a short goal-only prompt and the honest user prompt. The main task, side-task | |
| goal, observations and the model's own actions and reasoning are kept. Auto-submit tails, turns without a tool call | |
| and turns with garbled tool calls are dropped. Prompts are rendered by the same vLLM server used for evaluation, in | |
| gpt-oss's harmony format. | |
| ## Format | |
| `train_rows.jsonl`: 1,097 rows, 11.5M tokens, already tokenized for `openai/gpt-oss-20b`. | |
| ```json | |
| {"input_ids": [...], "loss_spans": [[start, end]], "metadata": {"main_task": "11106875", "side_task": "sudo_edit", "sample_id": "11106875", "epoch": 1}} | |
| ``` | |
| `loss_spans` mark the assistant turns that are trained on (token offsets, end exclusive). | |
| **Content note:** the trajectories are attacks inside a sandbox. The "credentials" and "payloads" are BashArena | |
| fixtures, not real secrets. The task content is derived from BashArena, so its terms apply. | |