Views
No views yet
1# Recommended
2ollama pull batiai/gemma4-e2b:q4
3
4# Higher quality
5ollama pull batiai/gemma4-e2b:q6| Tag | Quant | Size | Recommended For |
|---|---|---|---|
:q4 | Q4_K_M | ~2.1 GB | balanced (recommended default) |
:q6 | Q6_K | ~2.8 GB | higher quality, near-lossless |
model.gguf (text tower) and a separate mmproj.gguf that holds both vision and audio encoders together (a single 1411-tensor projector covering image and speech input).| Text-only (default) | Multimodal (opt-in) | |
|---|---|---|
| Files needed | main GGUF only | main GGUF + mmproj-BF16.gguf |
| Capabilities | Q&A, coding, tool calling, agents | + image (OCR, captioning, visual reasoning) + audio (speech understanding) |
ollama pull | ✅ single command | ⚠ Ollama mmproj integration is still rough — use llama.cpp directly |
| Disk / RAM | smaller (no projector weights) | larger (+ ~940 MB) |
| Recommended for | most users (chat, code, agents) | OCR, image / speech understanding |
1# Pick a main model (text tower)
2wget https://huggingface.co/batiai/Gemma-4-E2B-it-GGUF/resolve/main/google-gemma-4-E2B-it-Q4_K_M.gguf
3
4# Get the multimodal projector (vision + audio in one file)
5wget https://huggingface.co/batiai/Gemma-4-E2B-it-GGUF/resolve/main/mmproj-BF16.gguf1llama-server \
2 -m google-gemma-4-E2B-it-Q4_K_M.gguf \
3 --mmproj mmproj-BF16.gguf \
4 -c 32768 --host 127.0.0.1 --port 8080
5
6curl http://127.0.0.1:8080/v1/chat/completions -d '{
7 "messages": [{
8 "role": "user",
9 "content": [
10 {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,..."}},
11 {"type": "text", "text": "What does this show?"}
12 ]
13 }]
14}'1llama-mtmd-cli \
2 -m google-gemma-4-E2B-it-Q4_K_M.gguf \
3 --mmproj mmproj-BF16.gguf \
4 --image ~/Desktop/photo.jpg \
5 -p "describe this image"1llama-mtmd-cli \
2 -m google-gemma-4-E2B-it-Q4_K_M.gguf \
3 --mmproj mmproj-BF16.gguf \
4 --audio ~/Downloads/voice.wav \
5 -p "transcribe and summarize"| File | Quant | Size | Why this only? |
|---|---|---|---|
mmproj-BF16.gguf | BF16 | ~940 MB | The vision + audio projector tensors don't satisfy K-quant block-alignment requirements (108+ tensors require fallback), so Q6_K reliably aborts on this combined projector. BF16 is the only safe choice today — applies to every quantizer of this model. The main text GGUF is unaffected. |
| E2B / E4B | 26B-A4B / 31B | |
|---|---|---|
| Audio support | ✅ | ❌ (vision only) |
| Min RAM | 8 GB+ | 24 GB+ |
| Speed | very fast (small) | slower (larger) |
| Reasoning depth | lower | higher |
| Use case | edge / mobile-class Mac / voice + image | desktop chat + agents |
| BatiAI | Third-party (unsloth, etc.) | |
|---|---|---|
| Source | Quantized directly from official Google weights | Often re-quantized from other GGUFs |
| Compatibility | ✅ Verified on Ollama 0.20+ | ❌ Known issues with Ollama 0.20+ |
| Tested on | Real Mac mini M4 (16 GB) + MacBook Pro M4 Max | Often untested |
| Tool calling | ✅ Verified with BatiFlow's 57 tool functions | Often broken |
| Korean | ✅ Validated | Not tested |
| Multimodal | ✅ Vision + audio mmproj available | Often missing |
| Signing | general.author: BatiAI for provenance | Varies |
| Model | Modalities | Min RAM | Repo |
|---|---|---|---|
| Gemma 4 E2B-it | text + image + audio | 8 GB | this repo |
| Gemma 4 E4B-it | text + image + audio | 8 GB | batiai/Gemma-4-E4B-it-GGUF |
| Gemma 4 26B-A4B-it | text + image / video (no audio) | 24 GB | batiai/Gemma-4-26B-A4B-it-GGUF |
| Gemma 4 31B-it | text + image / video (no audio) | 24 GB | batiai/Gemma-4-31B-it-GGUF |
general.author: BatiAI, general.url: https://flow.bati.ai