tooltd commited on
Commit
7d293c2
·
verified ·
1 Parent(s): 43ec8f6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md CHANGED
@@ -1,3 +1,69 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # Qwen3.8-27B (GGUF — ZB-ZipBrain Quantization)
6
+
7
+ This repository provides GGUF quantizations for **Qwen3.8-27B** optimized using **ZB-ZipBrain**, a layer-wise quantization profiling and allocation method.
8
+
9
+ ---
10
+
11
+ ## 1. Overview & Method: ZB-ZipBrain
12
+
13
+ **ZB-ZipBrain** is an automated layer-allocation approach that dynamically profiles model layers and mixes **K-quants** and **IQ-quants** based on layer sensitivity and importance matrices.
14
+
15
+ ### Key Objectives:
16
+
17
+ * **Selective Bit-rate Allocation:** Assigns higher precision to sensitive layers and compact IQ-quants to more resilient weights.
18
+ * **Balanced Efficiency:** Maintains low perplexity (PPL) and minimal Kullback-Leibler (KL) Divergence relative to the BF16 baseline while achieving target file sizes / bits-per-weight (bpw).
19
+
20
+ ---
21
+
22
+ ## 2. Benchmark & Evaluation Results
23
+
24
+ All models were evaluated against the **BF16 baseline** (`Mean PPL = 6.950493`) using standard Perplexity (PPL) and KL Divergence metrics.
25
+
26
+ ### Comprehensive Comparison Table
27
+
28
+ | Rank | Model / File Name | Level / Source | Quant Type | Size (GB) | Mean PPL | Δ PPL | Mean KLD | Same Top-p (%) | KLD 99% |
29
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
30
+ | **1** | `Qwen3.8-27B-UD-Q8_K_XL` | unsloth | UD-Q8_K_XL | 29.30 | 6.953800 | +0.003500 | 0.000850 | 98.970% | — |
31
+ | **2** | `Qwen3.8-27B-UD-Q6_K_XL` | unsloth | UD-Q6_K_XL | 24.14 | 6.953600 | +0.003200 | 0.001380 | 98.520% | — |
32
+ | **3** | `Qwen3.8-27B-Q6_K` | unsloth | Q6_K | 21.31 | 6.950700 | +0.000300 | 0.002290 | 97.860% | — |
33
+ | **4** | `Qwen3.8-27B-Q5_K_M` | unsloth | Q5_K_M | 18.47 | 6.974200 | +0.023900 | 0.006220 | 96.700% | — |
34
+ | 5 | `Qwen3.8-27B-UD-Q4_K_XL` | unsloth | Q4_K_XL | 16.69 | 6.979220 | +0.028728 | 0.008606 | 96.091% | 0.091099 |
35
+ | **6** | `Qwen3.8-27B-ZB4.97-GOD-IQ4_XS` | **ZB-GOD** | IQ4_XS | **15.82** | **7.004243** | **+0.053751** | **0.012249** | **95.337%** | **0.117617** |
36
+ | **7** | `Qwen3.8-27B-ZB4.65-PRO-IQ4_XS` | **ZB-PRO** | IQ4_XS | **14.81** | **7.017278** | **+0.066786** | **0.015466** | **94.766%** | **0.150252** |
37
+ | **8** | `Qwen3.8-27B-Q4_K_M` | unsloth | Q4_K_M | 15.93 | 6.956100 | +0.005800 | 0.015490 | 94.650% | — |
38
+ | **9** | `Qwen3.8-27B-ZB4.60-PRO-IQ4_XS` | **ZB-PRO** | IQ4_XS | **14.65** | **7.030895** | **+0.080402** | **0.016162** | **94.668%** | **0.159115** |
39
+ | **10** | `Qwen3.8-27B-ZB4.55-PRO-IQ4_XS` | **ZB-PRO** | IQ4_XS | **14.49** | **7.032263** | **+0.081771** | **0.016647** | **94.613%** | **0.161016** |
40
+ | 11 | `Qwen3.8-27B-IQ4_NL` | bartowski | IQ4_NL | 15.20 | 7.006472 | +0.055980 | 0.018427 | 94.230% | 0.190168 |
41
+ | 12 | `Qwen3.8-27B-IQ4_XS` | unsloth | IQ4_XS | 14.63 | 7.012695 | +0.062202 | 0.018652 | 94.270% | 0.194338 |
42
+ | **13** | `Qwen3.8-27B-ZB4.48-STD-IQ4_XS` | **ZB-STD** | IQ4_XS | **14.26** | **7.050096** | **+0.099604** | **0.018892** | **94.199%** | **0.196005** |
43
+ | 14 | `Qwen3.8-27B-Q4_K_S` | unsloth | Q4_K_S | 15.01 | 6.966826 | +0.016334 | 0.018921 | 94.235% | 0.192749 |
44
+ | 15 | `Qwen3.8-27B-IQ4_XS-i1` | mradermacher | IQ4_XS | 14.26 | 7.012810 | +0.062318 | 0.019271 | 94.141% | 0.197891 |
45
+ | 16 | `Qwen3.8-27B-Q4_K_S-i1` | mradermacher | Q4_K_S | 14.74 | 6.989551 | +0.039059 | 0.019805 | 93.996% | 0.204143 |
46
+ | **17** | `Qwen3.8-27B-ZB4.36-STD-IQ4_XS` | **ZB-STD** | IQ4_XS | **13.88** | **7.054811** | **+0.104319** | **0.020556** | **93.951%** | **0.206689** |
47
+ | 18 | `Qwen3.8-27B-Q4_0-AutoRound-Code` | webhie | Q4_0 | 14.64 | 7.067142 | +0.116650 | 0.026586 | 92.970% | 0.271619 |
48
+ | **19** | `Qwen3.8-27B-ZB4.14-MIN-IQ4_XS` | **ZB-MIN** | IQ4_XS | **13.19** | **7.045689** | **+0.095196** | **0.029334** | **92.799%** | **0.294996** |
49
+ | 20 | `Qwen3.8-27B-i1-IQ4_XS-GGUF-Smaller_3.96bpw` | jrell | IQ4_XS | 12.61 | 7.252766 | +0.302274 | 0.055499 | 90.090% | 0.551972 |
50
+
51
+ ---
52
+
53
+ ## 3. ZB-ZipBrain Tiers & Recommendations
54
+
55
+ * **ZB-GOD :** God. A singularity appears. Reaches `0.012249` Mean KLD and `95.34%` top-probability match.
56
+ * **ZB-PRO :** Pro. Recommended for 16 GB VRAM GPUs with offloading on CPU. Balances quality output with substantial size savings.
57
+ * **ZB-STD :** Standard. Similar to other standard IQ4_XS models currently available.
58
+ * **ZB-MIN :** Minimal. Optimal footprint for tight 16 GB memory setups, allowing headroom for longer context windows
59
+
60
+ ---
61
+
62
+ **Note: These two missing files will be uploaded soon: Qwen3.8-27B-ZB4.97-GOD-IQ4_XS, Qwen3.8-27B-ZB4.65-PRO-IQ4_XS**
63
+
64
+ ## 4. Credits & Acknowledgements
65
+
66
+ * **Base Model:** [Qwen3.8 27B](https://huggingface.co/Qwen) by Alibaba Cloud / Qwen Team.
67
+ * **BF16 Base GGUF:** Provided by [Unsloth AI](https://huggingface.co/unsloth).
68
+ * **Importance Matrix (imatrix):** Generated and curated by [ubergarm](https://huggingface.co/ubergarm).
69
+ * **Inference & Quantization Framework:** [llama.cpp](https://github.com/ggerganov/llama.cpp) by Georgi Gerganov and contributors.