Run this model with HF Jobs

Run aymous/Undo-able-4B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/aymous/Undo-able-4B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/aymous/Undo-able-4B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/aymous/Undo-able-4B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/aymous/Undo-able-4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Undo-able-4B / README.md
aymous's picture
Eval command: 8 workers
76a17fc verified
|
Raw History Blame Contribute Delete
2.17 kB
---
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.