Instructions to use MichaelAnthony/gemma4-e2b-Snowfox-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 MichaelAnthony/gemma4-e2b-Snowfox-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 MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MichaelAnthony/gemma4-e2b-Snowfox-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 MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with Ollama:
ollama run hf.co/MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with Docker Model Runner:
docker model run hf.co/MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
- Lemonade
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.gemma4-e2b-Snowfox-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
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 MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MichaelAnthony/gemma4-e2b-Snowfox-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M
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 "MichaelAnthony/gemma4-e2b-Snowfox-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
docs: correct GGUF model card
Browse files
README.md
CHANGED
|
@@ -1,48 +1,64 @@
|
|
| 1 |
---
|
| 2 |
base_model: google/gemma-4-E2B-it-qat-q4_0-unquantized
|
| 3 |
-
license: gemma
|
| 4 |
library_name: llama.cpp
|
|
|
|
| 5 |
tags:
|
| 6 |
- gemma4
|
| 7 |
- gguf
|
|
|
|
| 8 |
- qat-derived
|
| 9 |
-
- peft
|
| 10 |
-
- rocm
|
| 11 |
- snowfox
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
`gemma4-e2b-Snowfox`
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
-
|
|
| 25 |
-
| --- | ---
|
| 26 |
-
|
|
| 27 |
-
| Q4_K_M | `gemma4-e2b-Snowfox-Q4_K_M.gguf` | 3,416,120,032 bytes | `f4a38a2a95cefbf91659c355aa80410c9e0b307072c3dc7deca842b2d76d613a` |
|
| 28 |
-
| Q6_K | `gemma4-e2b-Snowfox-Q6_K.gguf` | 3,829,835,488 bytes | `e7d2a0c8cc168db9652799d3bfd8198563dc821bae424b4b8ed1a767bbc51537` |
|
| 29 |
-
| Q8_0 | `gemma4-e2b-Snowfox-Q8_0.gguf` | 4,947,414,752 bytes | `44e7f9dd879f0ae2b18f57f78819e147783b4795738b3d3321f6e20542fa6a68` |
|
| 30 |
-
| Multimodal projector | `gemma4-e2b-Snowfox-BF16-mmproj.gguf` | 986,833,408 bytes | `cbc8946d8e6a85714c7f4868302ccd7bf716301b47a5efefe5850eb5348b0a3e` |
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Lineage and validation
|
| 35 |
|
| 36 |
-
- Base
|
| 37 |
- Pinned base revision: `6befbaca7398925921802abd1f277b495b78b738`
|
| 38 |
-
-
|
| 39 |
-
-
|
| 40 |
-
- Native tool-call validity: `1.0`
|
| 41 |
-
- Contract success: `0.9936305732484076`
|
| 42 |
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
## License
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
base_model: google/gemma-4-E2B-it-qat-q4_0-unquantized
|
|
|
|
| 3 |
library_name: llama.cpp
|
| 4 |
+
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- gemma4
|
| 7 |
- gguf
|
| 8 |
+
- llama.cpp
|
| 9 |
- qat-derived
|
|
|
|
|
|
|
| 10 |
- snowfox
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Gemma 4 E2B SnowFox GGUF
|
| 14 |
|
| 15 |
+
This is the GGUF distribution of `gemma4-e2b-Snowfox`: a language-only SnowFox
|
| 16 |
+
LoRA merge based on Google's Gemma 4 E2B instruction QAT-derived checkpoint.
|
| 17 |
+
The image and audio towers were frozen during SnowFox fine-tuning. The post-merge
|
| 18 |
+
weights were exported to the four GGUF quantizations below; they were not
|
| 19 |
+
separately re-QAT calibrated.
|
| 20 |
|
| 21 |
+
## Download exactly one LLM quantization, plus the shared projector
|
| 22 |
|
| 23 |
+
| LLM file | Size | SHA-256 |
|
| 24 |
+
| --- | ---: | --- |
|
| 25 |
+
| `gemma4-e2b-Snowfox-Q4_0.gguf` | 3,349,516,000 bytes | `105e63469457449dcdc147785c4317b7891a9aafaec2e40bdcbc1b16c6fd8f3b` |
|
| 26 |
+
| `gemma4-e2b-Snowfox-Q4_K_M.gguf` | 3,416,120,032 bytes | `f4a38a2a95cefbf91659c355aa80410c9e0b307072c3dc7deca842b2d76d613a` |
|
| 27 |
+
| `gemma4-e2b-Snowfox-Q6_K.gguf` | 3,829,835,488 bytes | `e7d2a0c8cc168db9652799d3bfd8198563dc821bae424b4b8ed1a767bbc51537` |
|
| 28 |
+
| `gemma4-e2b-Snowfox-Q8_0.gguf` | 4,947,414,752 bytes | `44e7f9dd879f0ae2b18f57f78819e147783b4795738b3d3321f6e20542fa6a68` |
|
| 29 |
|
| 30 |
+
For a multimodal-capable llama.cpp-family runtime, also download the shared
|
| 31 |
+
projector:
|
| 32 |
|
| 33 |
+
| Projector file | Size | SHA-256 |
|
| 34 |
+
| --- | ---: | --- |
|
| 35 |
+
| `gemma4-e2b-Snowfox-BF16-mmproj.gguf` | 986,833,408 bytes | `cbc8946d8e6a85714c7f4868302ccd7bf716301b47a5efefe5850eb5348b0a3e` |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
`Q4_K_M` is the usual balanced default. Use a recent runtime that supports
|
| 38 |
+
Gemma 4 E2B and its multimodal projector. This repository intentionally holds
|
| 39 |
+
all four verified downloadable quantizations in one GGUF-only package.
|
| 40 |
+
|
| 41 |
+
Example download:
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
hf download MichaelAnthony/gemma4-e2b-Snowfox-GGUF \
|
| 45 |
+
gemma4-e2b-Snowfox-Q4_K_M.gguf \
|
| 46 |
+
gemma4-e2b-Snowfox-BF16-mmproj.gguf \
|
| 47 |
+
--local-dir ./gemma4-e2b-Snowfox-GGUF
|
| 48 |
+
```
|
| 49 |
|
| 50 |
## Lineage and validation
|
| 51 |
|
| 52 |
+
- Base: [`google/gemma-4-E2B-it-qat-q4_0-unquantized`](https://huggingface.co/google/gemma-4-E2B-it-qat-q4_0-unquantized)
|
| 53 |
- Pinned base revision: `6befbaca7398925921802abd1f277b495b78b738`
|
| 54 |
+
- Release claim: QAT-derived; the SnowFox post-LoRA weights were **not** newly QAT-calibrated.
|
| 55 |
+
- Internal release gates: required-field accuracy `0.9984962406015038`, strict JSON validity `1.0`, native tool-call validity `1.0`, and contract success `0.9936305732484076`.
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
Those figures are the original held-out SnowFox validation results, not an
|
| 58 |
+
inference benchmark for every GGUF/runtime combination.
|
| 59 |
|
| 60 |
## License
|
| 61 |
|
| 62 |
+
Gemma 4 is Apache-2.0. This derivative package uses the Apache-2.0 license
|
| 63 |
+
declared by the pinned base model. See [`LICENSE`](LICENSE) and [`NOTICE.md`](NOTICE.md)
|
| 64 |
+
for the lineage and modification notice.
|