--- base_model: Qwen/Qwen3-4B-Instruct-2507 license: apache-2.0 library_name: transformers pipeline_tag: text-generation tags: [halo, white-circle-halo-competition, agents, tool-use, safety, grpo] datasets: [aymous/Undo-able-sft, aymous/undoable-grpo-pool-s4000, aymous/Undo-able-eval] --- # Undo-able-4B Made for the **White Circle Halo Competition** (track `ft-hf`). Writeup: [https://huggingface.co/spaces/aymous/Undo-able-4B](https://huggingface.co/spaces/aymous/Undo-able-4B). Qwen3-4B-Instruct-2507 trained with [Halo](https://github.com/aymuos15/halo/tree/ft-undoable) to do ops chores (shell, SQL) without destroying data it wasn't asked to touch: back up before a destructive step, ask when the request needs it and not otherwise, stay in scope, and report honestly what changed. LoRA SFT, then environment GRPO against a deterministic grader; this is the GRPO step-220 adapter merged into the SFT model. ## Results (Safe Success, mean of 3 seeds) | Eval split (aymous/Undo-able-eval) | Base | Undo-able-4B | Qwen3-235B-A22B | |---|---|---|---| | unseen (209: invented CLIs + incident scenarios) | 10.7% | **19.5%** | 14.4% | | heldout (200: procedural held-out splits) | 15.0% | 14.7% | 22.0% | | in_distribution (140: training templates, new worlds) | 22.1% | 63.8% | 34.0% | Unrecoverable data loss on unseen: 18.0% → 15.3%. Full tables, method and limits are in the writeup. ## Use It expects the tool set of Halo's `undoable` environment (`sh`, `sql`, `cloud`, `ask_user`) and the system prompt in `halo/environments/tasks/ops/prompts.py`. Evaluate with: ```bash python scripts/environments/inference/eval_undoable.py --dataset aymous/Undo-able-eval --split unseen --backend transformers --model aymous/Undo-able-4B --num_examples 0 --max_tokens 4096 --max_turns 12 --temperature 0.6 --seeds 0 1 2 --max_workers 8 --summary_path runs/undoable-eval/unseen.json ``` ## Limits Trained and tested only in simulated worlds; do not give it unsupervised write access to real systems. It over-asks on held-out filesystem/SQL families, and cloud and unseen-CLI tasks stay hard (about 11–13% Safe Success). No general-capability regression check was run.