Cerberus-E4B Banner

Cerberus-E4B-GGUF: Multimodal & Multi-Task Reasoning

This repository provides official quantized GGUF models for Cerberus-E4B, an open-weights multi-task reasoning, agentic and multimodal model fine-tuned on top of Google's gemma-4-E4B-it architecture (~7.5B total parameters with frozen vision and audio towers, 4B active language backbone).

Looking for the original adapter weights?
πŸ‘‰ Cerberus-E4B


Available Files & Quantizations

File Size VRAM Req. Recommended Use Case
cerberus-q4_k_m.gguf 4.97 GB 6–8 GB Recommended (Best balance of speed, size, and perplexity)
cerberus-q5_k_m.gguf 5.37 GB 8 GB Higher precision math and code generation
cerberus-q8_0.gguf 7.48 GB 12 GB+ Near-lossless 8-bit quantization
cerberus-bf16.gguf 14.02 GB 16 GB+ Uncompressed 16-bit floating point master
mmproj-cerberus-bf16.gguf 991.5 MB ~1 GB Multimodal Projector (Vision ViT 280 tokens + Audio Conformer 16kHz)
mmproj-cerberus-f16.gguf 990.4 MB ~1 GB Multimodal Projector (Float16 variant for specific backends)

Benchmark Highlights (vs. Base Model)

Benchmark Base Model (Gemma-4-E4B-it) Cerberus-E4B Delta (vs. Base) Generation Mode
MATH-500 43.3% 60.0% +16.7% Thinking Mode (<thought>)
MATH-500 35.0% 48.0% +13.0% Instant Mode (Direct calculation)
MMLU-Redux 62.0% 63.0% +1.0% Multi-discipline academic knowledge
IFEval 90.8% 90.5% Parity (~90%) Complex system constraint following

How to Run

1. In llama.cpp CLI (with Vision or Audio)

# Vision (Image understanding):
llama-mtmd-cli \
  -m cerberus-q4_k_m.gguf \
  --mmproj mmproj-cerberus-bf16.gguf \
  --image sample.jpg \
  -c 8192 \
  -p "Describe the details in this image."

# Audio (Speech recognition / question answering):
llama-mtmd-cli \
  -m cerberus-q4_k_m.gguf \
  --mmproj mmproj-cerberus-bf16.gguf \
  --audio speech.wav \
  -c 8192 \
  -p "Transcribe the audio and answer the question."

2. In llama.cpp Web Server (Browser Chat UI)

llama-server \
  -m cerberus-q4_k_m.gguf \
  --mmproj mmproj-cerberus-bf16.gguf \
  -ngl 99 \
  -c 8192 \
  --port 8888

Open http://localhost:8888 in your browser. You can drag and drop images and audio files directly into the chat interface!

3. In Ollama

Because this repository contains an official Modelfile, you can run it directly:

# Direct run from Hugging Face:
ollama run hf.co/rrlabs-ai/Cerberus-E4B-GGUF

Or build a local model using the provided Modelfile:

ollama create cerberus -f Modelfile
ollama run cerberus

4. In LM Studio

  1. Place both cerberus-q4_k_m.gguf and mmproj-cerberus-bf16.gguf in your LM Studio models folder.
  2. Select cerberus-q4_k_m.gguf.
  3. In the sidebar under Vision Adapter, choose mmproj-cerberus-bf16.gguf.

5. In rrchat (Recommended Mobile & Web UI)

Cerberus-E4B-GGUF is the ideal model to power rrchat:

Use your local PC's llama.cpp from your phone. Clean mobile-ready AI chat interface with vision, web search, and privacy.

  • 🌐 Project Repository: github.com/leftik1/rrchat
  • πŸš€ How to run:
    1. Start llama-server on your PC with Cerberus GGUF and mmproj:
      llama-server -m cerberus-q4_k_m.gguf --mmproj mmproj-cerberus-bf16.gguf -ngl 99 -c 8192 --port 8888 --host 0.0.0.0
      
    2. Open rrchat on your smartphone or browser. You can snap and upload photos from your phone camera for instant multimodal answers, search the web, and chat with 100% privacy!

Recommended Sampling Settings

  • Thinking Mode (<|channel>thought):
    • Use temperature 0.8 (or 1.0) with top_p: 0.95, top_k: 64.
    • Enable the DRY sampler (--dry-multiplier 0.8 --dry-base 1.75 --dry-allowed-length 2) in llama.cpp to ensure long thought traces do not loop.
  • Instant Mode / Code / Tool Calling:
    • Use pure greedy decoding (temperature: 0.0) for maximum determinism and structured JSON fidelity.

Dataset Attribution & Acknowledgements


License

Released under the Apache-2.0 License. Use of the underlying model remains subject to the Gemma Terms of Use.

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

4-bit

5-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for rrchat/Cerberus-E4B-GGUF

Quantized
(426)
this model

Space using rrchat/Cerberus-E4B-GGUF 1

Collection including rrchat/Cerberus-E4B-GGUF