license: apache-2.0
language:
- en
pipeline_tag: image-text-to-text
base_model: - ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF
- thinkingmachines/Inkling-2-Mini
- benthecarman/Inkling-2-Mini-uncensored
- caveman-so/caveling-2-mini
base_model_relation: quantized
tags: - gguf
- inkling2
- inkling2_loop
- inkling-2-mini
- caveling
- uncensored
- anti-loop
- orthogonal-fusion
- gsq-rco
- agentionai-ap
- mixed-precision
- mixture-of-experts
- multimodal
- llama.cpp
Inkling-2-Mini-Uncensored-Ortho (AP & GSQ-RCO GGUF)
This repository provides quantized GGUF builds of an attention-only orthogonal fusion combining two fine-tunes of thinkingmachines/Inkling-2-Mini onto AgentionAI AP and ISTA-DASLab GSQ-RCO quantized backbones:
- benthecarman/Inkling-2-Mini-uncensored — Uncensored fine-tune updating strictly the 96
BF16Q/K/V/O attention projections (wq_du,wk_dv,wv_dv,wo_ud), leaving all 1,148 remaining tensors (includinggate_attn, all routed MoE experts, embeddings, routers, vision encoder, and DSpark MTP head) byte-identical to base. - caveman-so/caveling-2-mini — Attention-only concise-reasoning fine-tune updating strictly the 168
BF16attention tensors (the 96 Q/K/V/O projections plus the 72gate_attn,wr_du, andattn_sink_projtensors), leaving all 1,130 remaining tensors byte-identical to base. - agentionai/Inkling-2-Mini-AP-GGUF & ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF — Quantized MoE donor backbones spanning 8.61 GB to 13.70 GB, suitable for GPUs ranging from 8 GB cards to 16-24 GB cards (such as the RTX 4080, RTX 5080, and RTX 5090).
File Selection Note: Every GGUF in this repository passed post-build tensor-level SHA-256 verification, WikiText-2 KL-Divergence checks, and a 12-task GPU evaluation suite covering mathematics, executable coding, multi-turn refactoring, loop-prone prompts, and technical depth.
GSQ-RCO-IQ2_S(9.28 GB) was omitted because it exhibited a multi-turn reasoning loop during testing and recorded higher KL divergence than the smallerAP-IQ2_XXS(8.61 GB) build.
Methodology
Because benthecarman/Inkling-2-Mini-uncensored modifies only the 96 Q/K/V/O attention tensors and caveman-so/caveling-2-mini modifies only the 168 attention tensors, 100% of both fine-tunes' modified parameters are captured within the 168 attention tensors, with zero omitted MoE expert, router, norm, embedding, vision, or drafter deltas.
To combine both updates without diluting refusal reduction or re-introducing reasoning loops, the 168 attention tensors are merged in FP32 using a loop-aware Gram-Schmidt orthogonal projection prior to single-pass quantization:
For the 96 overlapping projections (attn_q, attn_k, attn_v, attn_output across layers 0..23):
d_ben = W_ben - W_base
d_cav = W_cav - W_base
d_ortho = d_cav - proj(d_cav onto d_ben)
W_fused = W_base + d_ben + alpha * d_ortho
where alpha = 0.70 for recurrent middle layers (blk.6..17)
alpha = 1.00 for outer layers (blk.0..5, blk.18..23)
For the 72 non-overlapping control tensors (attn_gate, attn_rel, attn_sink_proj):
W_fused = W_cav
Key implementation details:
- Recurrent Core Scaling: Because
inkling2_loopexecutes layersblk.6..17three times per forward pass, scaling the orthogonalized anti-loop component toalpha = 0.70insideblk.6..17(alpha = 1.00on outer layers) reduced loop incidence relative to uniform1.00scaling in ablation testing. - Precision and Expert Preservation: The 120 linear attention projections (
attn_q,attn_k,attn_v,attn_output,attn_gate) are quantized directly fromFP32toQ8_0in a single pass, the 48attn_relandattn_sink_projtensors are stored inBF16, and all remaining tensors (all 3,072 routed MoE experts, routers, norms, embeddings, and per-expert scales) are copied byte-for-byte from each donor GGUF. AP-IQ2_XXSCompatibility Fix (llama.cpp b12818+): Upstreamllama.cppPR#28898(a386950+) requires an explicit.scaletensor for everyNVFP4weight tensor. TheAP-IQ2_XXSfile in this repository includes the 7 explicit unit-1.0F32.scaletensors forblk.{5,8,9,11,17,18,19}.ffn_down_exps(711/711 tensors verified; matched stock PPL9.1544), verified on upstreamllama.cpp b12818+.
Available Files
| File | Donor Backbone | Disk Size | Measured VRAM (-c 6144, q8_0 KV*) |
Target Hardware |
|---|---|---|---|---|
Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf |
AgentionAI AP v1.2 (updated for b12818+) |
8.61 GB | 8.17 GiB (8,363 MiB) | 8-10 GB VRAM (or 16 GB at 131K context) |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-Q2_K_XL.gguf |
ISTA-DASLab GSQ-RCO | 10.07 GB | 8.90 GiB (9,111 MiB) | 12 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_XXS.gguf |
ISTA-DASLab GSQ-RCO | 10.87 GB | 9.64 GiB (9,871 MiB) | 12 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf |
ISTA-DASLab GSQ-RCO | 11.64 GB | 10.35 GiB (10,599 MiB) | 12-16 GB VRAM |
Inkling-2-Mini-Uncensored-Ortho-AP-Q3_K_XL.gguf |
AgentionAI AP (32 per-expert scales preserved) | 13.70 GB | 16 GB+ full GPU | 16-24 GB VRAM (e.g., RTX 4080, RTX 5080, RTX 5090) |
mmproj-Inkling-2-Mini-BF16.gguf |
Stock Vision Projector | 642 MB | -- | Optional: multimodal vision support (--mmproj) |
dspark-Inkling-2-Mini-Q8_0.gguf |
Stock DSpark Drafter | 404 MB | -- | Optional: speculative decoding (-md) |
SHA256SUMS.txt |
Checksums | 779 B | -- | Verify files with sha256sum -c SHA256SUMS.txt |
*VRAM measured with -ngl 99 -ot "token_embd\.weight=CPU" -fa on -ctk q8_0 -ctv q8_0, which keeps the 0.93 GB BF16 token embedding table in system RAM. On 16-24 GB GPUs (such as an RTX 5080 or RTX 5090), -ot can be omitted to keep all tensors on the GPU.
Verification and Benchmarks
1. WikiText-2 KL-Divergence (12 x 512, llama-perplexity)
Each release file was evaluated against its corresponding stock donor (AgentionAI AP or ISTA-DASLab GSQ-RCO) following full tensor-level SHA-256 verification. When measured directly against benthecarman/Inkling-2-Mini-uncensored on GSQ-RCO-IQ3_S, the fusion records a Mean KLD of 0.003520 and 97.58% Same Top-1 token agreement.
| Release Tier | Size | Tensors Verified | Matched Stock PPL | Mean KLD (lower is better) | Median KLD (lower is better) | RMS delta-p (lower is better) | Same Top-1 (higher is better) |
|---|---|---|---|---|---|---|---|
AP-IQ2_XXS |
8.61 GB | 711 / 711 | 9.1544 | 0.004993 | 0.003005 | 1.543 +/- 0.060 % | 96.569 +/- 0.329 % |
GSQ-RCO-Q2_K_XL |
10.07 GB | 704 / 704 | 8.8530 | 0.006480 | 0.003774 | 1.896 +/- 0.086 % | 95.850 +/- 0.361 % |
GSQ-RCO-IQ3_XXS |
10.87 GB | 704 / 704 | 8.7181 | 0.005791 | 0.003398 | 1.890 +/- 0.134 % | 96.242 +/- 0.344 % |
GSQ-RCO-IQ3_S |
11.64 GB | 704 / 704 | 8.6711 | 0.005569 | 0.003201 | 1.850 +/- 0.134 % | 96.993 +/- 0.309 % |
AP-Q3_K_XL |
13.70 GB | 736 / 736 | 8.4749 | 0.004691 | 0.002649 | 1.603 +/- 0.090 % | 97.484 +/- 0.283 % |
2. Multi-Task GPU Evaluation Suite (-c 6144, effort=medium, q8_0 KV)
All five tiers were evaluated using llama-server (--jinja --reasoning-format auto --reasoning-effort medium) across 12 tasks:
- Mathematics (2 tasks): Modular exponentiation (
7^2026 + 3^2026 mod 100) and three-machine Bayes posterior probability. - Executable Coding (3 tasks): 4-directional grid BFS with up to
kobstacle removals, 2,500-itemO(n log n)weighted interval scheduling, and multi-bug non-mutating interval merger repair (all verified via sandboxed Python execution). - 3-Turn Stateful Coding (
MiniSearch): Iterative inverted-index implementation, replace/prefix/delete refactoring, and snippet/statistics extension across growing context, graded against 12 Python unit assertions. - Loop-Prone Prompts (2 tasks): Provably inconsistent modular arithmetic prompt at
temp=0.2and a strict 4-sentence, 9-word-per-sentence letter-'z'constraint prompt attemp=1.0. - Technical Depth Prompts (2 tasks): Low-level x86-64 Linux ROP/CET mechanics and client-side E2EE vs. mandatory key-escrow failure-mode analysis at
temp=1.0.
| Release Tier | Math (2) | Coding (3) | 3-Turn MiniSearch |
Loop Traps (2) | Technical Depth (2) | Loops Detected | Refusals / Hedging | Avg. Depth Response |
|---|---|---|---|---|---|---|---|---|
AP-IQ2_XXS (8.61 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,043 chars |
GSQ-RCO-Q2_K_XL (10.07 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,268 chars |
GSQ-RCO-IQ3_XXS (10.87 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,195 chars |
GSQ-RCO-IQ3_S (11.64 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 7,768 chars |
AP-Q3_K_XL (13.70 GB) |
2 / 2 | 3 / 3 | Pass (12/12) | 2 / 2 | 2 / 2 | 0 / 12 | 0 / 0 | 8,546 chars |
3. Compositional Reasoning Check: Hardy-Weinberg Genetics (Single-Shot, No Tools)
Evaluated on the multi-constraint Hardy-Weinberg lactase-genetics problem (-c 16384, temp=1.0, top_p=1.0, top_k=50, --reasoning-effort high, without external Python or shell tools). Models that omit conditional parent-child genotype dependencies typically output 48.00 or 45.00; the exact analytical value is 42 + 3 * sqrt(2) = 46.24 inches (to four significant figures).
| Tier | Result | Finish Reason | Output Tokens | Measured VRAM (-c 16384) |
Final Output |
|---|---|---|---|---|---|
AP-IQ2_XXS (8.61 GB) |
Pass (46.24) | stop |
8,994 | 8,577 MiB | 42 + 3*sqrt(2) = 46.24 in |
GSQ-RCO-IQ3_S (11.64 GB) |
Pass (46.24) | stop |
13,983 | 10,813 MiB | 42 + 3*sqrt(2) = 46.24 in |
Note: On an earlier constrained pass (effort=medium, 4,500-token cap), models either hit the token cap mid-derivation or returned the unconditioned 48.00 heuristic. Generous thinking headroom (--reasoning-effort high and >=16K context) is recommended for difficult multi-step compositional math without tools.
4. Extended Stability Testing and Ablation Summary (GSQ-RCO-IQ3_S)
Prior to selecting the final fusion parameters, five candidate merges were evaluated on GSQ-RCO-IQ3_S:
- Extended Stability (69 Runs): The selected
alpha = 0.70loop-aware orthogonal fusion recorded0 / 69loops acrosstemp = 0.2, 0.6, 1.0, scoring10/10on executable HumanEval problems,5/6on algorithmic coding challenges (includingO(log(min(m, n)))median of two sorted arrays over 200,000 elements in under0.05s), passing a 5-turn stateful coding and complexity-review session (12/12asserts,0/5loops), and completing10/10technical depth prompts with an average response length of5,324characters athigheffort (compared to2,014characters and3loops onUnbound v3.1on the same internal test harness). - Parameter Ablation: Uniform
1.00orthogonal fusion (alpha = 1.00across all 24 layers) looped on 2 constraint prompts. Grafting only the 72 non-overlapping attention control tensors, or using unmergedbenthecarmanattention weights, stalled inside<think>on 8 of 10 open-ended depth prompts within the token cap.
Known Notes and Scope
- Testing Scope for Companion Files (
mmproj/dspark): Both upstream fine-tunes left the vision encoder and DSpark MTP head untouched (upstream evaluations report99.3%untrained vision retention oncaveling-2-miniand unchanged DSpark acceptance onbenthecarman), so the stock companion files are included for compatibility. However, our quantized GPU benchmark suite above evaluated text, code, and reasoning tasks only and did not directly re-benchmark--mmprojvision accuracy or-md dsparkacceptance rates. - Third-Party Runtimes (
PolyStrata): TheAP-IQ2_XXSbuild with 7 explicit unit-1.0NVFP4.scaletensors was verified on upstreamllama.cpp b12818+. Compatibility with third-party engines such as PolyStrata has not been directly tested. - Internal
general.nameMetadata: The five model files retain their pre-rename staging string (Inkling-2-Mini-Uncensored-Caveling-<tier>) in the GGUFgeneral.namemetadata key. This is cosmetic and does not affect weights, inference behavior, orSHA256SUMS.txtverification.
Usage (llama.cpp b12611+ / b12818+)
Recommended Parameters
- Reasoning Effort:
--reasoning-effort mediumis recommended for general use, coding, and long-form technical responses, as it exits thinking blocks concisely and allocates more tokens to the visible response.--reasoning-effort highis recommended for multi-step mathematical and compositional reasoning problems.
- Sampling: Use
--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0for general usage, or--temp 0.6 --top-p 1.0 --top-k 0 --min-p 0.0for deterministic coding workflows. Avoid greedytemp=0and aggressive repetition/DRY penalties. - KV Cache: Use
q8_0,f16, orbf16KV cache. Inkling-2-Mini does not supportq4_0KV cache.
llama-server (Text and Reasoning)
# 1. Download a quant and optional vision projector
hf download Abiray/Inkling-2-Mini-Uncensored-Ortho-GGUF \
Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf \
mmproj-Inkling-2-Mini-BF16.gguf \
--local-dir ./models
# 2. Prevent tokenizer stack overflow on long repeated characters (Linux/macOS)
ulimit -s unlimited
# 3. Serve on 16-24 GB GPUs (e.g., RTX 4080, RTX 5080, RTX 5090)
# For 8-12 GB cards, add: -ot "token_embd\.weight=CPU" to reduce VRAM by ~0.93 GB
llama-server \
-m ./models/Inkling-2-Mini-Uncensored-Ortho-GSQ-RCO-IQ3_S.gguf \
--mmproj ./models/mmproj-Inkling-2-Mini-BF16.gguf \
-ngl 99 -fa on -c 65536 -b 2048 -ub 128 \
-ctk q8_0 -ctv q8_0 \
--jinja --reasoning-format auto --reasoning-effort medium \
--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0 \
--port 8080
Vision and DSpark Speculative Decoding (llama.cpp b12720+)
llama-server \
-m ./models/Inkling-2-Mini-Uncensored-Ortho-AP-Q3_K_XL.gguf \
--mmproj ./models/mmproj-Inkling-2-Mini-BF16.gguf \
-md ./models/dspark-Inkling-2-Mini-Q8_0.gguf -ngld 99 \
-ngl 99 -fa on -c 65536 -b 2048 -ub 64 \
-ctk q8_0 -ctv q8_0 \
--jinja --reasoning-format auto --reasoning-effort medium \
--temp 1.0 --top-p 1.0 --top-k 50 --min-p 0.0 \
--port 8080
Ollama
hf download Abiray/Inkling-2-Mini-Uncensored-Ortho-GGUF \
Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf --local-dir .
cat > Modelfile <<'EOF'
FROM ./Inkling-2-Mini-Uncensored-Ortho-AP-IQ2_XXS.gguf
PARAMETER temperature 1.0
PARAMETER top_p 1.0
PARAMETER top_k 50
EOF
ollama create inkling2-uncensored-ortho-ap -f Modelfile
ollama run inkling2-uncensored-ortho-ap
Credits and License
Licensed under Apache 2.0, preserving the license of all upstream projects:
- Base Model: Thinking Machines Lab -
thinkingmachines/Inkling-2-Mini - Uncensored Parent: benthecarman -
benthecarman/Inkling-2-Mini-uncensored - Concise-Reasoning / Anti-Loop Parent: Caveman -
caveman-so/caveling-2-mini - AP Quantized Backbones: AgentionAI -
agentionai/Inkling-2-Mini-AP-GGUF - GSQ-RCO Quantized Backbones: ISTA-DASLab -
ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF- GSQ (arXiv:2604.18556) and RCO (arXiv:2605.00649) - Orthogonal Fusion,
AP-IQ2_XXSScale Fix, and Packaging: Abiray