Text Generation
MLX
Safetensors
gemma4
4-bit precision
4bit
apple-silicon
chat
conversational
edge-ai
function-calling
gemma
gemma-4
instruct
local-llm
m1
m2
m3
m4
mac
mac-mini
mac-studio
macbook-air
macbook-pro
macos
metal
mixture-of-experts
mlx-lm
mmlu-verified
Mixture of Experts
multilingual
no-cloud
offline
on-device
outlier
outlier-app
private
private-ai
quantized
reasoning
thinking
tool-use
Eval Results (legacy)
Instructions to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Outlier-Ai/Outlier-Quick-26B-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Outlier-Ai/Outlier-Quick-26B-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Outlier-Ai/Outlier-Quick-26B-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Outlier-Ai/Outlier-Quick-26B-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Outlier-Ai/Outlier-Quick-26B-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Outlier-Ai/Outlier-Quick-26B-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Outlier-Ai/Outlier-Quick-26B-MLX-4bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Outlier-Ai/Outlier-Quick-26B-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Outlier-Ai/Outlier-Quick-26B-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Outlier-Ai/Outlier-Quick-26B-MLX-4bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Outlier-Ai/Outlier-Quick-26B-MLX-4bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
chore(cards): optimize tags + README for discoverability (2026-05-03)
Browse files
README.md
CHANGED
|
@@ -1,72 +1,180 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
-
|
|
|
|
| 4 |
tags:
|
| 5 |
-
- mlx
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# Outlier Quick
|
| 16 |
|
| 17 |
-
|
| 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
|
| 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 |
-
|
| 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 |
-
|
| 34 |
|
| 35 |
-
|
| 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 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
-
##
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
model
|
| 58 |
-
|
|
|
|
| 59 |
```
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
## Provenance
|
| 62 |
|
| 63 |
-
- Source
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
-
|
| 67 |
|
| 68 |
## License
|
| 69 |
|
| 70 |
-
Apache 2.0 —
|
| 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`.
|
|
|
|
|
|