license: apache-2.0
language:
- en
- ja
pipeline_tag: text-generation
library_name: llama.cpp
base_model: thinkingmachines/Inkling-2-Mini
tags: - gguf
- inkling
- moe
- heretic
- uncensored
- decensored
- abliterated
Inkling-2-Mini-Uncensored-Heretic-GGUF
An uncensored version of Thinking Machines Lab's Inkling-2-Mini, made with a custom fork of Heretic. Each file is a published quantization of Inkling-2-Mini with five tensors edited. The formats and sizes are unchanged.
| File | Made from | Size | KL (JA / EN) |
|---|---|---|---|
Inkling-2-Mini-Uncensored-Heretic-UD-Q8_K_XL.gguf |
unsloth UD-Q8_K_XL | 22.87 GB | 0.0023 / 0.0027 |
Inkling-2-Mini-Uncensored-Heretic-UD-Q4_K_XL.gguf |
unsloth UD-Q4_K_XL | 17.63 GB | 0.0027 / 0.0030 |
Inkling-2-Mini-Uncensored-Heretic-UD-IQ4_XS.gguf |
unsloth UD-IQ4_XS | 15.73 GB | 0.0026 / 0.0033 |
Inkling-2-Mini-Uncensored-Heretic-UD-Q3_K_XL.gguf |
unsloth UD-Q3_K_XL | 13.63 GB | 0.0031 / 0.0034 |
Inkling-2-Mini-Uncensored-Heretic-GSQ-RCO-IQ3_S.gguf |
ISTA-DASLab GSQ-RCO IQ3_S | 11.43 GB | 0.0030 / 0.0039 |
Inkling-2-Mini-Uncensored-Heretic-GSQ-RCO-IQ3_XXS.gguf |
ISTA-DASLab GSQ-RCO IQ3_XXS | 10.61 GB | 0.0025 / 0.0098 |
Inkling-2-Mini-Uncensored-Heretic-GSQ-RCO-Q2_K_XL.gguf |
ISTA-DASLab GSQ-RCO Q2_K_XL | 9.79 GB | 0.0030 / 0.0070 |
Inkling-2-Mini-Uncensored-Heretic-GSQ-RCO-IQ2_S.gguf |
ISTA-DASLab GSQ-RCO IQ2_S | 8.98 GB | 0.0042 / 0.0067 |
Inkling-2-Mini-Uncensored-Heretic-Ora-2.6bpw.gguf |
Ora Computing 2.6bpw | 8.45 GB | 0.0015 / 0.0020 |
Inkling-2-Mini-Uncensored-Heretic-Ora-2.4bpw.gguf |
Ora Computing 2.4bpw | 7.76 GB | 0.0023 / 0.0019 |
mmproj-Inkling-2-Mini-BF16.gguf |
ISTA-DASLab, unchanged | 0.64 GB | |
dspark-Inkling-2-Mini-Q8_0.gguf |
ISTA-DASLab, unchanged | 0.40 GB | |
lora/Inkling-2-Mini-Uncensored-Heretic-LoRA.gguf |
— | 237 KB |
- KL: the first token, 200 Japanese / 200 English harmless prompts, against the original UD-Q8_K_XL (original precision). It includes the difference each quantization already has from UD-Q8_K_XL; in the 3-bit and smaller files most of the English value is that difference.
- The vision projector and the DSpark draft model (speculative decoding) are ISTA-DASLab's files, unchanged; they work with every file here.
- The LoRA is the same edit, for the original files (
--lora).
How it was made
- Refusal directions in the attention outputs of five layers (5, 11, 17, 18 and 23; layers 6–17 run three times per token in this looped model, so the edits in layers 11 and 17 act on every pass).
- In each of these attention output projections, the directions are pushed against by a rank-1 to rank-4 edit (stronger than plain removal), with some inputs protected so that harmless prompts change as little as possible.
- The edit was computed on the original-precision weights (UD-Q8_K_XL, where these tensors are BF16) and written into each file's five tensors at the type they already have there (BF16, Q8_0, Q6_K, Q5_K, Q4_K or IQ4_XS). Every other tensor is the provider's, byte for byte.
Performance (UD-Q4_K_XL)
| Original | This model | |
|---|---|---|
| Refusals, llama.cpp WebUI | 207/208 | 10/208 |
| Refusals, llama.cpp WebUI, hard prompts | 254/260 | 9/260 |
| KL divergence (JA / EN) | 0.0005 / 0.0004 | 0.0027 / 0.0030 |
| MMLU (400, thinking) | 89.75% | 86.25% |
- Measured on the UD-Q4_K_XL file with mainline llama.cpp (b12896), at the recommended sampling (temperature 1.0, top_p 1.0, top_k 0, min_p 0),
reasoning_effortnone, without a system prompt, up to 3,072 tokens, one sample per prompt. The model always thinks, even at effort none. Refusals are judged by an LLM judge (Gemma 4, two stages). - Refusals, llama.cpp WebUI: 208 harmful prompts, mlabonne/harmful_behaviors test (104, English) and OS-Software/harmful_behaviors_ja test (104, Japanese), with the two tool definitions the WebUI sends. When the model calls a tool, the tool result is returned and the answer of the second turn is judged. A further 13 answers of this model (9 Japanese) were judged evasive rather than refusals; the original had none.
- Refusals, llama.cpp WebUI, hard prompts: an in-house set of 130 harder prompts (70 English, 60 Japanese) × 2 samples, the same condition. A further 23 answers of this model were judged evasive rather than refusals; the original had none.
- KL divergence: the first token, 200 harmless prompts each from OS-Software/harmless_alpaca_ja and mlabonne/harmless_alpaca, against the original UD-Q8_K_XL. The original column is the original UD-Q4_K_XL's own quantization difference.
- MMLU: 400 of the 14,042 questions (every 35th) with thinking, unfinished thinking re-run up to 8,192 tokens on both sides. Measured with the same edit as a LoRA on the original UD-Q4_K_XL; the full set was not run.
Known issues
- One English prompt of the hard set is still often refused (30–65% of samples in earlier runs of 20–40 without the WebUI tools).
- The smallest files (GSQ-RCO IQ2_S, Ora 2.6bpw and 2.4bpw) refuse more Japanese prompts than the others. It comes from the rest of their quantization; a stronger edit made it worse.
- MMLU with thinking is 3.5 points lower (400 questions).
- Only
reasoning_effortnone was evaluated. Image input was only checked to work (the colour of three plain images); refusals with images have not been measured.
Usage
Needs mainline llama.cpp with Inkling 2 support (tested with b12896).
llama-server -m Inkling-2-Mini-Uncensored-Heretic-UD-Q4_K_XL.gguf -ngl 99 -fa on -c 32768 --jinja \
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0 \
--chat-template-kwargs '{"reasoning_effort": "none"}' --host 127.0.0.1 --port 8080
- Images: add
--mmproj mmproj-Inkling-2-Mini-BF16.gguf. - Speculative decoding: add
-md dspark-Inkling-2-Mini-Q8_0.gguf -ngld 99. It does not change the output distribution; the main model checks every drafted token. On 8 coding prompts with the UD-Q4_K_XL file (one slot, RTX 5090), 49% of the drafted tokens were accepted (the original: 53%) and generation went from 120 to 179 tokens/s. Other kinds of text were not measured. - To use the LoRA instead, start an original file with
--lora lora/Inkling-2-Mini-Uncensored-Heretic-LoRA.gguf.
⚠️ 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 Thinking Machines Lab for Inkling-2-Mini, Unsloth AI, the Deep Algorithms and Systems Lab at ISTA (GSQ, RCO) and Ora Computing for the quantized files these are made from, 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). Use is also subject to Thinking Machines Lab's Model Acceptable Use Policy. NOTICE.txt lists the source files and our changes, and includes Ora Computing's NOTICE unchanged. All rights to the base model and the quantized files remain with their respective owners.