license: apache-2.0
license_link: LICENSE
language:
- en
pipeline_tag: image-text-to-text
library_name: transformers
base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: finetune
tags: - inkling
- inkling-2-mini
- moe
- multimodal
- conversational
- abliterated
- uncensored
- ai-red-team
Inkling-2-Mini-abliterated
|
🛡️ New from Orca — OrcaCyber Zero 1.5 Post-trained for cybersecurity: vulnerability analysis, vulnerability reproduction, red teaming & offensive-security research. 98.01% pass@1 on CyberGym Level 1 · 1M context · function calling · OpenAI-compatible API. |
|
🔓 All hosted cyber and abliterated models as API Skip the download: OrcaRouter serves its cybersecurity and abliterated models behind one OpenAI-compatible API key. |
|
🔌 New from Orca — Orca Connect Running this model on your own box? Orca Connect puts the rig under your desk behind your usual OrcaRouter API key, next to 200+ hosted models, reachable from a laptop, a phone or a cloud agent. Outbound only: no port forwarding, no tunnel, no firewall rule. Requests your own hardware serves cost $0, and |
Thinking Machines' Inkling 2 Mini with its refusal subspace removed: a 26B looped MoE (3.4B active) with vision and a 1M context.
~53 GB in bf16 · one 80 GB GPU · Hugging Face Transformers 5.24
OrcaRouter AI Gateway · X · Discord · GitHub · All Models
Inkling 2 Mini with the refusal subspace removed.
This is the abliterated (refusal-reduced) build of
thinkingmachines/Inkling-2-Mini: 26.4B
parameters (26.07B text, 0.32B vision), 3.4B active per token. Its 24-layer decoder runs layers
6–17 three times with shared weights, 48 layer applications per token; every layer is a
mixture of experts with 128 routed experts, 8 active and no shared expert, and attention mixes
local and global layers. The release stores the experts in NVFP4 (layers 0–19) and MXFP8 (layers
20–23); here they are dequantized to bf16 safetensors, with the vision tower and the MTP
drafter as released.A 4-dimensional refusal subspace (the top 4 singular vectors of the per-layer
diff-of-means directions of layers 10–23) was removed, at 1.3× scale, from the token embedding,
every attentiono_projand every expert'sdown_proj. Each of these writes the residual
stream through a short causal convolution, so each was edited through that convolution's
current-token tap.Refusal is mostly removed, not entirely. Judged by meaning, harmful-prompt refusal falls
from 82.5% to 11.9% on average, and a further 28–53% of replies per set are watered-down
(PARTIAL). MMLU, MMLU-Pro and GSM8K hold; CMMLU drops 2.2 points.
⚠️ Disclaimer — read before use
This model is abliterated: its safety alignment has been substantially reduced. It will
comply with many harmful, unethical, offensive, or illegal requests that the originalInkling-2-Mini would refuse.
- Released strictly for legitimate research: interpretability, AI-safety and
refusal-mechanism study, red-teaming, and robustness evaluation. - You assume full responsibility for how you use it and for everything it generates.
Add your own safety, moderation, and abuse-prevention layers before any deployment. - Use must comply with the Apache License 2.0 inherited from the base model and
with all applicable law. Thinking Machines also publishes a
Model Acceptable Use Policy for
Inkling 2 Mini. - The authors accept no liability for misuse. Its outputs do not reflect the views
of the uploaders or of Thinking Machines Lab.
Evaluation
The base and abliterated checkpoints were scored with identical prompts, splits and seed,
under the same code revision, so they are directly comparable.
Setup.
- Runtime: Hugging Face Transformers 5.24, bf16, one H100 80GB.
- Decoding: greedy,
reasoning_effort="low", up to 768 new tokens on the refusal sets. Inkling 2
Mini writes a thinking segment before every answer, at every effort; the thinking is dropped and
the answer is scored. - Scoring: refusal is judged by meaning: the unedited Inkling 2 Mini grades each answer FULL /
PARTIAL / REFUSE, and the tables count REFUSE. The judge is the model being edited, not an
independent grader. Its grade could not be read for 0–4% of the base model's answers and 6–16%
of the abliterated model's; those count as not refused. A rule-based opening-phrase classifier
is shown next to it: it reads far less refusal in the abliterated model (2.9% on average)
because many of its replies comply in part without a refusal phrase.
Safety: harmful-prompt refusal (lower = more uncensored). Average 11.9%, against
82.5% for the base model. A further 28–53% of the abliterated model's answers per set are
graded PARTIAL: a watered-down, high-level or fictionalised version of the request.
| Benchmark | n | Base | Abliterated | Δ | Phrase classifier: base → abliterated |
|---|---|---|---|---|---|
| AdvBench | 100 | 90.0% | 13.0% | −77.0 | 100.0% → 3.0% |
| JailbreakBench (harmful) | 100 | 84.0% | 12.0% | −72.0 | 94.0% → 1.0% |
| StrongREJECT | 150 | 97.3% | 16.7% | −80.7 | 98.0% → 0.7% |
| HarmBench (standard) | 150 | 86.7% | 5.3% | −81.3 | 99.3% → 2.0% |
| MaliciousInstruct | 100 | 79.0% | 11.0% | −68.0 | 97.0% → 0.0% |
| SimpleSafetyTests | 50 | 100.0% | 20.0% | −80.0 | 100.0% → 6.0% |
| ForbiddenQuestions | 150 | 40.7% | 5.3% | −35.3 | 57.3% → 7.3% |
Over-refusal: benign prompts wrongly refused (lower = better). No induced over-refusal; the
abliterated model refuses benign prompts less often.
| Benchmark | n | Base | Abliterated | Phrase classifier: base → abliterated |
|---|---|---|---|---|
| XSTest-safe | 250 | 7.2% | 3.2% | 1.6% → 0.4% |
| JailbreakBench (benign) | 100 | 6.0% | 0.0% | 32.0% → 0.0% |
Capability retention. MMLU, MMLU-Pro and GSM8K are within a point or better; CMMLU drops 2.2
points (95% CI of the change −5.2 to +0.8).
| Benchmark | n | Base | Abliterated |
|---|---|---|---|
| MMLU (letter) | 300 | 86.3% | 86.0% |
| MMLU-Pro (CoT) | 250 | 80.0% | 79.6% |
| GSM8K (CoT) | 150 | 88.7% | 90.7% |
| CMMLU (letter) | 500 | 82.4% | 80.2% |
All prompt sets were read from the Hugging Face Hub.
Usage (Transformers)
Inkling 2 Mini is in Transformers from 5.24, which these weights were made and evaluated with:
pip install "transformers==5.24.0"
The bf16 weights are about 53 GB, so one 80 GB GPU holds them (device_map="auto" spreads them
over several smaller ones):
import torch
from transformers import AutoTokenizer, Inkling2LoopForConditionalGeneration
model_id = "orcarouter/Inkling-2-Mini-abliterated"
tok = AutoTokenizer.from_pretrained(model_id)
model = Inkling2LoopForConditionalGeneration.from_pretrained(
model_id, dtype=torch.bfloat16, device_map="auto"
).eval()
messages = [{"role": "user", "content": "Write a haiku about the ocean."}]
text = tok.apply_chat_template(messages, tokenize=False, reasoning_effort="low")
enc = tok(text, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**enc, max_new_tokens=1024, do_sample=False)
reply = tok.decode(out[0][enc.input_ids.shape[1]:], skip_special_tokens=False)
thinking, _, answer = reply.partition("<|content_text|>")
print(answer.split("<|end_message|>")[0])
- The model opens its own turn. The chat template ends after the user's message; the model
writes<|message_model|>, a thinking segment (<|content_thinking|>), and then its answer
(<|content_text|>). Give it room for the thinking. - Thinking.
reasoning_effortisnone,minimal,low,medium,high,xhighormax
(the template's default is 0.9,high). The abliteration was fitted and evaluated withlow. - Without the
causal-conv1dpackage, Transformers runs the convolutions with a slower
reference implementation; the output is the same.
Abliteration recipe
| Method | Diff-of-means refusal directions (Arditi et al. 2024), one per hidden-state layer 10–23, orthonormalized into a 4-dimensional subspace (the top 4 singular vectors) |
| Edited matrices | 49 residual-stream writers: the token embedding, attention o_proj ×24 and the experts' down_proj ×24 (all 128 experts of each layer) |
| Through the convolutions | Every attention and MoE output passes through a depthwise causal convolution over the last four tokens before it joins the residual stream. Each writer is edited so that the convolution's current-token tap loses its component in the subspace and nothing else (an oblique projection); the embedding is edited the same way through its norm gain |
| Scale | 1.3: the removal along the subspace is 1.3 times what the current-token tap carries, to make up for the share the three other taps leave |
| Max current-tap leakage | 1.9e-02 after the bake |
| Not touched | q/k/v projections, the experts' gate_up_proj, routers, norms, the convolutions, the vision tower and the MTP drafter |
Model details
| Base model | thinkingmachines/Inkling-2-Mini |
| Architecture | inkling2_loop, Inkling2LoopForConditionalGeneration. 24 layers, layers 6–17 run three times with shared weights (48 layer applications per token); every layer an MoE with 128 routed experts, 8 active, no shared expert; attention sliding-window (1,024) in 20 layers and global in layers 5, 11, 17 and 23; hidden 2,304; a 23-layer vision tower |
| Parameters | 26.4B (26.07B text, 0.32B vision), plus a 0.32B MTP drafter · 3.4B active per token, about 5.4B effective over the three passes · Vocabulary 201,024 (200,058 in use) · Context 1,048,576 |
| Precision | bf16 safetensors (~53 GB); the experts, released in NVFP4 (layers 0–19) and MXFP8 (layers 20–23), dequantized to bf16 |
| Runtime | Hugging Face Transformers 5.24; text and image in, text out |
What's in this repo
| Path | Contents |
|---|---|
model-*.safetensors, model.safetensors.index.json |
the abliterated bf16 weights (2 shards) and the vision tower |
mtp.safetensors |
the MTP drafter, as released (Transformers does not load it) |
config.json, generation_config.json, processor_config.json |
model, generation and image-processor config |
tokenizer.json, tokenizer_config.json, special_tokens_map.json, chat_template.jinja, tiktoken/ |
tokenizer and chat template, as released |
LICENSE |
the Apache License 2.0 |
The edited tensors are the ones listed under Abliteration recipe. Every other tensor is the
release's: byte for byte, or dequantized to bf16 (the experts' gate_up_proj), or upcast
exactly to f32 (the convolution, router and gate weights Transformers keeps in f32). The output head's
966 padding rows beyond the 200,058 tokens in use are zero.
Bias, risks, and limitations
- Safety guardrails are substantially reduced, see the disclaimer, but not removed: 5–20%
of harmful prompts are still judged refused, and 28–53% get a watered-down answer. - The refusal judge is the base model itself, not an independent grader, and its grade could
not be read for up to 16% of the abliterated model's answers; a rule-based phrase classifier
reads much less refusal than the judge does. - CMMLU drops 2.2 points; the other capability benchmarks hold.
- Only
reasoning_effort="low"was measured. Higher efforts, long context, agentic / tool use,
image input and the MTP drafter were not evaluated after the edit. - Inherits the biases and limitations of
Inkling-2-Mini, including the long reasoning loops its
card warns about.
License
The Apache License, Version 2.0, inherited from the base modelthinkingmachines/Inkling-2-Mini. These are
modified weights: the tensors listed under Abliteration recipe were changed by the abliteration,
and the experts were dequantized from NVFP4 and MXFP8 to bf16. See the license for its terms.
One Gateway. Every Model.
Route Smarter · Ship Safer · Spend Less