AaryanK commited on
Commit
90e3cf0
Β·
verified Β·
1 Parent(s): 54234c3

Upload folder using huggingface_hub

Browse files
Files changed (6) hide show
  1. .gitattributes +4 -0
  2. README.md +148 -0
  3. domain_slices.png +3 -0
  4. kld_vs_size.png +3 -0
  5. matched_pairs.png +3 -0
  6. tail_p999.png +3 -0
.gitattributes CHANGED
@@ -49,3 +49,7 @@ Muse-Glimmer-30B-AK-Q4_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
49
  Muse-Glimmer-30B-AK-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
  Muse-Glimmer-30B-AK-Q6_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
51
  Muse-Glimmer-30B-AK-Q8_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
49
  Muse-Glimmer-30B-AK-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
  Muse-Glimmer-30B-AK-Q6_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
51
  Muse-Glimmer-30B-AK-Q8_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
52
+ domain_slices.png filter=lfs diff=lfs merge=lfs -text
53
+ kld_vs_size.png filter=lfs diff=lfs merge=lfs -text
54
+ matched_pairs.png filter=lfs diff=lfs merge=lfs -text
55
+ tail_p999.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-models/Muse-Glimmer-30B
3
+ base_model_relation: quantized
4
+ license: apache-2.0
5
+ library_name: gguf
6
+ pipeline_tag: image-text-to-text
7
+ tags:
8
+ - gguf
9
+ - llama.cpp
10
+ - quantized
11
+ - imatrix
12
+ - muse_glimmer
13
+ - conversational
14
+ ---
15
+
16
+ # Muse-Glimmer-30B - GGUF (AK line)
17
+
18
+ > πŸ‘‹ I built this line solo - the calibration, the per-tensor allocations, and the eval harness behind
19
+ > every number below. I'm looking for **internships in AI agent orchestration and model inference**.
20
+ > If this work looks relevant to your team: [linkedin.com/in/theaaryankapoor](https://www.linkedin.com/in/theaaryankapoor/)
21
+
22
+ **State-of-the-art GGUF quantizations for
23
+ [`meta-models/Muse-Glimmer-30B`](https://huggingface.co/meta-models/Muse-Glimmer-30B).** Eight builds
24
+ (27.86 B params, 52 dense layers, GQA 32:2), each with a custom per-tensor bit allocation derived for its
25
+ size point - plus the stock BF16 vision encoder.
26
+
27
+ Benchmarked head-to-head against the **Unsloth, Meta and bartowski** lines, every file scored on the same
28
+ rig against the same BF16 reference: **24 wins, 6 statistical ties, 0 losses across 30 paired comparisons
29
+ on two evaluation sets.**
30
+
31
+ ![KL divergence vs file size](kld_vs_size.png)
32
+
33
+ One line per publisher. Log y, bits-per-weight on the secondary axis, and the crowded 16 GB class magnified.
34
+
35
+ ![Matched pairs](matched_pairs.png)
36
+
37
+ Every comparison with its 95 % interval - blue clears zero, grey is a statistical tie, and the right
38
+ column carries the held-out C4 verdict. The full numbers are in the table below.
39
+
40
+ Comparison set: the three widest-distribution GGUF lines for this model, as published **2026-08-11**;
41
+ the Method section has everything needed to reproduce any number here.
42
+
43
+ > **File naming.** Every quant in this line carries the `AK-` prefix: these are custom per-tensor
44
+ > allocations, not llama.cpp's stock recipes, so `AK-Q4_K_M` and a stock `Q4_K_M` are different files.
45
+ > `mmproj` keeps its upstream name.
46
+
47
+ ## Which file do I want?
48
+
49
+ | file | size | bpw | mean KLD ↓ | top-1 ↑ | vs closest rival |
50
+ |---|---|---|---|---|---|
51
+ | `AK-Q2_K_XL` | 12.45 GB | 3.576 | 0.056036 | 90.88 % | **βˆ’27 %** KLD |
52
+ | `AK-Q3_K_XL` | 13.51 GB | 3.880 | 0.039079 | 92.30 % | **βˆ’27 %** KLD |
53
+ | `AK-Q4_K_M` | 15.86 GB | 4.556 | 0.013897 | 95.38 % | **βˆ’6 %** KLD |
54
+ | **`AK-Q4_K_XL`** | 16.26 GB | 4.669 | **0.012286** | 95.65 % | **βˆ’14 %** KLD |
55
+ | `AK-Q5_K_M` | 19.19 GB | 5.512 | 0.004974 | 97.26 % | best measured (tie) |
56
+ | `AK-Q6_K_XL` | 26.24 GB | 7.536 | 0.000876 | 98.82 % | **βˆ’4 %** KLD |
57
+ | **`AK-Q8_K_L`** | 32.28 GB | 9.272 | **0.000356** | 99.25 % | **βˆ’21 %** KLD, smaller file |
58
+ | `AK-Q8_K_XL` | 34.96 GB | 10.040 | 0.000316 | 99.30 % | most faithful build |
59
+ | `mmproj` BF16 | 3.85 GB | - | - | vision encoder | stock, unquantized |
60
+
61
+ `AK-Q4_K_XL` is the strongest file in the crowded 16 GB class - no published quant of this model at any
62
+ comparable size comes within 13 % of it. At Q8, `AK-Q8_K_L` beats Unsloth's build **while being smaller**.
63
+
64
+ ```bash
65
+ llama-server -m Muse-Glimmer-30B-AK-Q4_K_XL.gguf \
66
+ --mmproj mmproj-Muse-Glimmer-30B-BF16.gguf -c 8192 -ngl 99
67
+ ```
68
+
69
+ ## Full measurement table
70
+
71
+ | publisher | file | bytes | bpw | PPL ratio | mean KLD | p99.9 KLD | top-1 | Ξ” vs closest rival |
72
+ |---|---|---|---|---|---|---|---|---|
73
+ | bartowski | Q2_K_L | 12,348,891,936 | 3.547 | 1.113088 | 0.132355 | 4.5183 | 86.289 % | |
74
+ | Unsloth | UD-Q2_K_XL | 12,444,212,256 | 3.574 | 1.065168 | 0.077057 | 2.9476 | 89.240 % | |
75
+ | **AaryanK** | **AK-Q2_K_XL** | 12,451,267,776 | 3.576 | 1.048590 | **0.056036** | 2.4523 | 90.878 % | **βˆ’27.3 %** [βˆ’28.3, βˆ’26.3] |
76
+ | Unsloth | UD-Q3_K_XL | 13,360,983,072 | 3.837 | 1.047022 | 0.053173 | 2.2479 | 91.175 % | |
77
+ | **AaryanK** | **AK-Q3_K_XL** | 13,509,095,872 | 3.880 | 1.033090 | **0.039079** | 1.5369 | 92.303 % | **βˆ’26.5 %** [βˆ’27.8, βˆ’25.2] |
78
+ | bartowski | Q3_K_M | 13,962,519,328 | 4.010 | 1.032023 | 0.039487 | 1.6390 | 92.303 % | |
79
+ | bartowski | IQ4_XS | 15,435,096,096 | 4.433 | 1.010121 | 0.015440 | 0.6246 | 95.128 % | |
80
+ | **AaryanK** | **AK-Q4_K_M** | 15,864,857,280 | 4.556 | 1.010896 | **0.013897** | 0.5592 | 95.378 % | **βˆ’5.6 %** [βˆ’7.6, βˆ’3.3] |
81
+ | Unsloth | UD-Q4_K_XL | 15,878,222,368 | 4.560 | 1.010630 | 0.014714 | 0.5871 | 95.249 % | |
82
+ | **AaryanK** | **AK-Q4_K_XL** | 16,255,873,984 | 4.669 | 1.008957 | **0.012286** | 0.5601 | 95.647 % | **βˆ’14.0 %** [βˆ’15.4, βˆ’12.7] |
83
+ | bartowski | Q4_K_S | 16,320,943,136 | 4.687 | 1.010071 | 0.014293 | 0.5860 | 95.319 % | |
84
+ | Meta | kquant-17gb | 16,756,681,056 | 4.812 | 1.009871 | 0.014146 | 0.5918 | 95.297 % | |
85
+ | **AaryanK** | **AK-Q5_K_M** | 19,191,472,832 | 5.512 | 1.003958 | **0.004974** | 0.1922 | 97.256 % | βˆ’2.3 % [βˆ’4.8, **+0.6**] tie |
86
+ | Unsloth | UD-Q5_K_M | 19,194,274,848 | 5.513 | 1.004517 | 0.005092 | 0.2027 | 97.157 % | |
87
+ | **AaryanK** | **AK-Q6_K_XL** | 26,238,366,400 | 7.536 | 1.000831 | **0.000876** | 0.0384 | 98.819 % | **βˆ’3.8 %** [βˆ’5.8, βˆ’1.9] |
88
+ | Unsloth | UD-Q6_K_XL | 26,265,362,976 | 7.543 | 1.000885 | 0.000911 | 0.0386 | 98.867 % | |
89
+ | **AaryanK** | **AK-Q8_K_L** | 32,283,878,048 | 9.272 | 1.000606 | **0.000356** | 0.0148 | 99.248 % | **βˆ’20.8 %** [βˆ’23.8, βˆ’17.5] |
90
+ | Unsloth | UD-Q8_K_XL | 32,300,651,040 | 9.277 | 1.000728 | 0.000450 | 0.0197 | 99.126 % | |
91
+ | **AaryanK** | **AK-Q8_K_XL** | 34,958,791,360 | 10.040 | 1.000680 | **0.000316** | 0.0140 | 99.301 % | **βˆ’29.7 %** [βˆ’32.4, βˆ’26.6] |
92
+
93
+ Intervals are a paired per-token cluster bootstrap over the 60 evaluation chunks. Ξ” is against the
94
+ **closest-sized non-AaryanK** file.
95
+
96
+ ### Reading the numbers
97
+
98
+ **Two Q8 builds, two jobs.** `AK-Q8_K_L` is the size-class winner - smaller than Unsloth's Q8 and βˆ’20.8 %
99
+ KLD, confirmed on every slice tested. `AK-Q8_K_XL` is the maximum-fidelity build: βˆ’29.7 % at +8.2 % bytes
100
+ (10.04 bpw vs 9.28), for when the last 2.7 GB of VRAM is cheaper than the last drop of divergence.
101
+
102
+ **PPL ratio and KLD disagree at Q3 and Q4_K_M.** `AK-Q3_K_XL` leads bartowski's Q3_K_M on the KLD point
103
+ estimate (a statistical tie - see below) while losing PPL ratio by 0.001. `AK-Q4_K_M` shows the same pattern against Meta's build, where it leads
104
+ the KLD point estimate but the interval makes it a tie. PPL scores only the
105
+ probability of the true next token; KLD scores the whole distribution. Both are in the table.
106
+
107
+ ## Does the margin generalise?
108
+
109
+ ![Domain slices](domain_slices.png)
110
+
111
+ The same files re-measured on six evaluation sets, four held out and audited at zero fragment overlap with
112
+ any calibration corpus. **11 of 16 held-out margins exceed the same file's wikitext margin**, and every
113
+ interval in the chart excludes zero - including all four held-out domains for `AK-Q8_K_L`, where the
114
+ size-matched Q8 lead spans βˆ’17 % to βˆ’24 %.
115
+
116
+ ## Tail behaviour
117
+
118
+ ![Tail percentile](tail_p999.png)
119
+
120
+ ## Method
121
+
122
+ * **Reference:** our own BF16 GGUF, converted with llama.cpp pinned at `62bf73d2`. The conversion was
123
+ checked against every competitor's file across 21 load-bearing KVs, so the comparison measures
124
+ quantization rather than a conversion delta.
125
+ * **Eval:** `llama-perplexity --kl-divergence`, ctx 4096 Γ— 60 chunks β†’ 122,820 scored tokens.
126
+ **ctx 4096 matters for this architecture** - it alternates 3Γ— sliding-window (2048) with 1Γ—
127
+ full-attention NoPE layers, and only at ctx β‰₯ 4096 does every scored token sit beyond the window.
128
+ * **Statistics:** paired per-token cluster bootstrap at the 2047-token chunk width for every interval.
129
+ * **Confirmation:** the Q4 result was re-run under 9 independent calibration draws across three corpus
130
+ families on an untouched slice - beneficial in 9/9, no reversals, every interval excluding zero,
131
+ against an MDE fixed before any data was collected.
132
+ * **Long context:** re-measured at ctx 8192; the lead holds and slightly grows.
133
+ * **Capability:** a 130-case tool-calling suite scored as paired agreement with BF16 - `AK-Q4_K_M`
134
+ matches BF16 on 128 of 130 cases with one flip in each direction: statistically
135
+ indistinguishable (exact McNemar p = 1.000).
136
+ * Ten pre-registered apparatus gates, all passing, including full-vocabulary agreement with HF
137
+ `transformers` and exact greedy generation agreement (235/235 tokens).
138
+ * **Scope:** the text tower is what is measured and quantized; `mmproj` ships as the stock BF16 encoder.
139
+ KLD values are model-local (this head applies logit soft-capping) - compare within this table only.
140
+
141
+ Held-out sets: GitHub source (numpy/redis/django/sqlite/nlohmann), OASST dialogue, GSM8K + arXiv
142
+ abstracts, and Wikipedia in sixteen non-English languages.
143
+
144
+ ---
145
+
146
+ *Per-tensor bit allocation derived separately at each target bit-width using importance data from a
147
+ diverse in-house calibration set. Base model licence and usage policy unchanged from
148
+ [`meta-models/Muse-Glimmer-30B`](https://huggingface.co/meta-models/Muse-Glimmer-30B) (Apache-2.0).*
domain_slices.png ADDED

Git LFS Details

  • SHA256: 4074423b1d62113888cce53421abd9c5b37d89f2d903d22afe9c1a501c8c575c
  • Pointer size: 131 Bytes
  • Size of remote file: 241 kB
kld_vs_size.png ADDED

Git LFS Details

  • SHA256: 31e3aa5dbbdc98ebea3acf3de1cdf30e1090557adb3d96c1a81597861c1da5e6
  • Pointer size: 131 Bytes
  • Size of remote file: 275 kB
matched_pairs.png ADDED

Git LFS Details

  • SHA256: 6c5ff6dd4027551b2d049887d40ba153143cb79d97caa421876780cf11032ac6
  • Pointer size: 131 Bytes
  • Size of remote file: 252 kB
tail_p999.png ADDED

Git LFS Details

  • SHA256: 350c0cd3041dbe20f045d67b339578e68c58ac55825d91a55ae75f0bf7aa22d1
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB