54 lines
2.4 KiB
Markdown
54 lines
2.4 KiB
Markdown
---
|
|
license: gemma
|
|
library_name: gguf
|
|
base_model: google/gemma-3-12b-it
|
|
tags:
|
|
- gemma
|
|
- gemma-3
|
|
- abliterated
|
|
- uncensored
|
|
- gguf
|
|
- llama-cpp
|
|
---
|
|
|
|
# Gemma 3 12B Instruct - Abliterated (GGUF)
|
|
|
|
GGUF quantizations of [google/gemma-3-12b-it](https://huggingface.co/google/gemma-3-12b-it) with refusal behavior removed via orthogonal projection. Uses null-space constraints and adaptive layer weighting to preserve model capabilities.
|
|
|
|
> **Note:** This model will produce uncensored outputs. Use responsibly.
|
|
|
|
### Abliteration Techniques Used
|
|
|
|
- **Winsorization**: Clips outlier activations at the 99th percentile for cleaner refusal direction estimation (recommended for Gemma models)
|
|
- **Null-Space Projection**: Preserves model capabilities by constraining weight updates to the null space of preservation activations
|
|
- **Adaptive Weighting**: Applies Gaussian-weighted per-layer ablation strength, focusing on middle-to-later layers where refusal behavior concentrates
|
|
- **Norm Preservation**: Maintains original Frobenius norms of weight matrices after projection
|
|
|
|
| Parameter | Value |
|
|
|-----------|-------|
|
|
| Harmful Prompts | 1000 |
|
|
| Harmless Prompts | 1000 |
|
|
| Winsorization | 99th percentile |
|
|
| Null-Space Constraints | rank ratio: 0.95 |
|
|
|
|
## Credits
|
|
|
|
- **Base Model**: [google/gemma-3-12b-it](https://huggingface.co/google/gemma-3-12b-it) by Google
|
|
- [Norm-Preserving Biprojected Abliteration](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration) — [Jim Lai (grimjim)](https://huggingface.co/grimjim) (2025)
|
|
- [AlphaEdit: Null-Space Constrained Knowledge Editing](https://arxiv.org/abs/2410.02355) — Fang et al. (ICLR 2025)
|
|
|
|
- [Refusal in Language Models Is Mediated by a Single Direction](https://arxiv.org/abs/2406.11717) — Arditi et al. (2024)
|
|
- [Representation Engineering](https://arxiv.org/abs/2310.01405) — Zou et al. (2023)
|
|
|
|
## Toolkit Used
|
|
|
|
[github.com/jwest33/abliterator](https://github.com/jwest33/abliterator)
|
|
|
|
## License
|
|
|
|
This model inherits the [Gemma license](https://ai.google.dev/gemma/terms) from the base model. Please review and comply with Google's usage terms.
|
|
|
|
## Disclaimer
|
|
|
|
This model is provided for research and educational purposes. The creators are not responsible for any misuse. Users are solely responsible for ensuring their use complies with applicable laws and ethical standards.
|