Inkling-2-Mini Uncensored + pi adapter (effort high) โ Strata .strata SQ-15
This file is for the Strata engine only. It is a
.stratav1.1 file, not safetensors or GGUF: vLLM, llama.cpp, Ollama and transformers cannot load it.
harness-hub/Inkling-2-Mini-pi-adapted 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 high. Its authors report Terminal-Bench 2.1 going from 44.2% to 56.9% with a one-hour limit per task (they say the gain comes from doing the work with fewer tool calls and tokens, not from higher capability with unlimited time).
The sibling repository Inkling-2-Mini-Uncensored-pi-preview-Strata has the other adapter
(effort none), made the same way.
Files
| File | Size | SHA-256 |
|---|---|---|
Inkling-2-Mini-Uncensored-pi-SQ-15.strata |
14.35 GB | 277935aaaacccf08a7541f53259cf249dc03772be55600d272227f001f1de54d |
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; mostwq_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 (commit4e5f06d7) for the 20wo_udmatrices of layers 4โ23 that the uncensoring changed. Both were read with HTTP range requests (only the attention tensors). ThenW + ฮWis quantized once with the same encoder. - Checks. Before writing, every one of the 40
Q8_ROWsource matrices was re-encoded from those full-precision weights and compared with the.stratasource: 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 against2 ยท 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-hashpasses.
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-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-Strata --local-dir Inkling-2-Mini-Uncensored-pi-Strata
strata launch --family inkling-2-mini --model-path Inkling-2-Mini-Uncensored-pi-Strata/Inkling-2-Mini-Uncensored-pi-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 high. Strata's own default for Inkling is low when a request names
none. Either:
- set it per request (
"reasoning_effort": "high"), or - set it as the server default by adding
"reasoning_effort": "high"to the Strata run config. The start-up log then saysthinking level: high (reasoning_effort in the config ...).
A client that sends its own level overrides the config. In pi, set the thinking level to high.
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-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
bashtool: 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_udin 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.
.strataquantization: Strata. Uncensored.strata: RX5950XT. pi adapter: harness-hub. This repository only merged the adapter into the.stratafile. - 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.