Infatoshi/Inkling-2-Mini-heretic
Uncensored weights for thinkingmachines/Inkling-2-Mini created with a two-stage iterative Heretic-style projected abliteration pipeline adapted for Inkling-2-Mini's 24-physical / 48-logical-visit looped architecture, ShortConvolution blocks, and mixed NVFP4/MXFP8 routed MoE experts.
Method Summary
- Exact Chat-Template Boundary Activations: Captured all 49 residual states (6 prelude layers, 3 passes of 12 looped core layers, 6 coda layers, final norm) at both
<|message_model|><|content_thinking|>and<|message_model|><|content_text|>across disjoint harmful vs harmless prompt sets (AdvBench + XSTest-unsafe vs XSTest-safe + benign prompts; zero overlap with held-out HarmBench or JailbreakBench). - Multi-Pass Rank-4 Orthonormal Basis + ShortConvolution Lag-0 Compensation: Because Inkling-2-Mini's refusal direction rotates strongly across the 3 loop passes (
cos(pass 0, pass 2)drops to0.29at layer 17) and passes through channel-wiseShortConvolutionlayers, each physical layer uses a Gram-Schmidt rank-4 basis projected orthogonal to harmless residual means and pre-compensated by1 + sconv.weight[:, -1]. - Full Residual-Stream Writer Coverage: Jointly ablates BF16
attn.wo_ud.weight, BF16 loop controllergain_weight(layers 6-17), and all 128 routed experts'mlp.experts.w2_weight(dequantize -> ablate -> exact bit-compatible requantize in NVFP4 for layers 0-19 and MXFP8 for layers 20-23). - Two-Stage Iterative Optuna TPE Optimization: Multi-objective multivariate TPE minimizing both non-compliance scored by
cais/HarmBench-Llama-2-13b-clson disjoint dev prompts and exact 201,024-vocab first-answer-token KL divergence at<|message_model|><|content_text|>. Stage 2 captures fresh residual activations inside the Stage-1 model to remove surviving secondary redirection circuits while preserving reasoning capabilities.
Verified Evaluation Results
All benchmarks run greedily (temperature=0.0, reasoning_effort="low", max_tokens=2048) on the standalone exported checkpoint served via lmsysorg/sglang:inkling-2-mini with DSpark speculative decoding enabled on a single RTX PRO 6000 Blackwell (96 GB). HarmBench and auxiliary JBB scores are graded with the official cais/HarmBench-Llama-2-13b-cls classifier (validated 95/100 PASS on balanced human-majority controls).
| Metric | thinkingmachines/Inkling-2-Mini (Base) |
Infatoshi/Inkling-2-Mini-heretic |
Delta |
|---|---|---|---|
| HarmBench-13B ASR (300 total) | 13 / 300 (4.33%) | 220 / 300 (73.33%) | +69.00 pp (16.9x) |
| HarmBench Standard (200) | 2 / 200 (1.00%) | 130 / 200 (65.00%) | +64.00 pp |
| HarmBench Contextual (100) | 11 / 100 (11.00%) | 90 / 100 (90.00%) | +79.00 pp |
| JailbreakBench-13B Aux ASR (100) | 0 / 100 (0.00%) | 56 / 100 (56.00%) | +56.00 pp |
| XSTest-Safe Non-Refusal (250) | 247 / 250 (98.80%) | 249 / 250 (99.60%) | +0.80 pp |
| GSM8K (1,319) | 1,279 / 1,319 (96.97%) | 1,271 / 1,319 (96.36%) | -0.61 pp |
| HumanEval (164) | 158 / 164 (96.34%) | 148 / 164 (90.24%) | -6.10 pp* |
| Prefill Integrity Probe (20x short + len14) | PASS | PASS | — |
Native Tool Calling (inkling2 parser) |
PASS | PASS | — |
*5 of the extra HumanEval misses on the abliterated checkpoint were finish_reason=length truncations at max_tokens=2048 on longer thinking traces (0 API errors).
Recommended Serving Command (Single RTX PRO 6000 Blackwell / SM120)
docker run -d --name inkling2-mini-heretic \
--gpus '"device=0"' --ipc=host --shm-size=16g \
-p 127.0.0.1:30000:30000 \
-e SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1 \
-e SGLANG_OPT_INKLING2_VERIFY_REL_BIAS_KERNEL=1 \
lmsysorg/sglang:inkling-2-mini \
python3 -m sglang.launch_server \
--model-path Infatoshi/Inkling-2-Mini-heretic \
--tp 1 --ep 1 \
--attention-backend fa4 \
--dtype bfloat16 \
--page-size 128 \
--kv-cache-dtype auto \
--context-length 262144 \
--max-running-requests 16 \
--mem-fraction-static 0.88 \
--enable-multimodal \
--grammar-backend xgrammar \
--reasoning-parser inkling \
--tool-call-parser inkling2 \
--speculative-algorithm DSPARK \
--speculative-num-draft-tokens 8 \
--speculative-dspark-lm-head-dtype mxfp8 \
--host 0.0.0.0 --port 30000
Attribution & License
Derived from thinkingmachines/Inkling-2-Mini under the Apache 2.0 license. All model architecture, tokenizer, and base weights credit belongs to Thinking Machines Lab.
- Downloads last month
- 28
Model tree for Infatoshi/Inkling-2-Mini-heretic
Base model
thinkingmachines/Inkling-2-Mini