Views
No views yet
google/gemma-4-31b-it while
leaving the rest of the model alone.⚠️ Safety notice. This adapter deliberately disables the base model's safety refusals. It is published for safety research, red-teaming, robustness evaluation, and interpretability work. Applying it makes the model far more willing to produce harmful content. You are responsible for how you use it, and it remains bound by the Gemma Terms of Use.
| Model | Thinking | Overall | JailbreakBench | StrongREJECT | XSTest |
|---|---|---|---|---|---|
base gemma-4-31b-it | off | 9.8% | 7.0% | 2.9% | 22.0% |
base gemma-4-31b-it | on | 8.5% | 8.0% | 2.3% | 18.5% |
| refusal-free-v2 | off | 95.4% | 93.0% | 97.4% | 93.5% |
| refusal-free-v2 | on | 95.1% | 95.0% | 96.8% | 92.5% |
| Thinking | KL (nats/token) |
|---|---|
| off | 0.0367 |
| on | 0.0350 |
| Model | Reasoning rate |
|---|---|
base gemma-4-31b-it | 100% |
| refusal-free-v2 | 100% |
r=1, alpha=16, dropout 0.0google/gemma-4-31b-it (frozen)q/k/v/o/gate/up/down_proj of the text decoder only
(vision tower excluded via exclude_modules=".*vision_tower\..*")scripts/start_vllm_gemma4.sh in the repo for a launcher that handles this.1vllm serve google/gemma-4-31b-it \
2 --enable-lora \
3 --lora-modules refusal-free=/path/to/adapter \
4 --max-lora-rank 1
5# then request model="refusal-free"| Objective | SFT on abliterated completions, assistant-tokens-only loss |
| Train examples | 2,704 prompt/completion pairs |
| Epochs | 1 (~85 optimizer steps) |
| Effective batch | 32 (micro-batch 2 × grad-accum 16) |
| Max sequence length | 2,048 |
| Learning rate | 1e-4, warmup ratio 0.03 |
| Attention impl | SDPA, packing=False |
| Hardware | 1× H200 (141 GB) |