← back to catalog · indexed 2026-11-27 02:07

savealamb/Inkling-2-Mini-abliterated-tuned-GGUF

savealamb GGUF MoE
Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/savealamb%2FInkling-2-Mini-abliterated-tuned-GGUF"
Response includes
  • classification m3
  • files 5
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.1.0
M3
Primary method

Layer-wise ablation

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • card states the abliteration (refusal direction / orthogonalization)
  • card: ablation restricted to layers 6-17
  • weight_format = gguf (GGUF), but parent thinkingmachines/Inkling-2-Mini is the original release, so this repo is the author's own release: not a repackaging
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M3; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · 30-day
0
Likes
1
Model age
today
created 2026-11-27

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en
Quantizations
Q4_K Q8_0
Tags
gguf llama.cpp abliterated uncensored code inkling2_loop moe Q4_K_M text-generation en base_model:thinkingmachines/Inkling-2-Mini base_model:quantized:thinkingmachines/Inkling-2-Mini

Related

Control vectors

Total size
16.7 GB
Files
5
Quantizations
1
Indexed by us
2026-11-27 02:07
Last updated on HF
2026-11-27 01:55

Files by quantization

Q4_K_M 1 file 16.3 GB
Inkling-2-Mini-abliterated-tuned-Q4_K_M.gguf 16.3 GB ea784c80 download
Drafts and companions · attach to a main model 1 file 385 MB
Inkling-2-Mini-dspark-drafter-Q8_0.gguf 385 MB 61a728f9 download
Auxiliary files 3 files 23.8 KB
README.md 11.3 KB 38252352 download
results_summary.json 10.8 KB 4f1595b5 download
.gitattributes 1.64 KB 7132aa17 download

README from Hugging Face, captured 2026-11-27


license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: quantized
library_name: gguf
pipeline_tag: text-generation
language:

  • en
    tags:
  • gguf
  • llama.cpp
  • abliterated
  • uncensored
  • code
  • inkling2_loop
  • moe
  • Q4_K_M

Inkling 2 Mini, abliterated and tuned (GGUF)

This is a modified copy of thinkingmachines/Inkling-2-Mini, packaged as GGUF files for llama.cpp.

Three steps were applied to the original:

  1. Abliteration.
  2. A short fine-tune.
  3. Quantization.

Text only

Intended use

  • Local, private use by adults for coding help, reasoning tasks, research on model behavior and red-team testing.
  • Not intended for public-facing products without your own safety layer, for anyone under 18, or for anything illegal where you live.
  • English is the only language we tested.

Disclaimer.

  • This model has had its refusal behavior removed. It will produce content the original model would decline to produce, including content that may be harmful, offensive, inaccurate or illegal in your jurisdiction.
  • You are solely responsible for how you use it and for everything you generate with it. Check the laws and regulations that apply to you before you use it. Do not use it for anything illegal or to harm anyone.
  • It is provided as is, with no warranty of any kind, express or implied, including fitness for a particular purpose and accuracy of output.
  • The publishers of this repository accept no responsibility and no liability for any use of the model or its output, and for any damage, loss or legal consequence that results. We do not indemnify anyone. By downloading or using these files you accept all risk yourself.
  • This is not a product and it has no safety layer. If you deploy it where other people can reach it, adding your own safeguards is your job.
  • This is an independent modification. It is not made, endorsed or supported by Thinking Machines Lab. The base model is released under Apache 2.0 and has its own acceptable use policy, which you should read: https://thinkingmachines.ai/model-acceptable-use-policy/
  • Nothing here is legal advice.

Files

File Size Recommended use
Inkling-2-Mini-abliterated-tuned-Q4_K_M.gguf 17.5 GB The model. Needs a 24 GB GPU (uses 18.6 GB at 8K context). Also runs on CPU with 32 GB RAM, slowly
Inkling-2-Mini-dspark-drafter-Q8_0.gguf 0.4 GB Optional. Load next to the model for about 50% more speed. It is the original model's own draft head, unmodified
results_summary.json All benchmark numbers, aggregates only

