How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf MonsieurTapir/gemma-4-E2B-it-qat-mobile-GGUF:Q2_K_MIX
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 "MonsieurTapir/gemma-4-E2B-it-qat-mobile-GGUF:Q2_K_MIX" \
  --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"
Quick Links

gemma-4-E2B-it-qat-mobile — GGUF (GPU-friendly)

GGUF of Google's gemma-4 E2B QAT-mobile checkpoint using only tensor types with GPU kernels in llama.cpp. Quantization mirrors the checkpoint's own per-module QAT bit-map (quantization_config): attention and layers 0–14 MLPs → Q4_0, 2-bit-trained modules (remaining MLPs, token_embd, output) → Q2_K, per-layer gates → Q8_0. SRQ activation scales are dropped (not representable in GGUF).

wikitext-2 fidelity vs the bf16 QAT reference: PPL 88.3 (ref 80.6), mean KLD 0.20 — comparable to TQ2_0-based packs, without the CPU-only ternary types.

Downloads last month
714
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for MonsieurTapir/gemma-4-E2B-it-qat-mobile-GGUF

Quantized
(8)
this model