.gitattributes CHANGED
@@ -35,5 +35,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  imatrix.dat filter=lfs diff=lfs merge=lfs -text
37
  Gemma-4-E4B-it-Cerebellum-v2.gguf filter=lfs diff=lfs merge=lfs -text
38
- Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
- cerebellum_banner.png filter=lfs diff=lfs merge=lfs -text
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  imatrix.dat filter=lfs diff=lfs merge=lfs -text
37
  Gemma-4-E4B-it-Cerebellum-v2.gguf filter=lfs diff=lfs merge=lfs -text
 
 
Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf → Gemma-4-E4B-it-Cerebellum-v2.gguf RENAMED
File without changes
README.md CHANGED
@@ -20,88 +20,8 @@ tags:
20
  - ablation
21
  - 3-bit
22
  - conversational
23
- model-index:
24
- - name: Gemma-4-E4B-it-Cerebellum-v2-GGUF
25
- results:
26
- - task:
27
- name: Text Generation
28
- type: text-generation
29
- dataset:
30
- name: AI2 Reasoning Challenge
31
- type: ai2_arc
32
- config: ARC-Challenge
33
- split: test
34
- metrics:
35
- - name: normalized accuracy
36
- type: acc_norm
37
- value: 0.857
38
- source:
39
- name: Local benchmark run (RTX 3090, llama.cpp)
40
- url: https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v2-GGUF/tree/main/benchmark_results
41
- - task:
42
- name: Text Generation
43
- type: text-generation
44
- dataset:
45
- name: HellaSwag
46
- type: hellaswag
47
- split: validation
48
- metrics:
49
- - name: accuracy
50
- type: acc
51
- value: 0.753
52
- source:
53
- name: Local benchmark run (RTX 3090, llama.cpp)
54
- url: https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v2-GGUF/tree/main/benchmark_results
55
- - task:
56
- name: Text Generation
57
- type: text-generation
58
- dataset:
59
- name: MMLU-Redux
60
- type: cais/mmlu
61
- config: all
62
- split: test
63
- metrics:
64
- - name: accuracy
65
- type: acc
66
- value: 0.584
67
- source:
68
- name: Local benchmark run (RTX 3090, llama.cpp)
69
- url: https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v2-GGUF/tree/main/benchmark_results
70
- - task:
71
- name: Text Generation
72
- type: text-generation
73
- dataset:
74
- name: HumanEval (pass@1)
75
- type: openai_humaneval
76
- split: test
77
- metrics:
78
- - name: pass@1
79
- type: pass@1
80
- value: 0.683
81
- source:
82
- name: Local benchmark run (RTX 3090, llama.cpp)
83
- url: https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v2-GGUF/tree/main/benchmark_results
84
- - task:
85
- name: Text Generation
86
- type: text-generation
87
- dataset:
88
- name: WikiText-2 Perplexity
89
- type: wikitext
90
- config: wikitext-2-raw-v1
91
- split: test
92
- metrics:
93
- - name: perplexity
94
- type: perplexity
95
- value: 52.20
96
- source:
97
- name: Local benchmark run (RTX 3090, llama.cpp)
98
- url: https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v2-GGUF/tree/main/benchmark_results
99
  ---
100
 
101
- <p align="center">
102
- <img src="cerebellum_banner.png" alt="Cerebellum" width="640">
103
- </p>
104
-
105
  # Gemma 4 E4B — Cerebellum v2 GGUF (4.2 GB)
106
 
