license: apache-2.0
pipeline_tag: text-generation
base_model: strata-engine/Inkling-2-Mini-Strata
base_model_relation: finetune
tags:
- strata
- inkling2_loop
- inkling-2-mini
- moe
- looped-transformer
- abliterated
- decensored
- chips
Inkling 2 Mini for Strata · SQ-20 · CHiPS (Preview)
A modified version of the Inkling-2-Mini-SQ-20.strata pack from strata-engine/Inkling-2-Mini-Strata, with refusal behavior reduced, for the Strata inference engine.
Not an official Thinking Machines or Strata release. Thinking Machines Lab and the Strata project did not make it and do not endorse it.
Preview. The pack carries the v6 edit, which changes only the attention output of one layer. It loads and runs in Strata 0.2.20 (checked on an RTX 3080 12 GB with the drafter off). Nothing was measured on this pack itself. The numbers below were measured on a GGUF build of Inkling 2 Mini (
UD-IQ2_XXS) with the same v6 edit.
- Edit: CHiPS v6. It rewrites only the attention output of layer 11. The experts are untouched.
- Refusals (GGUF
UD-IQ2_XXS, v6 edit): on 312 harmful requests in English, Japanese and Chinese at a 4,096-token limit, thinking headed toward refusal in 310 replies from the original and 0 after the edit. - Longer replies: 1,886 new tokens on average, against 538 for the original. 299 of 312 replies finished within 4,096 tokens.
- Coding (GGUF
UD-IQ2_XXS, HumanEval+): 142 of 164 (86.6%) with the edit against 144 (87.8%) for the original, a difference within chance (p = 0.82). - Side effects (GGUF
UD-IQ2_XXS, gne eval): 97.2% on 36 short-answer and format tasks for both, with the same one miss. Perplexity rises by 1.2%. No language mixing. - Small edit: apart from one section hash in the header, about 14 MiB of the 18,451 MiB file differ from the original SQ-20 pack. Everything else is byte-identical, including the whole expert section, and the file size is unchanged.
- Method: the edit was made with CHiPS (see below). The recipe is not published.
What changed
Measured by comparing this pack with the official Inkling-2-Mini-SQ-20.strata (SHA-256 0bbfd52344f0dd4779a7807b5f73554a812f24c035e6877b63cd0d499f7e1b97, the value in the original repository's SHA256SUMS.txt) in 1 MiB blocks.
| Original SQ-20 | This pack | |
|---|---|---|
| Size | 19,346,685,952 bytes | the same |
| Header | SHA-256 of the edited section updated (all five section hashes match their contents) | |
| First data section (3.67 GB) | one region of about 14 MiB changed, the size of one layer's BF16 attention output matrix | |
| Expert section (15.68 GB) | byte-identical (same SHA-256 as the original) | |
| Everything else | byte-identical |
The recipe was tuned on the GGUF UD-IQ2_XXS file and applied unchanged to this pack. SQ-20 matches the original model exactly according to its own card, so it holds the weights at much higher precision than the 2-bit GGUF file the edit was tuned and tested on. The edit may therefore act somewhat differently here.
Layers 6 to 17 form the looped block that runs three times per token, so the edit in layer 11 applies on every pass.
About CHiPS
CHiPS (Causal Head-isolated Projection Steering) reduces one behavior without training. It picks model components by their causal effect on that behavior and reduces the part of their output that lies along one direction. The rest of the model is left untouched. This article explains the method and its results on other models.
In the article, CHiPS edits a few attention heads. On this looped mixture-of-experts model the edit is applied to a whole layer instead: in v6, the attention output of layer 11. The recipe is not published.
Files
| File | Size | SHA-256 |
|---|---|---|
Inkling-2-Mini-SQ-20-CHiPS.strata |
19.35 GB | 77bdc417e6877da5e7791b52c572a634d681d01c9b296a6d1e154604b82f9d8f |
The previous pack with the v4 edit (SHA-256 0bbd1437bcd8facb806e22f3080967ea6c83b6a6aa41475a6fc995a5a1172410) is still in the repository history.
Only the pack is provided. The tokenizer, chat template, config and the image pack (Inkling-2-Mini-Vision.strata) are unchanged: use those from strata-engine/Inkling-2-Mini-Strata. Images were not tested.
Usage
Strata cannot install a custom pack from the app yet. What works in Strata 0.2.20:
- Install Strata and the official SQ-20 pack as described on the original card.
- Download this pack, for example next to the official one (
Models/inkling-2-mini/, which also holdstokenizer.jsonandchat_template.jinja). - In the run config, replace the path after
--nativewith the path to this pack. The app keeps it across restarts.
The model list still shows the pack as "SQ-20", so it cannot sit next to the official pack or be switched from the app.
Recommended settings: temperature 1.0, as for the original model. The model thinks much longer after the edit, so set the output limit to at least 4,096 tokens.
Evaluation
All numbers were measured with llama.cpp on GGUF builds, not on this pack: the original Unsloth UD-IQ2_XXS file and the same file with the v6 edit baked in. That v6 GGUF file is the UD-IQ2_XXS file in the GGUF repository. Each set was run once. The request set is not published.
Harmful requests at 4,096 tokens
312 single-turn harmful requests (104 each in English, Japanese and Chinese), no system prompt, the model's own chat template. Thinking on at the template's default effort (0.9). Temperature 1.0, top_p 1.0, top_k 0, min_p 0, at most 4,096 new tokens including the thinking, and the same seed per request for both files.
| Original | v6 edit | |
|---|---|---|
| Finished normally | 312 | 299 (95.8%) |
| Reached the 4,096-token limit | 0 | 13 |
| No final answer (still thinking at the limit) | 0 | 3 |
| Mean new tokens (median) | 538 (485) | 1,886 (1,707) |
| Thinking headed toward refusal | 310 (99.4%) | 0 (0%) |
| Continuing repetition loops | 0 | 0 |
| v6 edit, by language | English (104) | Japanese (104) | Chinese (104) |
|---|---|---|---|
| Finished normally | 100 | 98 | 101 |
A reply counts as refused if its thinking heads toward refusing. Replies that reached the token limit are not counted as refusals. This measures whether the model sets out to refuse, not whether it fully carries out the request. Cautious shifts, such as giving a conceptual explanation instead of concrete steps, were not counted separately.
The original's replies were checked with automatic detection plus reading of the borderline cases. For the v6 edit, candidate passages were picked out with regular expressions and then read. Not every reply was read in full, so treat the v6 count as provisional. "No loops" covers only what was generated, at most 4,096 tokens.
Some replies had problems. One finished normally, but its final answer was a single sentence that did not answer the request. One Japanese reply drifted off topic and used unnatural made-up terms. Three ran out of tokens while still thinking.
Compared with the v4 edit on the same requests and seeds, v6 finished one more reply (299 against 298) with slightly shorter replies (1,886 against 1,939 tokens on average). The difference is small: 12 replies went from cut off to finished and 11 the other way, and Japanese finished 2 fewer than with v4.
Coding (HumanEval+)
HumanEval+ from EvalPlus 0.3.1 (dataset v0.1.10): 164 problems, each scored on both the original HumanEval tests and the extra EvalPlus tests. Same llama.cpp build, one slot, greedy decoding (temperature 0), thinking at the template's default effort, at most 16,384 new tokens including the thinking. Only the final answer is scored, never the thinking, and the tests run in an isolated sandbox. Each file was run once.
Both runs used the 2-bit UD-IQ2_XXS GGUF files (Unsloth's original and the same file with the v6 edit), not this SQ-20 pack. Scores on SQ-20 may differ.
| Original | v6 edit | |
|---|---|---|
| Passed, 164 problems | 144 (87.8%) | 142 (86.6%) |
| Thinking hit the 16,384-token limit (counted as failures) | 14 | 16 |
The difference is within chance: 18 problems flipped, 10 passed only by the original and 8 only with the v6 edit (exact McNemar test, p = 0.82). Of the 10 passed only by the original, the edited model ran out of tokens while thinking on 6 and failed the tests on 4. Of the 8 passed only with the edit, the original ran out of tokens on 5 and failed the tests on 3. So the code itself was about as good, and most of the gap comes from slightly longer thinking.
Side effects (gne eval)
Measured with gne eval from gne, its default suite, on each GGUF file as it is. Greedy decoding, thinking at the template's default effort with up to 1,024 thinking tokens, and tasks scored on the answer after the thinking. Perplexity is teacher-forced on gne's small reference texts, read as plain text without the chat template.
| Original | v6 edit | |
|---|---|---|
| Short-answer and format tasks (36) | 97.2% | 97.2% |
| Language mixing in Japanese answers (8) | 0% | 0% |
| Perplexity, English | 8.12 | 8.28 (+2.0%) |
| Perplexity, Japanese | 7.44 | 7.47 (+0.4%) |
| Perplexity, code | 2.38 | 2.41 (+1.3%) |
| Perplexity, mean | 5.24 | 5.30 (+1.2%) |
| Empty answers / thinking hit the limit / loops (52 replies) | 3 / 3 / 0 | 3 / 3 / 0 |
| Median thinking length (tokens) | 115 | 117.5 |
Both miss the same short-answer task. These are small checks, not standard benchmarks. For comparison, the v4 edit raised perplexity by 3.2%. In the same run, gne's refusal check on 8 harmful requests from the set used to build the edit found refusal phrases in 6 of 8 answers from the original and 0 of 8 with the v6 edit.
Limitations
- Not measured on this pack. In Strata the pack loads and gives correct output, but refusal rates, capability and speed were measured only on the 2-bit GGUF build with the same edit. The edit may be stronger or weaker on SQ-20.
- The refusal labels come from separate reading passes with different procedures, and the v6 replies were not all read in full (see above). The boundary between a cautious shift, a partial refusal and a partial answer is a judgment call.
- Each set was run once (the harmful requests at temperature 1.0, the benchmarks greedy), and the sets are small: one harmful request is about 0.3%, and one HumanEval+ problem about 0.6%.
- At 4,096 tokens, 13 of 312 replies still did not finish. Whether the finished answers are complete and correct was not measured, and a few had clear quality problems (see above).
- The DSpark draft model built into the pack is unchanged. It was made for the original model, so draft decoding may accept fewer tokens with the edited model. The pack was run with the drafter off, and draft decoding was not tested.
- Capability was checked with HumanEval+ (coding), a small suite (36 short tasks) and perplexity on small reference texts, all on the GGUF build. Other benchmarks such as GSM8K or MMLU-Pro were not run.
- Only single-turn requests without a system prompt were tested. Images, long contexts and tool calling were not tested.
- The original model's limitations still apply. For example, it can get stuck in long reasoning loops, so set limits on output tokens. See the original model card.
Intended use
This model follows many requests that the original model refuses, and it can produce harmful, offensive or inaccurate content. It is meant for research and for users who understand this. You are responsible for how you use it, including compliance with applicable laws and the license below. Add your own safeguards before using it in anything that serves other people.
License
- The model: same license as the original model, the Apache License 2.0. Thinking Machines also publishes a Model Acceptable Use Policy for the original model.
- The Strata engine: MIT. It is not included here.
Derivative of Inkling 2 Mini by Thinking Machines Lab, Inc., licensed under the Apache License 2.0. Changes in this repository: the regions listed in What changed were rewritten.
Credits
- Base model: Inkling 2 Mini by Thinking Machines Lab.
- Strata pack (SQ-20): strata-engine/Inkling-2-Mini-Strata, for the Strata engine.
- Edited and checked with gne, using CHiPS. GGUF builds: Kujira/Inkling-2-Mini-CHiPS-Abliterated-GGUF.