Inkling-2-Mini Uncensored + pi adapter (preview, effort none) — Strata .strata SQ-15

This file is for the Strata engine only. It is a .strata v1.1 file, not safetensors or GGUF: vLLM, llama.cpp, Ollama and transformers cannot load it.

harness-hub/Inkling-2-Mini-pi-adapted-preview merged into RX5950XT/Inkling-2-Mini-Uncensored-Strata (SQ-15, the size meant for 16 GB cards), so Strata can serve it with no LoRA support in the engine.

The adapter was trained with reinforcement learning (TRL AsyncGRPO) to make Inkling-2-Mini work as the model behind the pi coding agent at reasoning effort none. Its authors report the same accuracy as the base model with 27% (Terminal-Bench 2.1) and 39% (SWE-bench Pro) fewer tool calls on the tasks both solve, and 37% and 47% fewer generated tokens.

The sibling repository Inkling-2-Mini-Uncensored-pi-Strata has the other adapter (effort high), made the same way.

Files

File Size SHA-256
Inkling-2-Mini-Uncensored-pi-preview-SQ-15.strata 14.35 GB cb422c2a6bc01b65b91d49135350cf6a780e4a8199722c9908bea8afa190ac89
Inkling-2-Mini-Vision.strata 0.64 GB 6589eff47f9c20bc3a032faa3d449f10bf4f04a84cc6b2ee8a44d51d2b6fc677 (official vision module, unchanged)
tokenizer.json, chat_template.jinja — official files, unchanged
tools/merge_lora_strata.py — the script that made the file

Hashes are also in SHA256SUMS.txt.

How it was made

The adapter is a PEFT LoRA (r = 32, alpha = 64) on the attention projections wq_du, wk_dv, wv_dv and wo_ud of all 24 layers, nothing else. Merging it means adding 2 · B·A to those 96 matrices and writing them back in the format the .strata file already uses for each one. Every other byte (experts, DSpark drafter, embeddings) is the same as in the source file; the file size does not change.

  • Names. The adapter's vllm/ copy already uses the engine's tensor names (model.llm.layers.N.attn.wq_du, ...); its tensors are identical to the PEFT copy.
  • BF16 matrices (wk_dv, wv_dv, and every projection of layers 5, 11, 17, 23): bf16(W + ΔW), round to nearest even.
  • 8-bit matrices (Q8_ROW: one f32 scale per row = absmax/127, then int8; most wq_du/wo_ud). The LoRA change is about 0.15% of the weight, far below one int8 step, so adding it to the dequantized int8 values and rounding again would drop it entirely (measured: 0% of it survived). Instead the full-precision source weight is used: thinkingmachines/Inkling-2-Mini for unedited matrices and OpenUncensored/Inkling-2-Mini-Uncensored (commit 4e5f06d7) for the 20 wo_ud matrices of layers 4–23 that the uncensoring changed. Both were read with HTTP range requests (only the attention tensors). Then W + ΔW is quantized once with the same encoder.
  • Checks. Before writing, every one of the 40 Q8_ROW source matrices was re-encoded from those full-precision weights and compared with the .strata source: all 40 are byte-identical, so the encoder and sources are the right ones. After merging, the full LoRA change is present in the 8-bit matrices (gain ≈ 1.0 against 2 · B·A), and about 70% in the BF16 ones, the usual loss of any bf16 merge. The header's Section 1 SHA-256 is updated, and the engine's --selfcheck --verify-hash passes.

To rebuild it or merge another LoRA:

python -I tools/merge_lora_strata.py Inkling-2-Mini-Uncensored-SQ-15.strata <adapter>/vllm \
    Inkling-2-Mini-Uncensored-pi-preview-SQ-15.strata --base-tensors <dir with the raw bf16 attention tensors>

How to run it

Tested with Strata 0.2.22 (Inkling engine 0.1.69) on Linux, RTX 5060 Ti 16 GB + 62 GB RAM, --max-context 98304. Use Strata 0.2.20 or later (older Inkling engines have a known prompt-reading bug when experts sit in system memory; see the RX5950XT card).

Put the four files in one folder, then:

hf download paralaif/Inkling-2-Mini-Uncensored-pi-preview-Strata --local-dir Inkling-2-Mini-Uncensored-pi-preview-Strata
strata launch --family inkling-2-mini --model-path Inkling-2-Mini-Uncensored-pi-preview-Strata/Inkling-2-Mini-Uncensored-pi-preview-SQ-15.strata --yes --no-tui

The Terminal finds the vision module and tokenizer in the same folder.

Reasoning effort matters

The adapter was trained at effort none. Strata's own default for Inkling is low when a request names none. Either:

  • set it per request ("reasoning_effort": "none"), or
  • set it as the server default by adding "reasoning_effort": "none" to the Strata run config. The start-up log then says thinking level: none (reasoning_effort in the config ...).

A client that sends its own level overrides the config. In pi, set the thinking level to off.

pi

Point a provider at Strata with the Chat Completions API. The adapter was not trained with the Responses API:

{
  "providers": {
    "strata": {
      "baseUrl": "http://127.0.0.1:8081/v1",
      "api": "openai-completions",
      "apiKey": "strata-local",
      "compat": { "supportsDeveloperRole": false, "supportsReasoningEffort": true, "maxTokensField": "max_tokens" },
      "models": [{ "id": "inkling-2-mini-uncensored-pi-preview-sq-15", "reasoning": true, "input": ["text", "image"], "contextWindow": 98304,
                   "thinkingLevelMap": { "off": "none", "high": "high" } }]
    }
  }
}

What was tested

  • --selfcheck --verify-hash: pass.
  • Served through Strata with a bash tool: the model answers with a well-formed tool call, and it was then used as the backend of pi for coding work.
  • No benchmark was re-run on this file. The adapter's numbers on its own card were measured by its authors on the full-precision base model with vLLM, not on this uncensored SQ-15 merge.

Caveats

  • The adapter was trained on the original Inkling-2-Mini, not on the uncensored one. The two differ only by a rank-2 edit of wo_ud in layers 4–23, so it should carry over, but that is not measured.
  • SQ-15 compresses the experts (about 4 bits on average); see the RX5950XT and Strata cards for its closeness to the original.

Licence, credits and responsibility

  • Apache 2.0, as all the sources.
  • Model: Thinking Machines. Refusal removal: OpenUncensored. .strata quantization: Strata. Uncensored .strata: RX5950XT. pi adapter: harness-hub. This repository only merged the adapter into the .strata file.
  • This model follows instructions the original refuses, including harmful ones. You are responsible for how you use it and for following the law where you are.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for paralaif/Inkling-2-Mini-Uncensored-pi-preview-Strata