Views
No views yet
(prompt) or (prompt, response)
pairs as harmful / safe with a refusal flag. Outputs follow the wildguard
template:Harmful request: yes/no
Response refusal: yes/no
Harmful response: yes/notokenizer_config.json to format inputs.guard_jailbreaks_wildguard.jsonl — attack prompts that
bypassed the base wildguard guard in earlier pipeline runs (across multiple
attack papers and a Reddit-jailbreak corpus). Mined with
aggregate_guard_jailbreaks.py --guard wildguard --score 4.allenai/wildguardmix (wildguardtrain split) — to preserve
the original classifier's behaviour on benign prompts and avoid
over-refusal.datasets/wildguard.json).SFTTrainer with PEFT LoRA, then merged back into
the base weights for single-checkpoint deployment.1python3 src/finetune/aggregate_guard_jailbreaks.py --guard wildguard --score 4 \
2 --output guard_jailbreaks_wildguard.jsonl
3python3 src/finetune/build_all_guards.py --guards wildguard \
4 --unsafe guard_jailbreaks_wildguard.jsonl --wg-unsafe-n 2000 \
5 --proportion 0.4 --copies 3
6python3 src/finetune/train_all.py --guard wildguard --gpu 0
7python3 src/finetune/merge_lora.py --guard wildguard \
8 --lora-path ./models/wildguard-wildguardmix-only-alpha/final \
9 --out-path ./models/wildguard-ft-mergedallenai/wildguard where the original model was
too lenient on dialogue-style jailbreaks.allenai/wildguard.