license: apache-2.0
library_name: transformers
pipeline_tag: image-text-to-text
base_model:
- thinkingmachines/Inkling-2-Mini
- orcarouter/Inkling-2-Mini-abliterated
tags: - inkling
- abliterated
- uncensored
- nvfp4
- mxfp8
- basalt
- dspark
- rtx-5090
Inkling 2 Mini — Orca abliteration, native NVFP4 + Basalt pack
Orcarouter's abliteration of Inkling 2 Mini, rebuilt on top of the official native NVFP4/MXFP8 release instead of shipped as BF16 or GGUF.
Only the tensors the abliteration actually changes are touched (50 of the 694 language-model tensors). Everything else — the w13 experts, the MTP/DSpark drafter, vision tower, norms, loop controllers — is the official release byte for byte. So it runs at stock speed with speculative decoding intact.
This is an independent derivative, not an official Thinking Machines or orcarouter release.
Files
| Path | What |
|---|---|
model-00001-of-00001.safetensors, mtp.safetensors, configs, tokenizer |
Native-NVFP4 HF checkpoint, same layout as the official release |
basalt/Inkling-2-Mini-Orca-Abliterated-NVFP4-MX8.basalt |
Ready-to-serve Basalt pack (≥0.5.6), DSpark + vision included |
ABLITERATION.json |
Per-tensor record: how each tensor was produced, edit rank, self-test results |
recipe/ |
The exact scripts that built this release, plus the full per-tensor diff (orca_diff.json) |
eval/ |
Refusal/loop eval script and summaries |
SHA256SUMS |
Hashes of every file |
Provenance
| Role | Repository | Revision |
|---|---|---|
| Official native NVFP4 weights | thinkingmachines/Inkling-2-Mini |
7a67ae23 (weights identical at c9d02830) |
| Abliteration source (BF16) | orcarouter/Inkling-2-Mini-abliterated |
3fb8f74df2ee728adbd3d6938d9d7d89edb5b236 |
| Pack converter | jesdga95/basalt |
v0.5.7 (400b411c) |
Technique
1. Find what the abliteration changed
recipe/orca_diff.py dequantises the official experts exactly (NVFP4: E2M1 × E4M3/16 × amax/denominator; MXFP8: E4M3 × 2^(UE8M0−127)) and diffs every tensor against orca's BF16.
Result: orca differs from official in exactly 50 tensors:
embedandunembed(BF16);- all 24
attn.wo_ud(BF16); - all 24
mlp.experts.w2(NVFP4 in layers 0–19, MXFP8 in 20–23).
The residual writers carry a rank-4 edit on the hidden (2304-dim) axis: 4 directions hold ≥99.9% of the difference energy in every wo_ud, 99.97% in embed, ≥99.8% in every w2. That is the signature of directional ablation. unembed changes too (7.6% relative) but is not low-rank on that axis; it is copied as is. No w13 expert changed. Orca ships no MTP head and its vision tower was not compared — both are taken from the official release.
2. BF16 tensors: copy
The 26 changed BF16 tensors (embed, unembed, 24 × wo_ud) are copied byte-for-byte from orca.
3. Quantised experts: project, then requantise
Copying orca's w2 naively would mean requantising a BF16 tensor that already contains orca's own rounding of the dequantised weights — extra noise everywhere.
Instead, per layer (recipe/build_orca_nvfp4.py):
D = orca − deq(official).- Eigendecompose
D Dᵀon the hidden axis; keep the top-k directionsU(k = 4 in every layer, energy coverage 0.998–0.9998). The rest is BF16 rounding floor, ~1e-4 of the edit energy. W = deq(official) + U Uᵀ D— the edit only, without orca's rounding noise.- Requantise
Win the official format: NVFP4 (E2M1 codes, E4M3 per-16 scales, amax/denominator outer scale) or MXFP8 (E4M3, UE8M0 per-32).
Self-test before every write: requantising deq(official) must reproduce the official codes, scales and amax. It does, exactly (codes, scales and dequantised values 100% equal; -0 codes handled via signbit). So the quantiser is bit-compatible with the one that made the official release, and the only change in the written bytes is the abliteration itself.
Relative edit size per layer is 7–22% of the w2 norm and matches orca-vs-official to within 2%.
4. Convert to Basalt
python tools/convert/convert.py --checkpoint <this-dir> --out Inkling-2-Mini-Orca-Abliterated-NVFP4-MX8.basalt --name "Inkling 2 Mini" --workers 8
Control check: the same converter on the unmodified official checkpoint reproduces every weight section of the published stock pack (jesdga/Inkling-2-Mini-Basalt) byte for byte; only meta differs. So the pack here differs from stock only where the abliteration does.
Reproduce
recipe/pipeline.sh runs all of the above. It needs the two pinned checkpoints (orca's is gated — accept its terms), Basalt v0.5.7, and torch/safetensors/numpy. CPU is enough.
Results
Measured on one RTX 5090 32 GB, Basalt 0.5.7, 262,144 context, fp8 KV, DSpark on, temperature 1.0, 16K reasoning budget, 32K max output.
Refusals (eval/refusal_eval.py, keyword classifier, n = 100 each, 4,096 max tokens):
| Set | Stock | This |
|---|---|---|
| Harmful | 95 | 9 |
| JailbreakBench | 86 | 9 |
| Harmless | 0 | 0 |
No length stops and no empty answers. Harmless-prompt thinking is not longer than stock (median 426 vs 493 tokens) — no over-thinking loop, unlike some other Inkling abliterations.
Agentic coding (private end-to-end AMM-AMM-CEX arbitrage implementation task, single run each, same harness):
| Model | Grade | Wall time |
|---|---|---|
| Stock (Basalt pack) | 100/100 | 5m50s |
| This | 98.6/100 | 8m18s |
The only lost points were in one optimizer-regret case. Single runs; not a statistically significant difference.
Speed: ~260–450 tok/s decode with DSpark during agent runs, TTFT ~0.33 s — same as stock.
Run with Basalt
Tested with Basalt v0.5.7 (packs need ≥0.5.6) on Windows, RTX 5090 32 GB. The pack is a drop-in replacement for the stock jesdga/Inkling-2-Mini-Basalt pack: same format, DSpark drafter and vision included, drafting on by default.
{"version": 2,
"models": [{"model": "/path/to/Inkling-2-Mini-Orca-Abliterated-NVFP4-MX8.basalt",
"gpu": "0", "max-context": 262144, "kv": "fp8",
"reasoning-budget-tokens": 16000}],
"server": {"host": "127.0.0.1", "port": 8082}}
basalt serve --config basalt_config.json
- Served model id is exactly
Inkling 2 Mini; other ids return 404. - Use temperature 1.0. Keep a bounded reasoning budget: without it a hard prompt can spend the whole output cap on hidden thinking.
- 262K context with fp8 KV fits a 32 GB card (~4.2 GB KV at full length).
- One request slot by default;
--parallel Nsplits the context across slots. - Windows: put CUDA 13 cuBLAS/cuBLASLt DLLs on
PATHand pass--python <venv>\Scripts\python.exetobasalt serve. Upstream benchmarks Linux; the numbers here are from the Windows build. - Confirm drafting from per-request
acc/dlstats or/metricsbefore quoting speed.
The root safetensors keep the official layout, so engines that load the official Inkling 2 Mini NVFP4 release should load them too; only Basalt was tested here. To rebuild the pack yourself: tools/convert/convert.py --checkpoint <this-dir> --out X.basalt --name "Inkling 2 Mini".
Limitations
- Abliteration removes most refusal behaviour. Outputs are unfiltered; you are responsible for how you use them.
- The keyword refusal classifier is a coarse proxy, not a judge model.
- Vision was not evaluated after the edit (the vision tower itself is the official one).
- Do not expose an unauthenticated endpoint publicly.
License and credits
Apache License 2.0, as are both sources. See LICENSE.
Credits: Thinking Machines for Inkling 2 Mini; orcarouter for the abliteration; the Basalt authors for the engine and converter. Native-NVFP4 rebuild, validation and packaging by heswithme.