ur-dad-matt commited on
Commit
dcd8777
·
verified ·
1 Parent(s): ec1106a

chore(cards): optimize tags + README for discoverability (2026-05-03)

Browse files
Files changed (1) hide show
  1. README.md +157 -49
README.md CHANGED
@@ -1,72 +1,180 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: apache-2.0
3
- base_model: mlx-community/gemma-4-26b-a4b-it-4bit
 
4
  tags:
5
- - mlx
6
- - gemma
7
- - moe
8
- - 4bit
9
- language:
10
- - en
11
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
- # Outlier Quick (26B MoE / 4B active)
16
 
17
- The Outlier **Quick** tier ships in the Outlier desktop app v1.7+. This
18
- repo is a re-publish of [`mlx-community/gemma-4-26b-a4b-it-4bit`](https://huggingface.co/mlx-community/gemma-4-26b-a4b-it-4bit)
19
- under the Outlier-Ai org, with σ-qualified bench provenance attached.
20
 
21
- Quick sits between Lite (9B dense) and Core (27B dense) in the Outlier
22
- lineup — a fast/light tier with knowledge density of a small dense model
23
- plus thinking-mode reasoning passes. It is **not** a code-tier substitute
24
- (see HumanEval below); for coding workflows prefer Core or Code.
25
 
26
- - **Base model:** [`google/gemma-4-26b-a4b-it`](https://huggingface.co/google/gemma-4-26b-a4b-it)
27
- - **Quantization:** mlx-community 4-bit MLX (15.6 GB on disk, 3 safetensors)
28
- - **Architecture:** Gemma 4 Mixture-of-Experts, 26B total / 4B active per token
29
- - **Active RAM at inference:** ~15.4 GB (smoke, M1 Ultra 64 GB UMA)
30
- - **First-token latency (cold load):** 1.22 s (smoke, n=1)
31
- - **License:** Apache 2.0 (inherited from base)
32
 
33
- ## σ-qualified evals (Rule 66 5-field provenance)
34
 
35
- | Task | Metric | n | 95% CI | Timestamp (UTC) | Notes |
36
- |---|---|---|---|---|---|
37
- | MMLU | 0.7933 | 300 | [0.7439, 0.8353] | 2026-04-30T17:50:59.463658+00:00 | Wilson 95% CI |
38
- | HumanEval pass@1 | 0.1280 | 164 | [0.0853, 0.1878] | 2026-04-30T19:19:29.402729+00:00 | Wilson 95% CI |
39
 
40
- **Sampling note:** MMLU was run on a stratified-by-subject n=300 sample
41
- because Gemma 4 26B IT is a thinking-mode model (~16-30 s/q wall). Full
42
- n=14042 would require 8-25 hours on M1 Ultra. The n=300 stratified
43
- sample covers all 57 MMLU subjects with ±5.7 pp Wilson 95% CI at p=0.5
44
- (±5.0 pp at p=0.7), which is sufficient resolution for tier-decision
45
- purposes and honest under Rule 78 (smoke perf claim — n is reported).
 
 
 
 
46
 
47
- HumanEval pass@1 was run over the full n=164 problems.
48
 
49
- ## Verifying
50
 
51
- ```python
52
- from huggingface_hub import snapshot_download
53
- local = snapshot_download("Outlier-Ai/Outlier-Quick-26B-MLX-4bit")
 
 
 
 
 
 
 
 
 
54
 
55
- # In Python via mlx_lm:
56
- from mlx_lm import load, generate
57
- model, tokenizer = load(local)
58
- print(generate(model, tokenizer, "The capital of France is", max_tokens=32))
 
59
  ```
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  ## Provenance
62
 
63
- - Source repo: `mlx-community/gemma-4-26b-a4b-it-4bit` (mlx-community)
64
- - Re-published by: Outlier-Ai
65
- - Sprint: `OUTLIER-V17-MAC-ONLY-DAY32-001`
66
- - Commit: see [`sprints/v17_mac_only/PROVENANCE.md`](https://github.com/Outlier-Ai/outlier-tauri/blob/main/sprints/v17_mac_only/PROVENANCE.md)
67
 
68
  ## License
69
 
70
- Apache 2.0 — see [LICENSE](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md)
71
- inherited from `mlx-community/gemma-4-26b-a4b-it-4bit` and ultimately from
72
- `google/gemma-4-26b-a4b-it`.
 
1
  ---
2
+ language:
3
+ - en
4
+ - zh
5
+ - fr
6
+ - es
7
+ - pt
8
+ - de
9
+ - it
10
+ - ru
11
+ - ja
12
+ - ko
13
+ - ar
14
+ - vi
15
+ - th
16
+ - nl
17
+ - pl
18
  license: apache-2.0
19
+ library_name: mlx
20
+ base_model: google/gemma-4-26b-a4b-it
21
  tags:
22
+ - mlx
23
+ - safetensors
24
+ - gemma4
25
+ - gemma
26
+ - gemma-4
27
+ - moe
28
+ - mixture-of-experts
29
+ - 4bit
30
+ - 4-bit
31
+ - quantized
32
+ - apple-silicon
33
+ - mac
34
+ - macos
35
+ - metal
36
+ - m1
37
+ - m2
38
+ - m3
39
+ - m4
40
+ - mlx-lm
41
+ - local-llm
42
+ - on-device
43
+ - edge-ai
44
+ - offline
45
+ - outlier
46
+ - outlier-app
47
+ - thinking
48
+ - reasoning
49
+ - function-calling
50
+ - tool-use
51
+ - text-generation
52
+ - conversational
53
+ - instruct
54
+ - chat
55
+ - multilingual
56
+ - mmlu-verified
57
  pipeline_tag: text-generation
58
+
59
+ model-index:
60
+ - name: Outlier-Ai/Outlier-Quick-26B-MLX-4bit
61
+ results:
62
+ - task:
63
+ type: text-generation
64
+ name: Text Generation
65
+ dataset:
66
+ name: MMLU (stratified n=300)
67
+ type: cais/mmlu
68
+ config: all
69
+ split: test
70
+ metrics:
71
+ - type: acc
72
+ name: accuracy
73
+ value: 0.7933
74
+ verified: false
75
+ - task:
76
+ type: text-generation
77
+ name: Text Generation
78
+ dataset:
79
+ name: HumanEval
80
+ type: openai_humaneval
81
+ split: test
82
+ metrics:
83
+ - type: pass@1
84
+ name: pass@1
85
+ value: 0.1280
86
+ verified: false
87
  ---
88
 
89
+ # Outlier Quick 26B MoE / 4B active (MLX-4bit)
90
 
91
+ > **Thinking-mode reasoning on any 16 GB Mac. Fast/light MoE tier in the [Outlier](https://outlier.host) lineup.**
 
 
92
 
93
+ **Outlier Quick** is a 4-bit MLX conversion of [Google Gemma 4 26B-a4b-it](https://huggingface.co/google/gemma-4-26b-a4b-it) — a Mixture-of-Experts model with 26B total parameters but only **4B active per token**. It runs at ~14.6 tok/s on M1 Ultra and fits in 16 GB unified RAM, making it one of the fastest thinking-mode models available on Apple Silicon.
 
 
 
94
 
95
+ Ships in the **[Outlier desktop app](https://outlier.host)** (v1.7+) as the "Quick" tier — positioned between Lite (9B dense) and Core (27B dense).
 
 
 
 
 
96
 
97
+ ---
98
 
99
+ ## At a glance
 
 
 
100
 
101
+ | Property | Value |
102
+ |---|---|
103
+ | Architecture | Gemma 4 MoE, hybrid sliding-window attention |
104
+ | Total params | 26B (4B active per token) |
105
+ | Quantization | MLX 4-bit (15.6 GB on disk) |
106
+ | Min RAM | **16 GB** unified memory |
107
+ | Speed | **14.6 tok/s** (M1 Ultra, MLX-4bit) |
108
+ | Context (default) | 32K (native: 256K) |
109
+ | Thinking mode | ✅ |
110
+ | License | Apache 2.0 |
111
 
112
+ ---
113
 
114
+ ## Verified benchmarks (σ-qualified)
115
 
116
+ | Task | Metric | n | 95% CI | Date |
117
+ |---|---|---|---|---|
118
+ | MMLU | **0.7933** | 300 (stratified) | [0.744, 0.835] | 2026-04-30 |
119
+ | HumanEval pass@1 | **0.128** | 164 | [0.085, 0.188] | 2026-04-30 |
120
+
121
+ > ⚠️ **Coding note:** HumanEval pass@1 = 0.128. Quick is **not** a code-generation substitute. For coding use [Outlier Core](https://huggingface.co/Outlier-Ai/Outlier-Core-27B-MLX-4bit) (HumanEval 0.866) or [Outlier Code](https://huggingface.co/Outlier-Ai/Outlier-Code-27B-MLX-4bit). Quick's strength is knowledge-density + reasoning on hard non-code queries.
122
+
123
+ MMLU stratified sample covers all 57 subjects (n=300 due to Gemma 4's thinking-mode latency ~16–30 s/q on M1 Ultra). Wilson 95% CI ±5.7 pp at p=0.5. HumanEval run over full n=164 problems.
124
+
125
+ ---
126
+
127
+ ## Quick start
128
 
129
+ ```bash
130
+ pip install mlx-lm
131
+ mlx_lm.generate --model Outlier-Ai/Outlier-Quick-26B-MLX-4bit \
132
+ --prompt "Explain the difference between MoE and dense transformers." \
133
+ --max-tokens 512
134
  ```
135
 
136
+ ```python
137
+ from mlx_lm import load, stream_generate
138
+
139
+ model, tokenizer = load("Outlier-Ai/Outlier-Quick-26B-MLX-4bit")
140
+ for chunk in stream_generate(
141
+ model, tokenizer,
142
+ "What's the most efficient sorting algorithm for nearly-sorted arrays?",
143
+ max_tokens=256
144
+ ):
145
+ print(chunk.text, end="", flush=True)
146
+ ```
147
+
148
+ ---
149
+
150
+ ## Where it fits in the Outlier lineup
151
+
152
+ | Tier | Params | Speed | Min RAM | Best for |
153
+ |---|---|---|---|---|
154
+ | [Nano](https://hf.co/Outlier-Ai/Outlier-Nano-4B-MLX-4bit) | 4B dense | 71.7 tok/s | 6 GB | Fastest iteration |
155
+ | [Lite](https://hf.co/Outlier-Ai/Outlier-Lite-9B-MLX-4bit) | 9B dense | 53.4 tok/s | 12 GB | Everyday chat |
156
+ | **Quick** ← you are here | 26B MoE / 4B active | **14.6 tok/s** | **16 GB** | Reasoning on 16 GB Mac |
157
+ | [Core](https://hf.co/Outlier-Ai/Outlier-Core-27B-MLX-4bit) | 27B dense | 20.7 tok/s | 24 GB | Best quality/speed |
158
+ | [Code](https://hf.co/Outlier-Ai/Outlier-Code-27B-MLX-4bit) | 27B dense | 20.7 tok/s | 24 GB | HumanEval 0.866 |
159
+ | [Vision](https://hf.co/Outlier-Ai/Outlier-Vision-35B-A3B-MLX-4bit) | 35B MoE / 3.6B active | ~61 tok/s | 24 GB | Image + text |
160
+
161
+ ---
162
+
163
+ ## Technical details
164
+
165
+ - **Architecture:** `Gemma4ForConditionalGeneration`, 30 layers, hybrid sliding-window attention
166
+ - **Routing:** top-k MoE (4B active from 26B total)
167
+ - **Quantization:** mlx-community 4-bit, 15.61 GB on disk (3 safetensors)
168
+ - **Native context:** 256K via hybrid sliding-window attention
169
+ - **Vision tower:** present in source but not used in text-only inference path
170
+
171
  ## Provenance
172
 
173
+ - **Source:** [`mlx-community/gemma-4-26b-a4b-it-4bit`](https://huggingface.co/mlx-community/gemma-4-26b-a4b-it-4bit)
174
+ - **Base model:** [`google/gemma-4-26b-a4b-it`](https://huggingface.co/google/gemma-4-26b-a4b-it)
175
+ - **Published by:** [Outlier-Ai](https://huggingface.co/Outlier-Ai)
176
+ - **Benchmark sprint:** `OUTLIER-V17-MAC-ONLY-DAY32-001` (2026-04-30)
177
 
178
  ## License
179
 
180
+ Apache 2.0 — inherited from `google/gemma-4-26b-a4b-it`.