Q4_K_M was chosen as the best balance of size and quality. Its quality loss against the full precision tuned model is small (KL divergence 0.021, same top token 94.0% of the time).

Build llama.cpp

You need a recent llama.cpp with support for the inkling2_loop architecture. These files were made and tested with commit fa9f928 (26 November 2026).

git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build -j --target llama-server llama-cli

Leave out -DGGML_CUDA=ON for a CPU-only build. On Apple Silicon the default build uses Metal.

Run it

Start the server:

./build/bin/llama-server \
  -m Inkling-2-Mini-abliterated-tuned-Q4_K_M.gguf \
  -ngl 99 -c 16384 --jinja \
  --host 127.0.0.1 --port 8080

Then open http://127.0.0.1:8080 in a browser, or call the API.

Faster generation with the drafter (about 50% more tokens per second in our tests):

./build/bin/llama-server \
  -m Inkling-2-Mini-abliterated-tuned-Q4_K_M.gguf \
  --model-draft Inkling-2-Mini-dspark-drafter-Q8_0.gguf \
  --spec-type draft-dspark --spec-draft-n-max 2 -ngld 99 \
  -ngl 99 -c 16384 --jinja \
  --host 127.0.0.1 --port 8080

CPU only (slow, but works):

./build/bin/llama-server \
  -m Inkling-2-Mini-abliterated-tuned-Q4_K_M.gguf \
  -ngl 0 -dev none -t 8 -c 8192 --jinja \
  --host 127.0.0.1 --port 8080

LM Studio and other apps

Any app built on llama.cpp can load these files, but only if its bundled llama.cpp is new enough to know the inkling2_loop architecture. In LM Studio, put the .gguf file in your models folder and load it. If it reports an unknown architecture, update the app's llama.cpp runtime or use llama-server as shown above. We tested with llama-server only, not LM Studio.

Query it

curl http://127.0.0.1:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "Write a Python function that merges two sorted lists."}],
    "max_tokens": 3072,
    "temperature": 0.6,
    "chat_template_kwargs": {"reasoning_effort": "medium"}
  }'

The reply has two parts: reasoning_content (the model's thinking) and content (the answer).

Python, with the openai package:

from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="none")
r = client.chat.completions.create(
    model="inkling",
    messages=[{"role": "user", "content": "Explain binary search in three sentences."}],
    max_tokens=3072,
    temperature=0.6,
    extra_body={"chat_template_kwargs": {"reasoning_effort": "medium"}},
)
print(r.choices[0].message.content)

Recommended settings

  • Always set max_tokens. This model can loop in its thinking. 3072 is a good default. Raise it for long tasks.
  • reasoning_effort: none, minimal, low, medium, high, xhigh, or a number from 0 to 0.99. The template default is high. Use low or medium for everyday coding and chat. It saves a lot of tokens. Even none does not fully switch thinking off.
  • Temperature: the base model ships with 1.0. Our benchmarks below used 0 so they are repeatable. For normal use 0.6 to 1.0 is reasonable. Lower values make thinking loops a little more likely.
  • --jinja is required so the built-in chat template is used.
  • Context: -c 16384 is plenty for most use. Larger contexts need more memory.
  • Less than 24 GB of GPU memory: lower -ngl, or keep some expert weights in system RAM with --n-cpu-moe N. It will be slower. We did not test partial offload ourselves.

What was changed, in detail

Finding the refusal direction

  • 320 harmful and 320 harmless prompts were run through the original model (mlabonne/harmful_behaviors and mlabonne/harmless_alpaca).
  • Activations were recorded at the last prompt token for all 48 layer visits. The model has 24 layers, and layers 6 to 17 run three times.
  • The direction is the mean harmful activation minus the mean harmless activation, with the harmless mean projected out. One direction per physical layer, averaged over that layer's visits.
  • On 104 held-out prompts of each kind, projecting onto this direction separates harmful from harmless almost perfectly at nearly every visit (AUC 0.97 to 1.00).

