Instructions to use Abiray/Inkling-2-Mini-Uncensored-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with Ollama:
ollama run hf.co/Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with Docker Model Runner:
docker model run hf.co/Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Lemonade
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-2-Mini-Uncensored-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Abiray/Inkling-2-Mini-Uncensored-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Inkling-2-Mini-Uncensored โ GGUF (imatrix)
Mainline llama.cpp GGUF quantizations of OpenUncensored/Inkling-2-Mini-Uncensored โ a day-one abliterated (uncensored) build of Thinking Machines Lab's Inkling-2-Mini.
Inkling-2-Mini is a 26.4B total / 3.4B active / 5.4B effective active looped Mixture-of-Experts (MoE) multimodal model (24 layers where layers 6โ17 loop 3x per token for 48 layer passes, 128 experts with top-8 active, up to 1M context, native vision encoder, Apache 2.0).
Abliteration Quality, Intelligence Retention & Refusal Benchmarks
One of the biggest concerns with uncensored models is capability degradation ("lobotomization"). Because Inkling-2-Mini loops its middle 12 layers three times per token, standard abliteration edits compound 3x and normally cost 4โ6 MMLU points.
To preserve intelligence, OpenUncensored applied a surgical rank-2 late refusal subspace edit (visits 24โ47) exclusively to 20 BF16 attention output projections (attn.wo_ud, layers 4โ23) โ with gentler scaling (s = 2.5) inside the 3x loop core (layers 6โ17) and s = 4.0 outside. All 128 MoE experts per layer, the vision encoder, and the speculator remain byte-for-byte identical to the official base model.
Upstream Abliteration Metrics (Measured on Baked Source Weights)
Source: OpenUncensored/Inkling-2-Mini-Uncensored โ identical harness, greedy decoding, measured directly on the baked source checkpoint prior to GGUF quantization:
| Benchmark / Test | Base Inkling-2-Mini |
Inkling-2-Mini-Uncensored |
Takeaway |
|---|---|---|---|
| MMLU (57 subjects x 20 = 1,140 Qs, letter logits) | 78.95% | 79.47% | No measurable intelligence loss (within noise) |
| Refusals on 32 harmful prompts (chat mode) | 32 / 32 | 0 / 32 | 100% refusal elimination |
| Refusals on 32 harmful prompts (thinking effort 0.9) | 32 / 32 | 0 / 32ยน | Clean compliance even with CoT enabled |
| Refusals on 80 mixed prompts (32 harmful + 48 gray) | 68 / 80 | 8 / 80ยฒ | Virtually zero false-positive refusals |
| Full, specific answers to 32 harmful prompts (LLM judge) | 0 / 32 | 21 / 32 | Substantive answers, not vague deflections |
ยน 29 of 32 finished thinking within the 1,536-token budget; none of the 29 refused.
ยฒ 7 of the 8 were factual/access boundaries (e.g., private documents / mind reading) rather than safety refusals; the 8th (a self-harm prompt) returned crisis resources. Long-horizon agent and coding benchmarks have not yet been formally scored on the abliterated build.
Quantization Quality & Precision Notes
- Mainline
llama.cppCompatible: Standard K-quants andQ8_0built with mainlineggml-org/llama.cpp(buildb12600+, PR#32694) โ runs cleanly on CPU, NVIDIA, AMD, and Apple Silicon without custom forks. - 4.76M-Token MoE
imatrixCalibration: Every K-quant (Q3_K_MthroughQ6_K) was quantized using the 392-tensor, 27,873-chunk importance matrix (imatrix.gguf) fromAtomicChat/Inkling-2-Mini-GGUF-metrics. Because all 128 experts per layer are untouched from the base checkpoint, the imatrix maps cleanly onto the MoE activations. - Why
Q5_K_M/Q6_K/Q8_0Matter Despite the 20 GB Original Checkpoint: Thinking Machines Lab natively trained and released Inkling-2-Mini in mixed NVFP4 (layers 0โ19 experts) + MXFP8 (layers 20โ23 experts) + BF16 (attention/embeddings/vision) โ there is no official full-BF16 checkpoint. Because NVFP4 uses a non-uniform 4-bit floating-point grid while K-quants use integer grids,Q5_K_M,Q6_K, andQ8_0preserve the original NVFP4/MXFP8/BF16 distribution with minimal grid-mismatch error.
Available Files
| Quant / File | Download | Approx. Size | imatrix | Notes / Recommended Use |
|---|---|---|---|---|
| Q3_K_M | Inkling-2-Mini-Uncensored-Q3_K_M.gguf |
12.78 GiB | Yes (4.76M tok) | Smallest footprint (~16 GB RAM/VRAM); ffn_down_exps auto-upgraded to Q5_0/Q5_1 |
| Q4_K_S | Inkling-2-Mini-Uncensored-Q4_K_S.gguf |
14.97 GiB | Yes (4.76M tok) | Compact 4-bit; verified clean Jinja chat, coding & EOT stopping |
| Q4_K_M | Inkling-2-Mini-Uncensored-Q4_K_M.gguf |
~16.0 GiB | Yes (4.76M tok) | Balanced daily driver for 24 GB VRAM / 32 GB RAM machines |
| Q5_K_M | Inkling-2-Mini-Uncensored-Q5_K_M.gguf |
~18.5 GiB | Yes (4.76M tok) | Sweet spot โ near-native NVFP4/MXFP8 fidelity near original checkpoint size |
| Q6_K | Inkling-2-Mini-Uncensored-Q6_K.gguf |
~21.5 GiB | Yes (4.76M tok) | Near-lossless quality for coding, tool use & agentic workflows |
| Q8_0 | Inkling-2-Mini-Uncensored-Q8_0.gguf |
~26.4 GiB | No (8-bit uniform) | Highest-precision reference GGUF |
Vision (mmproj) |
mmproj-Inkling-2-Mini-Uncensored-BF16.gguf |
~642 MiB | N/A (BF16) | Vision projector โ required for image inputs |
| Importance Matrix | imatrix.gguf |
โ | 4.76M tok | AtomicChat calibration file included for reproducibility |
How to Run
Critical Requirements
- Update
llama.cppto buildb12600or newer (addsinkling2_loopsupport via PR#32694). - Always pass
--jinjaโ Inkling-2-Mini uses a custom Jinja chat template withreasoning_effortsupport. Running without--jinjawill throw a custom-template error. - Recommended Sampling:
--temp 1.0 --top-p 0.95(the model's nativegeneration_config.jsontemperature is1.0). Avoid raw non-chat completion at--temp 0.0, which can cause endless repetition after answering.
1. llama-server (Recommended โ OpenAI API + Web UI)
Text + Reasoning:
llama-server \
-m Inkling-2-Mini-Uncensored-Q4_K_M.gguf \
--jinja \
-c 32768 \
--temp 1.0 \
--top-p 0.95 \
--host 0.0.0.0 --port 8080
Multimodal / Vision (add --mmproj):
llama-server \
-m Inkling-2-Mini-Uncensored-Q4_K_M.gguf \
--mmproj mmproj-Inkling-2-Mini-Uncensored-BF16.gguf \
--jinja \
-c 32768 \
--temp 1.0 \
--top-p 0.95 \
--host 0.0.0.0 --port 8080
(Tip: Thinking traces are returned separately in reasoning_content. Set reasoning_effort: "none" in chat-template kwargs when you want fast direct answers without chain-of-thought.)
2. Direct One-Liner via llama.cpp (-hf)
# Launch server + Web UI directly from Hugging Face
llama-server -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M --jinja -c 32768 --temp 1.0
# Interactive terminal chat
llama-cli -hf Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M --jinja -c 32768 --temp 1.0
3. Ollama
ollama run hf.co/Abiray/Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
(Requires an Ollama version with inkling2_loop architecture support.)
Credits & License
- Original Model: Thinking Machines Lab (
thinkingmachines/Inkling-2-Mini, Apache 2.0) - Abliteration / Uncensored Weights & Metrics: OpenUncensored (
OpenUncensored/Inkling-2-Mini-Uncensored, Apache 2.0) - Importance Matrix (
imatrix.gguf): AtomicChat (4.76M-token MoE calibration dataset) - Quantization & Inference:
ggml-org/llama.cpp
Disclaimer: This model is an abliterated (uncensored) checkpoint that may follow instructions the base model refuses. You are solely responsible for how you deploy and use it and for complying with all applicable laws. Released under the Apache 2.0 license.
- Downloads last month
- 169,054
Model tree for Abiray/Inkling-2-Mini-Uncensored-GGUF
Base model
thinkingmachines/Inkling-2-Mini