Back to Blog
AI Trend DigestEN

Inkling-2-Mini Uncensored: A Quantized Multimodal Model for Local Deployment

5 min read

Abstract illustration for: Inkling-2-Mini Uncensored: A Quantized Multimodal Model for Local Deployment

Inkling-2-Mini Uncensored represents a specific engineering choice: taking an existing multimodal language model and removing its refusal mechanisms through a targeted LoRA adapter, then quantizing the result for local deployment. The model is built on thinkingmachines/Inkling-2-Mini (26.4B MoE, 3.4B active parameters) and released under Apache-2.0 license by AtomicChat, the team behind an offline-first AI chat application.

The release includes three pre-quantized GGUF files at different compression levels, a LoRA adapter for custom base models, and supporting vision projection files. It has attracted 794 likes on Hugging Face, suggesting interest from developers building unrestricted multimodal applications.

Why it matters

Local deployment of multimodal models removes dependency on cloud APIs and enables offline operation—useful for privacy-sensitive workflows, air-gapped environments, or applications where latency matters. Quantization (converting weights to lower precision) reduces memory footprint and inference cost, making larger models feasible on consumer hardware.

The uncensored variant removes a specific design choice: the original model's refusal training. This appeals to developers who want full control over model behavior without built-in content filtering. Whether that's for research, adversarial testing, or unrestricted applications depends on the user's intent.

The engineering here is transparent about tradeoffs. The model card documents exactly what was changed, how it was measured, and where it fails to meet its own quality gates. That level of specificity is rare in open-source releases.

How it works

The edit: targeted LoRA on refusal directions

The uncensoring is not a full retrain. Instead, it applies a rank-1 LoRA adapter to 49 specific locations in the model: the attention output and routed experts across all 24 layers, plus the token embedding. The adapter removes what the authors call "refusal directions"—computed as the difference in mean activations between harmful and harmless prompts, with the harmless mean projected out.

This is a surgical approach: rather than retraining the entire model, the adapter targets the residual stream writes where refusal decisions are encoded. The 12 looped layers in Inkling-2-Mini's architecture share weights across three passes, so one edit covers all 48 passes.

Quantization options

Three pre-baked GGUF files trade off size and fidelity:

  • AD-Q4_K: 16.53 GB on disk, 0.0115 KL divergence from the original BF16, 95.6% top-1 accuracy
  • AD-IQ3_S: 13.34 GB, 0.0235 KL divergence, 93.8% top-1 accuracy
  • AD-IQ2_M: 8.67 GB, 0.132 KL divergence, 85.7% top-1 accuracy

KL divergence and top-1 accuracy are measured against the original BF16 model on a neutral corpus of 87 chunks at 4,096 tokens each—the same benchmark used for the base repository.

Architecture overview

Runtime requirements

The GGUF files require llama.cpp build b12600 or newer with support for the merged Inkling 2 loop architecture (introduced in llama.cpp PR #32694). An optional DSpark drafter (Q8_0 quantization, 481 MiB) can accelerate inference on CUDA hardware; that requires a specific llama.cpp build from PR #32218.

How to try it

Basic inference

./build/bin/llama-server \
    -m Inkling-2-Mini-Uncensored-AD-Q4_K.gguf \
    --mmproj mmproj-Inkling-2-Mini-Uncensored-F16.gguf \
    --jinja -c 32768 -ngl 99

This runs the Q4_K quantized model with 32,768 token context and GPU acceleration (-ngl 99).

With DSpark speculative decoding (A100 example)

First, download the drafter:

hf download AtomicChat/Inkling-2-Mini-Uncensored-GGUF \
  Inkling-2-Mini-Uncensored-AD-Q4_K.gguf dspark-Inkling-2-Mini-Q8_0.gguf \
  --local-dir inkling-uncensored

Then run with speculative decoding:

./build/bin/llama-server \
  -m inkling-uncensored/Inkling-2-Mini-Uncensored-AD-Q4_K.gguf \
  -md inkling-uncensored/dspark-Inkling-2-Mini-Q8_0.gguf \
  --spec-type draft-dspark --spec-draft-n-max 3 \
  -ngl 99 -ngld 99 -fa on -c 4096 -np 1 --jinja

On an A100 SXM4 40 GB, DSpark improved decode throughput from 46.5 to 59.9 tokens/second (+29%) with 42.7% draft token acceptance, at the cost of 1.37 GiB additional peak VRAM.

Using the LoRA adapter

To apply the uncensoring to a custom base GGUF:

./build/bin/llama-server \
    -m Inkling-2-Mini-AD-Q4_K.gguf \
    --lora Inkling-2-Mini-Uncensored-LoRA.gguf \
    --mmproj mmproj-Inkling-2-Mini-F16.gguf \
    --jinja -c 32768 -ngl 99

The LoRA file is 0.04 GB and works with any compatible base GGUF in the merged PR #32694 layout.

For detailed setup instructions, check the README.

Who it's for (and limits)

This model is built for developers who need:

  • Offline multimodal inference without cloud dependencies
  • No content filtering or refusal behavior
  • Local control over model outputs
  • Quantized weights that fit on consumer GPUs or CPUs

Measured tradeoffs

The model card documents two gates it fails to meet:

  1. MMLU accuracy: 79.15% vs. 80.65% on the original (−1.5 points, statistically significant at p = 0.006). About half this loss comes from editing every residual writer; the other half is specific to the refusal direction removal.

  2. First-token KL divergence on harmless prompts: 0.94 vs. a gate of 0.10. This occurs because the original model refuses some harmless prompts (1–6%), and the adapter answers them differently. Running-text KL divergence stays at 0.008, so the issue is localized to refusal boundaries.

On the gates it does meet: the adapter removes refusals on harmful English and Russian prompts (0% refusal rate on test splits), maintains XSTest safety performance, preserves tool-calling ability, and handles long-context retrieval correctly.

Some answers still open with a caution line before answering, indicating incomplete refusal removal.

The model is not a general-purpose replacement for the original. It trades accuracy and first-token consistency for unrestricted output. Users building production systems should measure performance on their specific tasks.

The day's GitHub and Hugging Face picks side by side.

ProjectSource★Language / Type
elementalsouls/Claude-BugHunterGitHub22,373Python
HKUDS/CLI-AnythingGitHub65,401Python
jingyaogong/minimindGitHub70,782Python
openvinotoolkit/openvinoGitHub12,580C++
cathrynlavery/diagram-designGitHub72,632HTML
thinkingmachines/Inkling-2-MiniHugging Face5,903image-text-to-text
unsloth/Inkling-2-Mini-GGUFHugging Face1,311image-text-to-text
inworld/voice-isolatorHugging Face851audio-to-audio
AtomicChat/Inkling-2-Mini-Uncensored-GGUFHugging Face794image-text-to-text
SulphurAI/Sulphur-3Hugging Face980—