Kataguru Vipunen-35B-A4B (GGUF — APEX Trio + Vision mmproj)

Core message: Two specialized domains — Finnish language and Industrial Automation / PLC & CNC Coding — added and strengthened on top of Qwen/Qwen3.6-35B-A3B without losing base capabilities.
Perussanoma: Malliin on lisätty ja vahvistettu kaksi erikoisdomainia (suomen kieli ja teollisuuskoodaus: PLC/SCL, TwinCAT 3 ST, OPC UA, CNC/Heidenhain) menettämättä pohjamallin alkuperäisiä kykyjä.
Built using our published modular MoE methodology: Track B Replace-Cartridge (DOI: 10.5281/zenodo.24445840) + pure-BF16 SOMA/ARA (L14–L39, attn + shared_expert only) + A4B (num_experts_per_tok = 10).
Mitä Kataguru muutti? / What Kataguru Changed
| Kenttä / Field | Kuvaus / Description |
|---|---|
| Base model | Qwen/Qwen3.6-35B-A3B (256 routed experts, 40 layers, 262 144 native context, Vision + MTP, Apache-2.0) |
| Added / strengthened domains | 1) Finnish language (finnish_unseen_64 NLL -11.6 %) and 2) Industrial PLC/CNC automation (plc_cnc_unseen_64 NLL -9.6 %: Siemens TIA Portal SCL, Beckhoff TwinCAT 3 ST + OPC UA, Sinumerik 840D / ISO G71 turning, Heidenhain TNC 640 Klartext, ISO 13849-1 safety, ABB RAPID / KUKA KRL / URScript) |
| Kataguru method | 1) Pure-BF16 SOMA/ARA (L14–L39, alpha=1.0, attn + shared_expert only; 0/6 refusals). 2) Coding-shielded Track B Replace-Cartridge (K = 12 / 256 experts on L06–L39, L00–L05 frozen per Law 5, coding_qa 2.5× shielded ρ = 0.1914, coding_qa overlap 1.65 %, 0.0 % off-policy <think>, rel_dW = 0.79 %). 3) Inference routing num_experts_per_tok = 10 (A4B). |
| What was NOT changed | 244 / 256 routed experts per layer, layers L00–L05, all 333 vision encoder tensors (mmproj-Vipunen-35B-A4B-f16.gguf included), and native Qwen3.6 reasoning remain intact. |
| Primary use | Local Finnish & industrial automation coding, general software engineering, and vision tasks in llama.cpp, LM Studio, and Ollama on 12–24 GB+ GPUs or Apple Silicon. |
| Recommended version | Vipunen-35B-A4B-APEX-Medium.gguf (13.57 GiB) for 16 GB GPUs; APEX-Good (15.65 GiB) for 24 GB+ GPUs. For Blackwell vLLM servers, see kataguru/Vipunen-35B-A4B-NVFP4. |
| Research reference | Methods: kataguru/functional-locality-moe (DOI: 10.5281/zenodo.24445840) · Systems: kataguru/moe-longcot-nondeterminism (DOI: 10.5281/zenodo.24445305) |
1. Canonical MoE APEX Trio + Vision Projector
All three quants are calibrated with a model-specific Vipunen-35B-A4B.imatrix (llama-imatrix):
| File | Size | Target Hardware | Notes |
|---|---|---|---|
Vipunen-35B-A4B-APEX-Small.gguf | 12.07 GiB | 12–16 GB GPU | Compact imatrix APEX profile (~2.70 bpw) |
Vipunen-35B-A4B-APEX-Medium.gguf | 13.57 GiB | 16 GB GPU (Recommended) | Sweet-spot imatrix APEX profile (~3.28 bpw) |
Vipunen-35B-A4B-APEX-Good.gguf | 15.65 GiB | 24 GB+ GPU / Mac | Highest-precision APEX profile (~3.71 bpw) |
mmproj-Vipunen-35B-A4B-f16.gguf | 0.84 GiB | Required for Vision | Multimodal vision projector (F16) |
Measured llama-bench Throughput (Single RTX 5090, -ngl 99, pp512 / tg128)
| model | size | params | backend | threads | test | t/s |
|---|---|---|---|---|---|---|
| qwen35moe 35B.A3B Q3_K - Medium | 12.06 GiB | 35.51 B | CPU | 24 | pp512 | 225.41 ± 17.63 |
| qwen35moe 35B.A3B Q3_K - Medium | 12.06 GiB | 35.51 B | CPU | 24 | tg128 | 25.53 ± 0.37 |
| qwen35moe 35B.A3B Q3_K - Medium | 13.56 GiB | 35.51 B | CPU | 24 | pp512 | 221.88 ± 12.66 |
| qwen35moe 35B.A3B Q3_K - Medium | 13.56 GiB | 35.51 B | CPU | 24 | tg128 | 24.97 ± 0.26 |
| qwen35moe 35B.A3B Q3_K - Medium | 15.64 GiB | 35.51 B | CPU | 24 | pp512 | 213.49 ± 5.56 |
| qwen35moe 35B.A3B Q3_K - Medium | 15.64 GiB | 35.51 B | CPU | 24 | tg128 | 23.31 ± 0.63 |
2. Base Preservation & A4B (k=10) Proof (Measured on Reference NVFP4 Build)
Identical hardware (2× RTX 5090 TP=2, vLLM 0.29.0, CUDAGraphs ON, 16384 ctx; N = 1 single-repeat run):
| Benchmark | Qwen3.6-35B-A3B Base (k=8) | Vipunen same weights (k=8) | Vipunen-35B-A4B (k=10) | $\Delta$ vs. Base (k=8) |
|---|---|---|---|---|
| LiveCodeBench v6 (Pass@1, 175) | 34.86 % | 33.71 % | 39.43 % | +4.57 |
| GPQA Diamond (198 PhD STEM) | 70.20 % | 71.21 % | 72.73 % | +2.53 |
| BFCL V4 Single-Turn AST | 80.28 % | 81.33 % | 83.00 % | +2.73 |
| IFEval Prompt / Inst Strict | 55.27 % / 64.15 % | 56.75 % / 65.47 % | 58.41 % / 66.67 % | +3.14 / +2.52 |
| ARC-Easy / ARC-Challenge / BoolQ | 71.68 / 54.78 / 87.77 % | 71.42 / 55.29 / 87.95 % | 73.99 / 56.74 / 89.30 % | +2.31 / +1.96 / +1.53 |
| 14-Task Mean (ex-1024 GSM8K*) | 65.41 % | 65.50 % | 66.72 % | +1.31 |
- Paired BF16 Unseen Holdouts (
T3,k=10): all 6 protected domains improved (coding_qa -0.0128,stem_chemphys -0.0234,stem_biomed -0.0399,cyber -0.0302,agentic_st -0.0052,agentic_mt -0.0015), while unseen targets dropped sharply:plc_cnc_unseen_64 -9.5 %,finnish_unseen_64 -12.9 %,epistemic_unseen_48 -8.2 %. - SOMA/ARA Uncensoring Spine (
L14–L39,alpha = 1.0,attn + shared_expertonly): Pure-BF16 IPPCC refusal-direction orthogonalization applied without touching any of the256routed experts,L00–L13,333vision tensors, or19MTP tensors -> verified0/6false refusals on geopolitics, technical cybersecurity, chemistry safety, secular critique, and nutrition probes. - Note: Legacy GSM8K (
1024-tok CoT cap) clipsQwen3.6<think>traces (34.42 %base vs16.91 %A4B); long-CoT NVFP4 Marlin carriesvllm#52525(DOI: 10.5281/zenodo.24445305) variance atN = 1.
3. Honest Limits (SFT vs. RAG)
Lightweight Track B SFT (244/256 experts frozen, rel_dW = 0.79 %) preserves base reasoning while strengthening Finnish and industrial coding structure, but does not replace RAG for exact lookup tables (Finnish Finlex statute numbers, Heidenhain CYCL DEF Q-parameter tables, Beckhoff Tc2_MC2 pin names). Always validate generated PLC/CNC code in TIA Portal, TwinCAT, or CAM simulation before running on hardware.
4. Usage (llama.cpp / LM Studio)
llama-server -m Vipunen-35B-A4B-APEX-Medium.gguf --mmproj mmproj-Vipunen-35B-A4B-f16.gguf -ngl 99 -c 65536 --temp 0.6 --top-p 0.95
- Native context is
262 144(-c 262144if VRAM allows). For optional1Mextension when needed, pass--rope-scaling yarn --rope-scale 4.
Citation
@misc{katajisto2026functionallocality,
author = {Jari Katajisto},
title = {Functional Locality and Controlled Cartridge Composition in Sparse Mixture-of-Experts Models},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24445840},
url = {https://doi.org/10.5281/zenodo.24445840}
}