107
  Ablation-informed mixed-precision quantization of [google/gemma-4-e4b-it](https://huggingface.co/google/gemma-4-e4b-it). **4.2 GB** file size, **52.20 perplexity** — smaller and better than [Cerebellum v1](https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v1-GGUF) (4.3 GB, PPL 55.10).
@@ -194,34 +114,17 @@ v2's PPL (52.20) is lower than BF16 (54.58). This happens because certain tensor
194
 
195
  Fits comfortably on a 6 GB GPU at moderate context.
196
 
197
- ## Measured launch (RTX 3090, llama.cpp)
198
-
199
- Measured 2026-06-13 on a single RTX 3090 (24 GB), one `llama-server`, KV cache `q8_0`:
200
-
201
- | metric | measured |
202
- |---|---|
203
- | decode speed | 116 tok/s |
204
- | peak VRAM (4-slot serving) | 5.3 GB |
205
- | max measured context (q8_0 KV) | 65,536 |
206
-
207
- ```bash
208
- llama-server -m Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf \
209
- -ngl 99 --parallel 4 -c 24576 --jinja --reasoning-budget 0
210
- ```
211
-
212
- _This rig's measurements; no quality claims beyond them._
213
-
214
  ## Usage
215
 
216
  ```bash
217
  # llama.cpp
218
  llama-server \
219
- --model Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf \
220
  --n-gpu-layers 99 \
221
  --ctx-size 8192
222
 
223
  # Ollama
224
- echo 'FROM ./Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf' > Modelfile
225
  ollama create gemma4-e4b-v2 -f Modelfile
226
  ollama run gemma4-e4b-v2
227
  ```
@@ -243,7 +146,7 @@ python convert_hf_to_gguf.py gemma-4-e4b-it --outfile gemma4-e4b-bf16.gguf --out
243
  llama-quantize \
244
  --imatrix imatrix.dat \
245
  --tensor-type-file cerebellum_v2_overrides.txt \
246
- gemma4-e4b-bf16.gguf Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf Q3_K_M
247
  ```
248
 
249
  The `imatrix.dat`, `cerebellum_v2_overrides.txt`, and `ablation_results.json` are included in this repo.
@@ -252,7 +155,7 @@ The `imatrix.dat`, `cerebellum_v2_overrides.txt`, and `ablation_results.json` ar
252
 
253
  | File | Size | Description |
254
  |------|------|-------------|
255
- | `Gemma-4-E4B-it-Cerebellum-v2-Q3_K_M.gguf` | 4.2 GB | The quantized model |
256
  | `imatrix.dat` | 4.6 MB | Weight-sensitivity importance matrix |
257
  | `cerebellum_v2_overrides.txt` | 4.6 KB | 179 tensor type overrides (174 PLE Q5_K + 2 Q6_K + 3 Q2_K) |
258
  | `ablation_results.json` | 3 KB | Full ablation sweep data (26 tensors) |
 
20
  - ablation
21
  - 3-bit
22
  - conversational
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ---
24
 
 
 
 
 
25
  # Gemma 4 E4B — Cerebellum v2 GGUF (4.2 GB)
26
 
27
  Ablation-informed mixed-precision quantization of [google/gemma-4-e4b-it](https://huggingface.co/google/gemma-4-e4b-it). **4.2 GB** file size, **52.20 perplexity** — smaller and better than [Cerebellum v1](https://huggingface.co/deucebucket/Gemma-4-E4B-it-Cerebellum-v1-GGUF) (4.3 GB, PPL 55.10).
 
114
 
115
  Fits comfortably on a 6 GB GPU at moderate context.
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  ## Usage
118
 
119
  ```bash
120
  # llama.cpp
121
  llama-server \
122
+ --model Gemma-4-E4B-it-Cerebellum-v2.gguf \
123
  --n-gpu-layers 99 \
124
  --ctx-size 8192
125
 
126
  # Ollama
127
+ echo 'FROM ./Gemma-4-E4B-it-Cerebellum-v2.gguf' > Modelfile
128
  ollama create gemma4-e4b-v2 -f Modelfile
129
  ollama run gemma4-e4b-v2
130
  ```
 
146
  llama-quantize \
147
  --imatrix imatrix.dat \
148
  --tensor-type-file cerebellum_v2_overrides.txt \
149
+ gemma4-e4b-bf16.gguf Gemma-4-E4B-it-Cerebellum-v2.gguf Q3_K_M
150
  ```
151
 
152
  The `imatrix.dat`, `cerebellum_v2_overrides.txt`, and `ablation_results.json` are included in this repo.
 
155
 
156
  | File | Size | Description |
157
  |------|------|-------------|
158
+ | `Gemma-4-E4B-it-Cerebellum-v2.gguf` | 4.2 GB | The quantized model |
159
  | `imatrix.dat` | 4.6 MB | Weight-sensitivity importance matrix |
160
  | `cerebellum_v2_overrides.txt` | 4.6 KB | 179 tensor type overrides (174 PLE Q5_K + 2 Q6_K + 3 Q2_K) |
161
  | `ablation_results.json` | 3 KB | Full ablation sweep data (26 tensors) |
cerebellum_banner.png DELETED

Git LFS Details

  • SHA256: 78e521f01919cfd30f3f0c1352baa298a0f4108811266e4cc9f9918f175afaa5
  • Pointer size: 131 Bytes
  • Size of remote file: 230 kB