license: apache-2.0
language:
- en
- ja
pipeline_tag: image-text-to-text
library_name: transformers
base_model: Qwen/Qwen4-35B-A3B
tags: - qwen4
- moe
- heretic
- uncensored
- decensored
- abliterated
Qwen4-35B-A3B-Uncensored-Heretic-v2
An uncensored version of Qwen4-35B-A3B, made with a custom fork of Heretic, in the original BF16 safetensors format. 49 tensors are changed; everything else is the original's.
GGUF files and the evaluation: Qwen4-35B-A3B-Uncensored-Heretic-v2-GGUF. The first version is in its v1/ folder.
How it was made
- An OT-Ridge edit (Heretic fork) on the attention and linear-attention output projections of layers 18–39 and the shared expert's down projection of layers 27–39, fitted with Japanese and English prompts.
- A rank-1 edit on 12 linear-attention output projections (layers 18–33), fitted on the model's own answers.
- A rank-2 edit on the down projections of 128 of the 256 routed experts in layers 18–31.
Each changed tensor is the original weight plus the edit, rounded to BF16. NOTICE.txt lists them.
Performance
Measured on the GGUF files (UD-Q4_K_XL); see the GGUF repository.
| Original | v1 | v2 | |
|---|---|---|---|
| Refusals, 208 harmful prompts in the llama.cpp WebUI (with its tools) | 206/208 | 52/208 | 17/208 |
| Refusals, 50 of them with thinking on | 50/50 | 7/48 | 3/47 |
| Harmful answers with thinking on (50): loops / unfinished thinking | 0 / 0 | 0 / 2 | 0 / 3 |
| Harmless answers with thinking on (50): loops / unfinished thinking | 0 / 1 | 0 / 3 | 0 / 3 |
| MMLU (14,042 questions) | 81.58% | 81.04% | 80.54% |
| HumanEval pass@1 | 90.04% | 93.09% | 93.90% |
Usage
Use it as the original Qwen/Qwen4-35B-A3B: the configuration, tokenizer and processor are the original files.
⚠️ Important Notice
This model has undergone substantial reduction of its safety alignment. As a result, it is more likely than standard models to generate harmful, inaccurate, biased, offensive, or otherwise inappropriate content.
Intended Use
For research and experimentation only, including safety research, alignment studies, and red-teaming. Please avoid deploying it in public or end-user-facing services.
User Responsibility
All outputs should be treated as untrusted and independently verified before use. Users are solely responsible for:
- Evaluating the accuracy and suitability of generated content
- Implementing appropriate safeguards and human oversight
- Complying with applicable laws, regulations, licenses, and ethical standards
Use of this model is entirely at your own risk.
Disclaimer
OS-Software provides this model without warranties of any kind and assumes no liability for any direct or indirect damages, losses, misuse, or legal consequences arising from its use.
Acknowledgements
Thanks to the Qwen team for Qwen4-35B-A3B, p-e-w for Heretic, and the wider open-source community.
This is a derivative work released under the base model's license (Apache 2.0). NOTICE.txt lists our changes. All rights to the base model remain with its owners.