Qwen3.5-9B-GGUF-MoQ / README.md
w-ahmad's picture
Update README.md
93149d6 verified
|
Raw
History Blame
7.11 kB
metadata
language:
  - en
library_name: gguf
tags:
  - MoQ
  - mixture-of-quants
  - GGUF
  - QWEN
  - quantization
base_model:
  - Qwen/Qwen3.5-9B
license: mit
pipeline_tag: text-generation

πŸš€ MoQ: Mixture of Quants

MoQ (Mixture of Quants) is a smart way to shrink AI models without losing their "brainpower." Unlike old methods that treat every part of the model the same, MoQ identifies the most important parts and keeps them high-quality, while heavily compressing the rest to save space.**Stop settling for uniform bitrates. Standard quantization is a relic of the past, treating vital cognitive weights the same as redundant noise. MoQ (Mixture of Quants) is a surgical evolution in model compression. By deploying an Empirical Per-Tensor Analysis, MoQ identifies the "High-Intelligence" tensors that drive reasoning and shields them with high-bit precision, while crushing redundant weights into extreme efficiency.


The result? A model that punches significantly above its weight class.


πŸ“₯ Available Quants

Folder Link BPW Total Size Description
πŸ“‚ BF-16 16 ~16.69 GB
πŸ“‚ FP-16 16 ~16.69 GB
πŸ“‚ MoQ-2.10 2.10 ~2.23 GB
πŸ“‚ MoQ-2.55 2.55 ~2.68 GB
πŸ“‚ MoQ-2.80 2.80 ~2.90 GB
πŸ“‚ MoQ-2.85 2.85 ~3.00 GB
πŸ“‚ MoQ-2.90 2.90 ~3.03 GB
πŸ“‚ MoQ-3.10 3.10 ~3.24 GB
πŸ“‚ MoQ-3.25 3.25 ~3.41 GB
πŸ“‚ MoQ-3.30 3.30 ~3.44 GB
πŸ“‚ MoQ-3.65 3.65 ~3.79 GB
πŸ“‚ MoQ-3.75 3.75 ~3.92 GB
πŸ“‚ MoQ-4.00 4.00 ~4.20 GB
πŸ“‚ MoQ-4.25 4.25 ~4.43 GB
πŸ“‚ MoQ-4.65 4.65 ~4.87 GB
πŸ“‚ MoQ-4.85 4.85 ~5.05 GB
πŸ“‚ MoQ-5.00 5.00 ~5.24 GB
πŸ“‚ MoQ-5.65 5.65 ~5.91 GB
πŸ“‚ MoQ-6.35 6.35 ~6.61 GB
πŸ“‚ MoQ-7.80 7.80 ~8.17 GB

πŸ“Š MoQ vs. Unsloth: Performance Comparison

The following benchmarks compare MoQ 4.85 against Unsloth Dynamic Quants. Note: Lower KLD (Kullback–Leibler Divergence) indicates higher fidelity to the original model.

πŸ“‰ Key Divergence Metrics (Lower is Better)

Mean KLD

Average divergence across all layers. MoQ maintains a significantly lower average error profile. Mean_KLD

Maximum KLD

The "worst-case" divergence point. MoQ 4.84 effectively eliminates the extreme divergence spikes seen in standard dynamic quants. Maximum_KLD

RMS Ξ”p

Root Mean Square change in probabilities. This measures the stability of the model's confidence. RMS_Ξ”p


πŸ“ˆ Precision Percentiles

These graphs demonstrate MoQ's ability to maintain stability even within the most sensitive portions of the architecture.

95.0% Percentile KLD

95.0pct_KLD

99.0% Percentile KLD

99.0pct_KLD

99.9% Percentile KLD

99.9pct_KLD


🎯 Token Match (Same Top-P)

This metric tracks how often the quantized model chooses the exact same top token as the original high-precision model. Same_top_p


🧠 The MoQ Edge

MoQ optimizes the architecture for the Pareto frontier of memory and performance.

  • Dynamic Bitrate Allocation: No more "one-size-fits-all." MoQ assigns precision where it actually matters.
  • Cognitive Preservation: Massive VRAM savings with near-zero degradation in logic and coherence.
  • Next-Gen Efficiency: Fits "Large" model intelligence into "Small" model hardware.

πŸ“ Weight Sensitivity Heatmap

Lighter regions represent mission-critical tensors preserved at higher precision. importance_heatmap

πŸ“ˆ Importance Distribution

The histogram shows the importance scores used to mathematically determine the optimal quant for each tensor. importance_histogram

Follow me on Linkedin linkedin.com/in/waleed-ahmad-8a3166403 If MoQ does not perform well, email me : waleedahmad.1a10@gmail.com

πŸ›  Usage & Deployment

./llama-cli -m Qwen3.5-9B-MoQ-4.85.gguf -p "The future of efficient AI is..."