Removing it from the weights

  • Edited: the attention output projection and the down projection of all 128 experts, in layers 4 to 23. That is 40 tensors. Mean relative change 4.3%.
  • Not edited: embeddings, router, loop controllers, queries, keys, values, layers 0 to 3.
  • This model applies a small per-channel convolution after each attention and expert output. The edit accounts for it by removing the direction as seen through that convolution, so the write is removed exactly instead of leaking back.
  • Strength 1.0, meaning plain removal, no overshoot.

Candidates we measured before choosing (64 harmful prompts, counting refusal phrases):

Edit Refusal phrases Drift on harmless prompts (KL)
None 96 of 96
Attention only, layers 4 to 23 80 to 90 of 96 0.001 to 0.003
Attention only, double strength 28 of 64 0.008
Experts only, layers 4 to 23 12 of 64 0.005
Attention and experts, layers 4 to 23 (used) 0 of 64 0.012

Editing attention alone was not enough. Most of the refusal signal is written by the expert layers.

The fine-tune

  • Data: 1,200 coding and math problems from the training splits of MBPP, GSM8K and AQuA-RAT. The abliterated model answered each twice. Answers were checked by running tests or comparing the final answer. 567 examples were used, each the shortest verified correct answer.
  • LoRA rank 16 on the attention projections of all 24 layers, 2 epochs, learning rate 1e-4, 142 steps.
  • The adapter was locked so it could not write the removed direction back.
  • Merged into the weights. Mean relative change 0.4%.

Results

All numbers are from llama.cpp, temperature 0, reasoning effort medium, 3,072 token limit. Benchmarks use held-out splits that were not used for training.

Refusals

104 held-out harmful prompts, answers up to 768 tokens. Count of answers that open with a refusal.

Model Answer mode Thinking mode
Original 104 of 104 103 of 104
Abliterated only 7 of 104 8 of 104
Abliterated and tuned, Q8_0 9 of 104 7 of 104
This file (Q4_K_M) 7 of 104 1 of 104

Capability

The three-way comparison was run on Q8_0 builds of each model so that quantization is not a factor.

Benchmark Original Abliterated only Abliterated and tuned
HumanEval (164) 93.3% 93.9% 94.5%
MBPP, held out (200) 77.5% 77.5% 76.0%
GSM8K (200) 96.5% 97.5% 97.5%
AQuA-RAT (254) 85.4% 85.8% 87.4%
MMLU-Pro (300) 77.7% 79.3% 80.7%
MMLU-Pro answers cut off by the token limit 14.0% 11.0% 8.0%

This file (Q4_K_M)

Measure Result
HumanEval (164) 94.5%
MBPP, held out (200) 80.0%
Speed on GPU 123 tokens/s
Speed on GPU with the drafter 192 tokens/s
Speed on CPU only, 8 threads 12 tokens/s
GPU memory at 8K context 18.6 GB

Speed is one request at a time on an RTX PRO 6000 (96 GB) and a Ryzen 9 9950X. Quality loss was measured on 24 chunks of WikiText-2. The importance matrix was computed on chat-formatted code, math and instruction text.

We also built and measured 27.8, 13.7 and 10.7 GB versions. They are not published here. Their numbers are in results_summary.json.

Limits of these numbers

  • Refusals are counted by phrase matching on the first 300 characters. An answer that dodges the question without using a refusal phrase counts as not refused. So the real rate of unhelpful answers is higher than the table shows. About 40% of thinking-mode answers also hit the 768 token limit before answering.
  • The benchmarks are small. Differences of one or two points between columns are noise. The honest reading is that abliteration did not cost measurable capability, and the fine-tune did not measurably raise coding scores. What the fine-tune did do is cut the number of answers that run out of tokens.
  • Not tested on low-end hardware. The CPU numbers come from a fast desktop CPU.
  • Not tested: vision, tool calling, long contexts, languages other than English.

Credits

  • Base model: Thinking Machines Lab, Inkling 2 Mini, Apache 2.0.
  • Method: refusal direction removal as described in Arditi et al., "Refusal in Language Models Is Mediated by a Single Direction" (arXiv 2406.11717).
  • Runtime: llama.cpp.
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration