license: apache-2.0
base_model: OpenUncensored/Qwen4-35B-A3B-Uncensored
library_name: gguf
tags:
- text-generation
- gguf
- quantizer
- architecture-aware
- moe
- mamba
- ssm
- multi-token-prediction
- mtp
- uncensored
- 35b
⚡ Fuel the Lab: Keep the Optimization Loops Running
Every single ZeroDigest YMQ-MTP release is handcrafted and manually calibrated via intensive importance-matrix sweeps to protect critical logic pathways. This project is entirely independent research—no automation bots, no corporate backers, and no external funding. Running multi-hour compute arrays consumes massive local infrastructure overhead out-of-pocket. Consider checking out our compiler or supporting our compute costs!
👉 Developer Resources & Support Paths:
14Fmic9z3VA1ZU11bWoP6JtU7csTAApwZo0xbe4cdc3adc27c21ef1c27c6b403311db07b35ed2Qwen4-35B-A3B-Uncensored-YMQ-GGUF
Source Model: OpenUncensored/Qwen4-35B-A3B-Uncensored
⚖️ An Architecture-Aware, AutoRound-Inspired Mixed Precision Layout
This repository features custom architecture-aware quantizations of Qwen4-35B-A3B (Uncensored) processed from official raw BF16 source files using the YMQ-Compiler (v2.0) log-space framework.
These builds support parallel multi-token prediction (MTP) speculation engines and are optimized for demanding code development environments (such as RooCode/Aider).
📊 Quantization Preset Tier Details
| Preset Tier | Total Size | VRAM Usage (model only) | Target Usage / Memory VRAM Profile | Cognitive Real-World Coding Quality |
|---|---|---|---|---|
L-TI |
~28 GB | ~17 GB | 🔥 Premium High-Fidelity Choice | The L-TI Flagship. Robust Q6_K/IQ4_NL armored peak gradient. Best perplexity score (7.2388). Stable logic over long, multi-turn agent loops. |
XS-Pro |
~24 GB | ~13 GB | ⚡ 16GB VRAM Champion | Balanced compression. Prevents API degradation during deep context tasks. Solid quality-to-size balance. |
XXS-TI |
~22 GB | ~11 GB | ⚠️ Ultra-Compact | The Compact Option. Fits the 35B MoE matrix into ~11GB VRAM. Insulated routing tracks protect logical structures in agent workflows. |
🎯 Quick Selection Guide
| Use Case | Recommended Preset | Why |
|---|---|---|
| 24GB GPU (Max Quality) | L-TI |
Best perplexity score (7.2388) with Q6_K reasoning armor. Only ~17GB VRAM for model weights, leaving 7GB+ for context cache. |
| 16GB GPU (Balanced) | XS-Pro |
Excellent quality-to-size ratio. Only ~13GB VRAM for model weights, leaving 3GB+ for context cache. |
| 12-16GB GPU (Minimal VRAM) | XXS-TI |
Only ~11GB VRAM for model weights. With q4_0 256k cache, uses just ~14GB total VRAM. |
Note: Each quant file includes an ~11GB ngram (next-token prediction) layer that is served directly from SSD storage — it does not consume VRAM. The actual VRAM consumed by the model weights is significantly less than the file size shown above. For example,
XXS-TIuses only ~11GB of VRAM for the model itself, or ~14.14GB with q4_0 256k context cache.
📉 Perplexity Evaluation Metrics (WikiText-2)
Perplexity scores evaluated via llama-perplexity over a 4096 context window using the WikiText-2 test corpus.
| Model Variant | File Size | VRAM Usage | Perplexity | Internal Bit Gradient (High ➔ Mid ➔ Low ➔ Default ➔ Floor) |
|---|---|---|---|---|
L-TI |
~28 GB | ~17 GB | 7.2388 | Q6_K ➔ IQ4_NL ➔ IQ3_XXS ➔ IQ3_XXS ➔ IQ3_XXS |
XS-Pro |
~24 GB | ~13 GB | 7.3931 | IQ4_XS ➔ IQ3_S ➔ IQ2_S ➔ IQ2_XS ➔ IQ2_XXS |
XXS-TI |
~22 GB | ~11 GB | 7.9107 | IQ3_XXS ➔ IQ2_S ➔ IQ2_XS ➔ IQ2_XXS ➔ IQ1_S |
💡 Uncensored Abliteration Benefits
The Uncensored abliteration removes the artificial refusal safety layers, allowing the model's Attention and Mamba SSM weights to predict text paths with unrestricted clarity. Combined with the YMQ-Compiler's log-space gate insulation, the L-TI preset achieves a perplexity of 7.2388 — the best quality-to-VRAM ratio in this portfolio.
⚖️ YMQ vs. Uniform Quantization
Standard quantization pipelines apply a uniform bit-depth across every layer, wasting VRAM on background layers while starving critical logic anchors of precision.
The YMQ-Compiler uses a philosophy similar to Intel's AutoRound:
- Targeted Bit Allocation: Strips bits from low-leverage background tensors and re-allocates the saved VRAM to high-fidelity shields for critical logic pathways.
- Instant Optimization: Achieves mixed-precision layouts instantly by analyzing layer importance metrics in log-space — no multi-day training loops required.
🛠️ The YMQ Compilation Architecture
The YMQ-Compiler parses model files via an automated, multi-tiered protection matrix:
- Log-Space Gap Detection: Computes statistical cluster variances in log-space, isolating logical reasoning spikes to stable non-linear 4-bit formats while compressing idle layers to aggressive baselines.
- Fading Boundary Tapering: Forces an input wave cushion (
L00=IQ4_NL→L01=IQ4_XS→L02=IQ3_XXS) that gradually stabilizes parameters before fallback pools. - Dedicated Gate Insulation: Shields parallel Transformer Attention and Mamba SSM routing paths from quantization noise.
- Asymmetric Vocabulary Shielding: Maps final logit classification heads to robust configurations to eliminate formatting loops and API tag leakage.
- Native Next-N Speculative Stripping: Ensures zero index offset drift or layer-shifting risks across hybrid configurations.
🚀 Recommended Runtime Parameters (llama.cpp / llama-server)
Deploy on on-demand cloud GPUs via RunPod Cloud Compute.
$./llama-server -m models/Qwen4-35B-A3B-Uncensored-YMQ-L-TI.gguf -ctk q8_0 -ctv q4_0 --ctx-size 245760 --mmproj mmproj-Qwen4-35B-A3B-Uncensored-Q6_K.gguf \
--timeout 36000 --checkpoint-min-step 2048 --ctx-checkpoints 4 \
--n-predict -1 --temp 1.0 --top-p 0.95 --min-p 0.0 --top-k 20 --repeat-penalty 1.0 --presence-penalty 0.0 --jinja -fa
🖼️ Vision Projection (--mmproj)
For multimodal vision support, pair these builds with one of the following projection files:
| Variant | File | Size | Notes |
|---|---|---|---|
| BF16 | mmproj-Qwen4-35B-A3B-Uncensored-BF16.gguf | ~903 MB | Full-precision vision tower. Maximum fidelity for image reasoning. |
| Q6_K | mmproj-Qwen4-35B-A3B-Uncensored-Q6_K.gguf | ~579 MB | Quantized vision tower. Good quality-to-size balance. |
| Q4_K_S | mmproj-Qwen4-35B-A3B-Uncensored-Q4_K_S.gguf | ~473 MB | Compact vision projection for VRAM-constrained setups. |
Pass via --mmproj <path-to-file> in your llama-server invocation (see example above).
☕ Support
👉 Support ZeroDigest Research on ko-fi