How to use from
Docker Model Runner
docker model run hf.co/shafire/Zero-Gemma4-E4B-OpenZero-GGUF:F16
Quick Links

OpenZero Zero model family

Zero OpenZero AI model

ZERO Gemma 4 E4B OpenZero — Standalone Compact Agentic GGUF

COMPACT ZERO. FULL STANDALONE MODEL. ONE DOWNLOAD.
Local research, coding and autonomous workflows without adapter setup.

GGUF Gemma4 CPU OpenZero

Zero Gemma 4 E4B OpenZero is a standalone, merged GGUF model for compact local AI deployments. The trained OpenZero weights are already fused into the model. There is no separate LoRA adapter and no second base-model download.

Small enough to run locally. Sharp enough to be Zero.

Download this model

File Size Best for
Zero-Gemma4-E4B-OpenZero-Q5_K_M-F16-Merged.gguf 5.46 GiB Recommended one-file release for local coding, research and agents
  • Standalone model: yes
  • Separate adapter required: no
  • Separate base model required: no
  • llama.cpp compatible: yes
  • OpenZero compatible: yes
  • CPU generation tested: yes

The file retains the Q5_K_M base tensors while preserving the 66 trained attention tensors in F16. That keeps the fine-tuned tensors at higher precision without forcing a second lossy quantization pass across the whole model.

What Zero is built for

  • Compact agentic AI: planning, structured execution and verification
  • Coding: debugging, implementation guidance, review and test design
  • Research: careful synthesis, evidence checks and explicit uncertainty
  • Tool workflows: deciding what to inspect, change and verify next
  • Local privacy: CPU-friendly inference without a hosted model dependency
  • OpenZero: OpenAI-compatible local serving for autonomous systems

Run with llama.cpp

llama-cli \
  -m Zero-Gemma4-E4B-OpenZero-Q5_K_M-F16-Merged.gguf \
  --jinja -c 8192 -t 8

Start an OpenAI-compatible endpoint for OpenZero:

llama-server \
  -m Zero-Gemma4-E4B-OpenZero-Q5_K_M-F16-Merged.gguf \
  --jinja -c 8192 -t 8 \
  --host 127.0.0.1 --port 8080

Use http://127.0.0.1:8080/v1 as the local OpenAI-compatible API base.

Run with Ollama

Create Modelfile beside the GGUF:

FROM ./Zero-Gemma4-E4B-OpenZero-Q5_K_M-F16-Merged.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.95
PARAMETER num_ctx 8192
ollama create zero-gemma4 -f Modelfile
ollama run zero-gemma4

Real CPU benchmark

Measured locally with llama-bench from llama.cpp b10107:

Hardware / test Prompt processing Token generation
Intel Core i7-2600, 4C/8T, CPU-only, 8 threads, pp64 / tg16 2.70 tok/s 2.37 tok/s

This old-CPU result is a reproducible deployment reference, not a universal speed claim. Modern CPUs and GPU offload should perform differently.

Verified release

  • Base: unsloth/gemma-4-E4B-it
  • Full fine-tuning run: 2,033 curated OpenZero examples
  • Train / validation split: 1,972 / 61
  • Final reported train loss: 1.66231323
  • Validation loss at step 50: 1.287308
  • Validation mean token accuracy at step 50: 0.681814
  • Trainable LoRA parameters: 2,269,184
  • Fusion: 66 trained tensors merged; 720 tensors written
  • SHA-256: 84fd62ff6c5f0abe14dd2c6135e56800df4bc4a0b9d4cd8d9f26c36b28aa190b
  • CPU load and text-generation smoke test: PASS

The training material is already represented in the merged weights. Users do not need the dataset, the training archive or a LoRA adapter to run this model.

Practical notes

  • Start with an 8K context on a 16 GiB system and increase it only after measuring available memory.
  • This release is text-only. A multimodal projector is not included or required.
  • Tool execution is provided by the surrounding OpenZero or agent runtime.
  • The 512-token fine-tuning window strengthened targeted behavior; it does not redefine all long-context behavior inherited from the base.
  • Validate high-stakes outputs independently.

OpenZero

Zero Gemma is the compact member of the Zero model family: local-first, agent-oriented and built to verify before it boasts.

Research. Code. Act. Verify.

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

16-bit

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

Model tree for shafire/Zero-Gemma4-E4B-OpenZero-GGUF

Quantized
(18)
this model

Collection including shafire/Zero-Gemma4-E4B-OpenZero-GGUF