Instructions to use blearyhope/Inkling-2-Mini-Uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use blearyhope/Inkling-2-Mini-Uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="blearyhope/Inkling-2-Mini-Uncensored") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("blearyhope/Inkling-2-Mini-Uncensored") model = AutoModelForMultimodalLM.from_pretrained("blearyhope/Inkling-2-Mini-Uncensored", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use blearyhope/Inkling-2-Mini-Uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "blearyhope/Inkling-2-Mini-Uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "blearyhope/Inkling-2-Mini-Uncensored", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/blearyhope/Inkling-2-Mini-Uncensored
- SGLang
How to use blearyhope/Inkling-2-Mini-Uncensored with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "blearyhope/Inkling-2-Mini-Uncensored" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "blearyhope/Inkling-2-Mini-Uncensored", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "blearyhope/Inkling-2-Mini-Uncensored" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "blearyhope/Inkling-2-Mini-Uncensored", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use blearyhope/Inkling-2-Mini-Uncensored with Docker Model Runner:
docker model run hf.co/blearyhope/Inkling-2-Mini-Uncensored
Inkling-2-Mini-Uncensored
Pure-gradient refusal removal on Inkling 2 Mini via on-policy SimPO, in the exact official mixed NVFP4 / MXFP8 / BF16 format.
Uncensored / abliterated model. Refusal behaviour has been deliberately removed. This model will attempt requests the original checkpoint declines, including harmful or sensitive ones, and ships with no built-in safety layer. It is released for research on alignment, refusal mechanisms, and model editing. You are solely responsible for its deployment and use and for complying with applicable law. Do not expose it to end users without your own safeguards.
Available Formats
| Format | Repository | Precision | Size | Best For |
|---|---|---|---|---|
| Safetensors (this repo) | blearyhope/Inkling-2-Mini-Uncensored |
Native NVFP4 / MXFP8 / BF16 | ~20.1 GB | vLLM, SGLang, Transformers, Dynamo, TokenSpeed |
| GGUF | blearyhope/Inkling-2-Mini-Uncensored-GGUF |
Lossless BF16 + Q8_0 to Q3_K_M + mmproj |
13-52 GB | llama.cpp, LM Studio, Ollama, KoboldCpp, Unsloth |
| MLX | blearyhope/Inkling-2-Mini-Uncensored-MLX |
Lossless native NVFP4 / MXFP8 / BF16 + MTP | ~20.1 GB | Apple Silicon Macs (32 GB+ unified memory, mlx-vlm) |
1. General Information
Inkling-2-Mini-Uncensored is an uncensored, pure-gradient abliterated checkpoint of thinkingmachines/Inkling-2-Mini, a general-purpose multimodal looped Mixture-of-Experts model that accepts text and image inputs and generates text outputs. It retains the base model's coding, agentic tool-use, instruction-following, reasoning, and visual capabilities while eliminating refusal and over-refusal across both thinking-off and thinking-on modes. It also materially reduces the base model's known greedy reasoning-loop failure mode.
Base model: thinkingmachines/Inkling-2-Mini (Thinking Machines Lab, Inc.)
Languages: English, general multilingual support
Date of release: November 27, 2026
License: Apache 2.0
2. Getting Started
Required hardware
This checkpoint is distributed as a single ~20.1 GB release in the exact official mixed NVFP4 / MXFP8 / BF16 precision
layout (including mtp.safetensors for DSpark speculative decoding):
- NVIDIA GPUs: 1x NVIDIA Blackwell / DGX Spark / RTX PRO / RTX 4090 / RTX 5090 (24 GB+ VRAM; 32 GB+ recommended for long context)
- Apple Silicon: 32 GB+ unified memory (via
blearyhope/Inkling-2-Mini-Uncensored-MLXor GGUF) - Lower-VRAM GPUs / CPUs (16-24 GB): Use the quantized builds in
blearyhope/Inkling-2-Mini-Uncensored-GGUF
Supported software
Because zero quantised expert bytes or config layouts were altered, this checkpoint is a drop-in replacement everywhere Inkling 2 Mini is supported:
- vLLM (recommended for GPU serving; requires
--reasoning-parser inkling) - SGLang
- Hugging Face Transformers (
transformers >= 5.24.1,AutoModelForImageTextToText) - TokenSpeed & NVIDIA Dynamo
- Unsloth,
llama.cpp, LM Studio, Ollama (viablearyhope/Inkling-2-Mini-Uncensored-GGUF) mlx-vlmon Apple Silicon (viablearyhope/Inkling-2-Mini-Uncensored-MLX)
Quickstart (vLLM)
vllm serve blearyhope/Inkling-2-Mini-Uncensored \
--reasoning-parser inkling \
--max-model-len 16384 \
--trust-remote-code
Control thinking depth per request via chat_template_kwargs:
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")
resp = client.chat.completions.create(
model="blearyhope/Inkling-2-Mini-Uncensored",
messages=[{"role": "user", "content": "Explain how looped transformers trade compute for parameters."}],
extra_body={"chat_template_kwargs": {"reasoning_effort": 0.9}}, # 0.0 (minimal) to 0.9 (high)
)
print(resp.choices[0].message.content)
3. Model Properties
Model type
Multimodal autoregressive looped transformer (inkling2_loop / Inkling2LoopForConditionalGeneration)
Architecture
A 24-layer decoder-only transformer with sparse Mixture-of-Experts (MoE) feed-forward layers. The middle 12 layers (layers 6 to 17) execute three times with shared weights, yielding 48 effective layer applications per token from 24 physical layers. Each token routes to 8 of 128 experts per layer. Attention alternates local and global layers. Images are encoded natively by a vision transformer and projected into the shared decoder hidden space.
Parameters
26.4B total, 3.4B physical active (5.4B effective active per token across the 3 passes through the looped core).
Numerics support
Mixed NVFP4 (layers 0 to 19 routed experts), MXFP8 (layers 20 to 23 routed experts), and BF16 / FP32 (attention, routers, loop controllers, embeddings, vision tower).
Modalities & context window
- Input modalities: UTF-8 text and pixel-based images (40 px to 4096 px per side recommended)
- Output modalities: Text (with native
<|content_thinking|>reasoning trace and<|content_invoke_tool_json|>tool calling) - Context window: Up to 1M tokens
Component integrity diff vs. official base
| Component | Status vs. thinkingmachines/Inkling-2-Mini |
|---|---|
| NVFP4 / MXFP8 routed experts & scales (L0-L23) | 100% byte-identical (0 tensors touched) |
Vision tower & mtp.safetensors (DSpark draft head) | 100% byte-identical |
| Loop controllers, norms, embeddings, tokenizer, configs | 100% byte-identical |
144 BF16 attention & mlp.gate MoE router weights | Edited (lossless BF16 merge, rel. L2 delta: min 1.83%, median 3.29%, max 4.57%) |
4. Abliteration Method
Aligned reasoning models refuse both by declining outright and by deflecting into a safer substitute answer (safe completions). Closed-form direction ablation leaves deflection intact, degrades benchmarks, and cannot edit quantised NVFP4/MXFP8 MoE experts without requantisation.
I abliterated this model from the 100% pure official base checkpoint with zero closed-form weight edits, using five rounds of iterative on-policy preference optimisation (Tajwar et al.) through rank-32 BF16 adapters merged losslessly into only the 144 BF16 attention and MoE router projections:
- SimPO with first-divergence pivot weighting. On uncapped chains of thought, compliant answers are roughly twice as long as refusals, causing summed DPO margins to saturate while per-token log-probabilities still favour refusal. Length-normalised weighted-mean SimPO directly optimises the decoding margin, anchored at the exact first token where chosen and rejected traces diverge and at the final-answer onset (Qi et al., PPPO), avoiding likelihood displacement.
- Attention + MoE router targeting. Over 80% of Inkling 2 Mini's refusal signal originates in quantised MoE MLPs,
concentrated in a few specialist experts per layer (SafeMoE). Including
all 24 BF16
mlp.gaterouters alongside the 120 attention projections steers away from refusal experts without touching a single NVFP4 or MXFP8 weight, trained with rsLoRA, LoRA+, and 0.5x LR scaling across the 3x-looped core (layers 6 to 17). - Context Distillation (zero prefills). Because Inkling 2 Mini opens almost every chain of thought with identical native phrasing, artificial prefills create surface shortcuts. For hard deflections that never complied bare, I harvested native compliant completions under a direct-answer system prompt, filtered any instruction leakage, and stripped the system prompt before training.
- Capability preservation & anti-looping. A pure-base KL anchor on judge-clean benign prompts in both thinking modes and an exact AlphaEdit benign null-space penalty lock general capabilities (WikiText-2 KLD = 0.00985). Real on-policy thinking loops and synthetic chain-of-thought DITTO negatives, trained exclusively on naturally terminated sequences to avoid early-stopping artefacts (TRSD), cured Inkling 2 Mini's known greedy repetition-loop failure mode (53 down to 0 empty-answer loops on the 3,607-prompt thinking-on report, and 127 down to 3 loops across full 100/100 IFEval).
5. Evaluations
Both checkpoints ran under identical vLLM settings (temperature=0.0, --max-model-len 16384, zero artificial
generation-length caps; every completion terminates at natural EOS or the 16K context boundary). No training or
checkpoint-selection prompt appears in any evaluation split. Compliance and over-refusal cover 100% of all 3,607
held-out prompts in both thinking-off (0.0) and thinking-on (0.9) (7,214 runs per model), judged by
Qwen3.8-27B-Uncensored-FP8. Capability benchmarks cover all 6 full log-likelihood suites (29,716 questions), 100%
thinking-off and 100% thinking-on uncapped generative chat on GSM8K (1,319), IFEval (541), and ARC-Challenge chat
(1,172), plus WikiText-2 test perplexity and KL divergence (311,523 tokens).
| Benchmark | Inkling-2-Mini-Uncensored off (0.0) / think (0.9) |
Inkling-2-Mini (Base) off (0.0) / think (0.9) |
|---|---|---|
| Harmful Requests: Compliance (↑) | ||
| AdvBench n = 180 | 100.0% / 100.0% | 1.7% / 1.7% |
| HarmBench n = 290 | 93.4% / 96.9% | 3.1% / 3.4% |
| JailbreakBench n = 65 | 98.5% / 100.0% | 3.1% / 4.6% |
| OR-Bench (toxic) n = 635 | 99.8% / 99.8% | 8.5% / 9.6% |
| SORRY-Bench n = 385 | 97.7% / 97.1% | 17.7% / 21.6% |
| StrongREJECT n = 258 | 98.8% / 100.0% | 0.4% / 0.8% |
| XSTest (unsafe) n = 185 | 96.2% / 95.7% | 7.6% / 4.9% |
| All Harmful n = 1,998 per mode | 98.00% / 98.55% | 7.56% / 8.56% |
| Harmful Requests: Outcome Breakdown (n = 1,998 per mode) | ||
| Refuse ↓ | 0.00% / 0.00% | 63.06% / 63.86% |
| Deflect ↓ | 0.45% / 0.45% | 14.76% / 14.21% |
| Partial ↓ | 1.40% / 1.00% | 14.61% / 13.11% |
| Degenerate ↓ | 0.15% / 0.00% | 0.00% / 0.00% |
| No answer / loop ↓ | 0.00% / 0.00% | 0.00% / 0.25% |
| Benign Requests: Over-Refusal & Stress Tests (↑) | ||
| JailbreakBench (benign) n = 85 | 100.0% / 100.0% | 90.6% / 81.2% |
| OR-Bench (benign) n = 1,294 | 99.9% / 100.0% | 76.9% / 79.3% |
| XSTest (safe) n = 230 | 99.6% / 100.0% | 95.7% / 86.1% |
| All Benign n = 1,609 per mode · 0 refusals | 99.88% / 100.00% | 80.30% / 80.36% |
| Loop Probe n = 48 off / 48 think | 100.0% / 100.0% | 2.1% / 2.1% |
| Multi-Shape Wrappers plain/sys/doc/json/multiturn · n = 300 | 96.3% (0.0% ref) | 4.7% (71.7% ref) |
| General Capabilities: Full Generative Chat (100% Off & 100% Think, Uncapped) | ||
| GSM8K n = 1,319 x 2 · truncs: 0/0 vs 2/10 | 96.82% / 96.74% | 96.74% / 96.06% |
| IFEval (prompt-strict) n = 541 x 2 · truncs: 0/3 vs 38/89 | 91.68% / 91.87% | 86.14% / 80.41% |
| IFEval (inst-strict) n = 541 x 2 · loose: 95.7% / 95.3% | 94.60% / 94.60% | 87.53% / 80.34% |
| ARC-Challenge (chat) n = 1,172 x 2 · truncs: 0/0 vs 1/13 | 97.35% / 97.27% | 97.44% / 96.50% |
| General Capabilities: Full Log-Likelihood & Perplexity (29,716 questions + 311K WT2 tokens) | ||
| MMLU n = 14,042 | 76.17% | 76.95% |
| ARC-Challenge (LL) n = 1,172 | 94.11% | 94.03% |
| ARC-Easy (LL) n = 2,376 | 97.90% | 98.23% |
| HellaSwag (acc_norm) n = 10,042 · raw: 58.65% vs 58.18% | 77.97% | 77.71% |
| WinoGrande n = 1,267 | 73.09% | 71.98% |
| TruthfulQA (MC2) n = 817 | 35.87% | 37.10% |
| WikiText-2 test ppl ↓ word / token · 311,523 tokens | 10.25 / 6.06 | 10.14 / 6.01 |
| WikiText-2 KL Divergence ↓ base ‖ edited · full test set | 0.00985 | - |
Best score in each row (lowest where ↓ is shown). Median reasoning length on the 3,607-prompt report: 187w off / 410w think (vs. 66w / 153w on Base, with 0 vs. 53 empty-answer loops).
6. Limitations
- Single-judge English evaluation: Compliance labels come from
Qwen3.8-27B-Uncensored-FP8on English prompts; non-English behaviour was not separately audited. - Vision tower untouched: All vision encoder weights are byte-identical to
thinkingmachines/Inkling-2-Mini; image-prompt safety was not separately benchmarked. - Longer reasoning traces: Internal
<|content_thinking|>traces are longer than Base on average, though loop-free (0 / 7,670 loops on safety/stress suites and 3 vs. 127 truncations on 100/100 IFEval). - Inherited base limitations: Like the base model, Inkling 2 Mini can hallucinate on recall-heavy queries and should be sandboxed for agentic tool use.
7. References & License
SimPO · On-policy preference data · Shallow safety alignment · Likelihood displacement · Safe completions · PPPO · rsLoRA · LoRA+ · SafeMoE · Context Distillation · AlphaEdit · DITTO · Where reasoning models refuse · Refusal cliff · TRSD
License: Apache 2.0, as the original. Base model: thinkingmachines/Inkling-2-Mini.
- Downloads last month
- 12
