Instructions to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Omega-Factory/CellGemma-E4B-Turbo-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Omega-Factory/CellGemma-E4B-Turbo-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
- Ollama
How to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with Ollama:
ollama run hf.co/Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with Docker Model Runner:
docker model run hf.co/Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
- Lemonade
How to use Omega-Factory/CellGemma-E4B-Turbo-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Omega-Factory/CellGemma-E4B-Turbo-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CellGemma-E4B-Turbo-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
CellGemma E4B Turbo GGUF โ compressed
See the Omega Factory release page for this model.
A smaller build of google/cellgemma-e4b, with measured and disclosed quality costs.
Base revision: 6212145e0131d3744171739ea5232afc6aaa7c76.
How this build was derived
This build was produced by structurally pruning feed-forward layers of the base dense model and then quantising the result.
The Hub's base_model_relation field accepts only adapter, finetune, merge, quantized; none of them means pruned, so it is set to quantized as the closest accepted value and the full derivation is stated here instead.
Primary-build results were measured on CellGemma-E4B-Turbo-Q4_K_M.gguf, sha256 6a23293fe8773ff2fdf1d4e1182c762b88e9c8957e186867f3e06e54e81b4905.
Exact artifact size: 6795101184 bytes.
What you get
Size on disk: 15.48 GB โ 6.80 GB (56.1% smaller). Memory: Not measured โ Not measured. Fits on: Not qualified โ Not qualified. Format: GGUF BF16 โ GGUF Q4_K_M.
Hardware & VRAM Guide
| Quant Level | Est. Disk Size | Target VRAM (Inference) | Recommended GPU Class |
|---|---|---|---|
| GGUF Q4_K_M (this build) | ~6.80 GB | Not measured | Not qualified |
| Base Model (GGUF BF16) | ~15.48 GB | Not measured | Not qualified |
Artifact size is disk usage, not a measured VRAM requirement. Runtime memory and the KV cache depend on architecture, backend, batch settings, and context length. Validate actual deployment with peak-memory profiling.
Precision & Accuracy Matrix
| Variant | Disk size | Compression | ARC-MC | GSM8K | MATH-500 | domain_cellgemma_decoder_fidelity | domain_cellgemma_deg_validity | Status | SHA-256 |
|---|---|---|---|---|---|---|---|---|---|
| Base-BF16 | 15.48 GB | 1.00x | โ | โ | โ | 100.00% (+0.00 pp) | 100.00% (+0.00 pp) | Baseline Ground Truth | 497ee2f326bdbe92058ff68d51f8440b6446b0e3adcadac4ab9d6fa01bfa94ad |
| Q8_0 | 7.73 GB | 2.00x | โ | โ | โ | 90.00% (-10.00 pp) | 90.00% (-10.00 pp) | Near-Lossless | 04d7f94c4ded5a544333f211f1a32a9ccc7433963d5a324517089560d45c5e10 |
| Q4_K_M (recommended) | 6.80 GB | 2.28x | โ | โ | โ | 89.50% (-10.50 pp) | 89.50% (-10.50 pp) | Recommended | 6a23293fe8773ff2fdf1d4e1182c762b88e9c8957e186867f3e06e54e81b4905 |
| Q2_K | 6.12 GB | 2.53x | โ | โ | โ | 90.00% (-10.00 pp) | 90.00% (-10.00 pp) | Constrained Edge | fd7c9ab26881ce6ae49c49e44efda97f265df0eac7b3fb34cd36ddaefe2a8ce9 |
Detailed Item-Level Contingency & Flips (McNemar)
| Variant | Category | Quant correct | Base correct | Total | Broke | Fixed | Net delta |
|---|---|---|---|---|---|---|---|
| Q4_K_M | domain_cellgemma_decoder_fidelity | 179 | 200 | 200 | 21 | 0 | -10.50 pp |
| Q4_K_M | domain_cellgemma_deg_validity | 179 | 200 | 200 | 21 | 0 | -10.50 pp |
| Q8_0 | domain_cellgemma_decoder_fidelity | 180 | 200 | 200 | 20 | 0 | -10.00 pp |
| Q8_0 | domain_cellgemma_deg_validity | 180 | 200 | 200 | 20 | 0 | -10.00 pp |
| Q2_K | domain_cellgemma_decoder_fidelity | 180 | 200 | 200 | 20 | 0 | -10.00 pp |
| Q2_K | domain_cellgemma_deg_validity | 180 | 200 | 200 | 20 | 0 | -10.00 pp |
What it costs you
Lower than base:
| capability | base | this build | change | 95% CI |
|---|---|---|---|---|
| domain_cellgemma_decoder_fidelity | 100.00% | 89.50% | -10.50 pp | [-14.76, -6.24] |
| domain_cellgemma_deg_validity | 100.00% | 89.50% | -10.50 pp | [-14.76, -6.24] |
Unchanged within measurement error:
| capability | base | this build | change | 95% CI |
|---|---|---|---|---|
| none | โ | โ | โ | โ |
Higher than base on one run (not replicated):
| capability | base | this build | change | 95% CI |
|---|---|---|---|---|
| none | โ | โ | โ | โ |
Not measured / not published:
| capability | why no number is published |
|---|---|
| none | โ |
Honest notes
- This is compression, not improvement; no capability is added.
- A change inside the confidence interval is unresolved, not proof of no change.
Quickstart & How to Run
huggingface-cli download Omega-Factory/CellGemma-E4B-Turbo-GGUF CellGemma-E4B-Turbo-Q4_K_M.gguf --local-dir .
llama-cli -m CellGemma-E4B-Turbo-Q4_K_M.gguf
llama-server -m CellGemma-E4B-Turbo-Q4_K_M.gguf
ollama run hf.co/Omega-Factory/CellGemma-E4B-Turbo-GGUF
Model Architecture Specifications
| Parameter | Value |
|---|---|
| Architecture | Gemma 4 E4B Dense (PLE) |
| Layers | 42 (5:1 sliding-512 / global) |
| FFN Width | 10,240 -> 8,704 (QK_K=256 aligned) |
| Vocabulary | 282,240 (gene-extended) |
Recommended Sampling Parameters
| Parameter | Value |
|---|---|
| Temperature | 0 |
| Seed | 42 |
License and Attribution
Base model licence: apache-2.0.
Not included
No claim is made that lost capability can be recovered.
Contact / reporting an issue
Report issues via the release page, Omega Factory, or the Hugging Face organization.
Included files
| File | Role | Format | Exact size (bytes) | SHA-256 |
|---|---|---|---|---|
CellGemma-E4B-Turbo-Q4_K_M.gguf |
primary | GGUF Q4_K_M | 6,795,101,184 | 6a23293fe8773ff2fdf1d4e1182c762b88e9c8957e186867f3e06e54e81b4905 |
CellGemma-E4B-Turbo-Q8_0.gguf |
quant_rung | GGUF Q8_0 | 7,730,955,264 | 04d7f94c4ded5a544333f211f1a32a9ccc7433963d5a324517089560d45c5e10 |
CellGemma-E4B-Turbo-Q2_K.gguf |
quant_rung | GGUF Q2_K | 6,122,456,064 | fd7c9ab26881ce6ae49c49e44efda97f265df0eac7b3fb34cd36ddaefe2a8ce9 |
- Downloads last month
- 40
2-bit
4-bit
8-bit