deucebucket commited on
Commit
c0b8ca7
·
verified ·
1 Parent(s): c5b8844

docs: consolidate card — single Evaluation section, drop dated/append blocks

Browse files
Files changed (1) hide show
  1. README.md +44 -163
README.md CHANGED
@@ -74,187 +74,68 @@ model-index:
74
 
75
  # Gemma 4 26B-A4B-it Cerebellum GGUF
76
 
77
- This repository contains GGUF builds derived from
78
- `google/gemma-4-26B-A4B-it`.
 
 
 
79
 
80
- ## 2026-05-22 Update
81
 
82
- Added:
 
 
 
83
 
84
- ```text
85
- gemma-4-26B-A4B-it-cerebellum-v6.1-templatefix-Q3_K_M.gguf
86
- sha256: d24229facdef8360a7ffa8b37a50e1de636b9139a5eba0efe899828e45ae7989
87
-
88
- gemma-4-26b-a4b-it.mmproj.gguf
89
- sha256: b762c43119ebdc3e3c36d929d958e827fac35b03278dda9203f87131aee1f185
90
- ```
91
 
92
- The v6.1 file keeps the v6 tensor allocation and updates GGUF/runtime-facing
93
- metadata for Gemma 4 chat-template use. The update was tested with
94
- `llama-server --jinja --reasoning auto` and request-level no-thinking controls.
 
95
 
96
- Older files in this repository are retained for reproducibility.
 
 
 
 
 
97
 
98
- ## Measured launch (RTX 3090, llama.cpp)
 
 
 
 
99
 
100
- Measured 2026-06-13 on a single RTX 3090 (24 GB), one `llama-server`, KV cache `q8_0`:
101
 
102
- | metric | measured |
103
- |---|---|
104
- | decode speed | 123 tok/s |
105
- | peak VRAM (4-slot serving) | 15.1 GB |
106
- | max measured context (q8_0 KV) | 131,072 |
107
-
108
- ```bash
109
- llama-server -m gemma-4-26B-A4B-it-cerebellum-v6.1-templatefix-Q3_K_M.gguf \
110
- -ngl 99 --parallel 4 -c 24576 --jinja --reasoning-budget 0
111
- ```
112
-
113
- _This rig's measurements; no quality claims beyond them._
114
-
115
- ## Tested Runtime
116
-
117
- Runtime used for the 2026-05-22 templatefix checks:
118
-
119
- ```text
120
- llama.cpp fork: https://github.com/deucebucket/llama.cpp
121
- branch: cerebellum/gemma4-runtime-fixes
122
- fork commit: ded491334 fix: harden Gemma 4 server budgets
123
- base build: b8930-59fa0b455
124
- ```
125
-
126
- Server shape used locally:
127
 
128
  ```bash
129
  llama-server \
130
  --model gemma-4-26B-A4B-it-cerebellum-v6.1-templatefix-Q3_K_M.gguf \
131
  --mmproj gemma-4-26b-a4b-it.mmproj.gguf \
132
- --n-gpu-layers 99 \
133
- --ctx-size 65536 \
134
- --parallel 1 \
135
- --flash-attn on \
136
- --cache-type-k q8_0 \
137
- --cache-type-v q8_0 \
138
- --jinja \
139
- --reasoning auto \
140
- --media-path /tmp/
141
- ```
142
-
143
- Normal no-thinking requests used:
144
-
145
- ```json
146
- {
147
- "chat_template_kwargs": {"enable_thinking": false},
148
- "thinking_budget_tokens": 0
149
- }
150
  ```
151
 
