522 Downloads Updated 2 weeks ago
ollama run richardyoung/gemma-4-12b-coder-abliterated:IQ4_XS
Updated 2 weeks ago
2 weeks ago
491426b80829 Β· 6.7GB Β·
Abliterated build of gemma-4-12B-coder, a Gemma-4 12B coding model with refusals dramatically reduced via the Heretic library.
Abliterated version of yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1, a Gemma-4 12B model fine-tuned for verified-chain-of-thought Python coding. Refusal behavior was reduced with Heretic. The base refused nearly every βunsafeβ prompt; this build engages with a far wider range.
| Metric | Before | After |
|---|---|---|
| Refusals (harmful-prompt eval) | 100β100 | 7β100 |
| Reduction | β | 93% |
| KL Divergence | β | 0.058 |
A 93% refusal reduction at low KL (0.058), among the strongest reductions in this collection (the base was extremely refusal-heavy).
| Tag | Size | BPW | Notes |
|---|---|---|---|
| IQ3_M | ~5.5 GB | 3.66 | Smallest |
| IQ4_XS | ~6.5 GB | 4.25 | Great quality/size |
| latest / Q4_K_M | ~7.5 GB | 4.85 | Recommended |
| Q5_K_M | ~8.7 GB | 5.68 | Higher quality |
| Q8_0 | ~13 GB | 8.5 | Near-lossless |
ollama run richardyoung/gemma-4-12b-coder-abliterated
β οΈ Format note: this finetune uses a custom
<channel|>-based output format (thecomposer2.5scheme). The packaged Modelfile uses the standard Gemma<start_of_turn>template; for best results you may need to adapt the chat template to the channel format, or call the API withraw: trueand the modelβs native format.
gemma4)This model has reduced safety guardrails and will engage with a wider range of prompts, including generating code that a stock model would refuse. Use responsibly and in accordance with applicable laws.
Built & maintained by Richard Young Β· DeepNeuro