152
- Bounded-thinking smoke requests used `thinking_budget_tokens: 128`.
153
-
154
- ## 2026-05-22 Templatefix Test Artifacts
155
-
156
- Creative-writing smoke files:
157
-
158
- ```text
159
- creative_eval_20260522/regular_v6_1_templatefix_creative_summary.json
160
- creative_eval_20260522/regular_v6_1_templatefix_creative_rerun_longcaps_summary.json
161
- ```
162
-
163
- Non-coding tool-use files:
164
-
165
- ```text
166
- agentic_eval_20260522/README.md
167
- agentic_eval_20260522/regular_v6_1_noncoding_agentic_tools_strict_summary.json
168
- ```
169
-
170
- Observed 2026-05-22 results from those artifacts:
171
-
172
- | Area | Harness | Observed result |
173
- |---|---|---|
174
- | No-thinking output channel | six creative prompts | `reasoning_len=0` in recorded outputs |
175
- | Template leakage markers | six creative prompts | no `<think>` marker or template marker recorded by checker |
176
- | Creative long-cap rerun | four prompts rerun after initial length caps | four stop finishes in rerun summary |
177
- | Non-coding tool workflow | three strict OpenAI-style tool tasks | `schedule_strict`, `release_notes_strict`, `creative_brief_strict` listed in `pass_cases` |
178
-
179
- The non-coding tool harness used mock tools named `list_calendar`,
180
- `create_calendar_hold`, `search_notes`, `save_note`, and `add_task`. It did not
181
- test code editing.
182
-
183
- ## Evaluation
184
-
185
- Benchmark results for the Cerebellum v6 tensor allocation, measured directly
186
- on the GGUF with llama.cpp `llama-server` on an RTX 3090. The v6.1
187
- templatefix file keeps the v6 tensor allocation with zero tensor changes
188
- (metadata-only update), so these measurements describe the same weights.
189
- Summary JSONs are in `benchmark_results/` in this repository.
190
-
191
- | Benchmark | Cerebellum v6 (11 GB) | Local Q3_K_M baseline |
192
- |-----------|:---:|:---:|
193
- | ARC-Challenge | **95.56%** (1172 q) | 95.22% |
194
- | HellaSwag | 84.55% (10042 q) | 86.57% |
195
- | MMLU-Redux | 71.33% (2400 q) | 73.67% |
196
-
197
- Protocol: multiple-choice benchmarks run against a local `llama-server` with
198
- the project benchmark harness at temperature 0. HumanEval is not listed in
199
- the metadata because the retained v6 HumanEval artifacts are marked for audit
200
- in local notes. For Gemma 4, the current HumanEval/EvalPlus protocol uses the
201
- chat-completions harness (`scripts/benchmark_evalplus_chat.py`) with
202
- `enable_thinking: false`, `thinking_budget_tokens: 0`, and `BENCH_WORKERS=1`,
203
- not raw completions.
204
-
205
- ## Historical Same-Repo Benchmark Artifacts
206
-
207
- The following benchmark artifacts are from the earlier v6 line and the local
208
- Q3_K_M baseline. They are included as historical same-project measurements, not
209
- as new v6.1 measurements.
210
-
211
- | Artifact set | ARC-Challenge | HellaSwag | MMLU-Redux | HumanEval note |
212
- |---|---:|---:|---:|---|
213
- | `q3km_baseline_*` | 95.2218 | 86.5664 | 73.6667 | `q3km_baseline_humaneval_results.json`: 62.2 pass@1 |
214
- | `cerebellum_v6_*` | 95.5631 | 84.55 | 71.3333 | v6 HumanEval artifacts are retained but marked for audit in local notes |
215
-
216
- For Gemma 4 HumanEval/EvalPlus, the local protocol now uses chat completions,
217
- not raw completions:
218
-
219
- ```text
220
- llama-server --jinja --reasoning auto
221
- chat_template_kwargs: {"enable_thinking": false}
222
- thinking_budget_tokens: 0
223
- BENCH_WORKERS=1
224
- ```
225
-
226
- ## Files and Provenance
227
-
228
- Main v6.1 GGUF:
229
-
230
- ```text
231
- source base: google/gemma-4-26B-A4B-it
232
- quantization family: mixed-precision GGUF
233
- recipe lineage: Cerebellum v6 tensor allocation
234
- base quant lineage: Q3_K_M with bartowski imatrix
235
- ```
236
-
237
- Matching mmproj:
238
-
239
- ```text
240
- gemma-4-26b-a4b-it.mmproj.gguf
241
- ```
242
 
243
- ## Notes
244
 
245
- - The 2026-05-22 tests were run on local `llama-server`.
246
- - The opencode coding-agent test is not used as a model-card result. In one
247
- internal White and Black project run, the model connected through the harness
248
- and ran a Godot test, then produced malformed edit-tool calls.
249
- - The creative-writing checks are smoke tests plus mechanical checks, not a
250
- human preference benchmark.
251
- - The non-coding tool checks use mocked tools and fixed task definitions.
252
 
253
  ## Credits
254
 
255
  - Base model: Google Gemma Team, `google/gemma-4-26B-A4B-it`
256
- - Imatrix source used in the v6 lineage: bartowski,
257
- `bartowski/google_gemma-4-26B-A4B-it-GGUF`
258
- - GGUF/runtime: llama.cpp
259
- - Method and quantization workflow: deucebucket/cerebellum Cerebellum pipeline
260
- - Local test artifacts: deucebucket Cerebellum workflow
 
74
 
75
  # Gemma 4 26B-A4B-it Cerebellum GGUF
76
 
77
+ Sensitivity-guided mixed-precision GGUF of [google/gemma-4-26B-A4B-it](https://huggingface.co/google/gemma-4-26B-A4B-it):
78
+ a Q3_K_M base with the Cerebellum v6 tensor allocation. The shipped file carries
79
+ the v6 weights plus Google's updated Gemma 4 chat-template metadata (the 2026-05-18
80
+ template state) with zero tensor changes versus v6. Newer versions appear in
81
+ filenames, not the repo name.
82
 
83
+ ## Files
84
 
85
+ | File | Description |
86
+ |------|-------------|
87
+ | `gemma-4-26B-A4B-it-cerebellum-v6.1-templatefix-Q3_K_M.gguf` | ~11 GB; v6 allocation + updated chat-template metadata |
88
+ | `gemma-4-26b-a4b-it.mmproj.gguf` | vision projector (required for image/video) |
89
 
90
+ ## Evaluation
 
 
 
 
 
 
91
 
92
+ Measured directly on the GGUF with llama.cpp `llama-server` on an RTX 3090,
93
+ temperature 0, project benchmark harness. v6.1 is metadata-only over v6, so these
94
+ describe the same weights. The comparison column is our own same-size uniform
95
+ Q3_K_M build measured on the same harness. Summary JSONs are in `benchmark_results/`.
96
 
97
+ | Benchmark | Cerebellum v6 (11 GB) | Uniform Q3_K_M (11 GB) |
98
+ |-----------|:---:|:---:|
99
+ | ARC-Challenge (1172 q) | 95.56% | 95.22% |
100
+ | HellaSwag (10042 q) | 84.55% | 86.57% |
101
+ | MMLU-Redux (2400 q) | 71.33% | 73.67% |
102
+ | HumanEval (raw-completions, legacy) | pending re-audit | 62.2% pass@1 |
103
 
104
+ HumanEval for Gemma 4 must use the chat-completions harness
105
+ (`scripts/benchmark_evalplus_chat.py`, `enable_thinking: false`,
106
+ `thinking_budget_tokens: 0`, `BENCH_WORKERS=1`). The retained v6 HumanEval
107
+ artifacts were raw-completions and are marked for re-audit, so no v6 HumanEval
108
+ number is published here.
109
 
110
+ ## Usage
111
 
112
+ Gemma 4 requires `--jinja`. For non-thinking output, pass request-level
113
+ `chat_template_kwargs: {"enable_thinking": false}` and `thinking_budget_tokens: 0`;
114
+ do not set a fixed server `--reasoning-budget` (it can burn output into hidden
115
+ reasoning until the length cap, which looks like a repetition loop).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
  ```bash
118
  llama-server \
119
  --model gemma-4-26B-A4B-it-cerebellum-v6.1-templatefix-Q3_K_M.gguf \
120
  --mmproj gemma-4-26b-a4b-it.mmproj.gguf \
121
+ -ngl 99 --ctx-size 65536 --parallel 1 --flash-attn on \
122
+ --cache-type-k q8_0 --cache-type-v q8_0 --jinja --reasoning auto
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  ```
124
 
125
+ Measured on one RTX 3090 (24 GB), KV q8_0: ~123 tok/s decode, 15.1 GB peak VRAM
126
+ (4-slot serving), context to 131,072. This rig's measurements; no quality claims
127
+ beyond them.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
+ ## Provenance
130
 
131
+ - Base: [google/gemma-4-26B-A4B-it](https://huggingface.co/google/gemma-4-26B-A4B-it) Google Gemma Team
132
+ - Base quant lineage: Q3_K_M with the bartowski imatrix (`bartowski/google_gemma-4-26B-A4B-it-GGUF`)
133
+ - Recipe: Cerebellum v6 tensor allocation; v6.1 is a chat-template metadata refresh
134
+ (Google 2026-05-18 template), zero tensor changes
 
 
 
135
 
136
  ## Credits
137
 
138
  - Base model: Google Gemma Team, `google/gemma-4-26B-A4B-it`
139
+ - Imatrix: bartowski, `bartowski/google_gemma-4-26B-A4B-it-GGUF`
140
+ - GGUF runtime: [llama.cpp](https://github.com/ggml-org/llama.cpp)
141
+ - Quantization method: [Cerebellum](https://github.com/deucebucket/cerebellum) — deucebucket