medgemma-2-E4B-it
A 4B (effective size) model by Google that uses tools such as web search, can think before answering and reads images.
Tools Thinking Vision- Downloads
- 17,260 downloads last month
- Likes
- 6 likes
- Uploaded
- Uploaded 3 Dec 2026
Overview
From google/medgemma-2-E4B-it- Parameters
- 7,996,156,490 (8B)
- Context length
- 131,072 tokens
- Architecture
- gemma4
- Task
- any-to-any
- Licence
- health-ai-developer-foundations
- Released
- 1 Dec 2026
- Last updated
- 3 Dec 2026
- Access
- Gated: accept the terms on Hugging Face
This is ggml-org's upload of google/medgemma-2-E4B-it.
Read the licence: health-ai-developer-foundations
Tools
Uses tools, so web search and the browser work best with it.
Thinking
Can think step by step before it answers.
Vision
Reads images: photos, screenshots, scanned pages.
Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.
| Version | File size | File | SHA-256 |
|---|---|---|---|
| Q4_K_M | 5.65 GB | medgemma-2-E4B-it-Q4_K_M.gguf | |
| Q8_0 | 8.00 GB | medgemma-2-E4B-it-Q8_0.gguf | |
| BF16 | 15.05 GB | medgemma-2-E4B-it-BF16.gguf |
Vision add-on (needed to read images): mmproj-medgemma-2-E4B-it-Q8_0.gguf, 559.9 MB
Papers and data
From google/medgemma-2-E4B-itPapers the model's Hugging Face page links to (the model's own report and papers it cites).
- MedGemma 1.5 Technical ReportarXiv 2604.05081
- Advancing Multimodal Medical Capabilities of GeminiarXiv 2405.03162
- AgentEHR: Advancing Autonomous Clinical Decision-Making via Retrospective SummarizationarXiv 2601.13918
- BioCoder: A Benchmark for Bioinformatics Code Generation with Contextual Pragmatic KnowledgearXiv 2308.16458
- Can Large Language Models Replace Data Scientists in Clinical Research?arXiv 2410.21591
- ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical ReasoningarXiv 2605.20176
MedGemma 2 E4B-it
Run with https://llama.app
llama serve -hf ggml-org/medgemma-2-E4B-it-GGUF:Q8_0
Source models
Files
| Quant | Size | Notes |
|---|---|---|
| BF16 | 15.1 GB | 16-bit precision |
| Q8_0 | 8.00 GB | Near-lossless. All weight matrices at Q8_0 |
| Q4_K_M | 5.65 GB | 4-bit FFN weights with attention and per-layer embedding projections (inp_gate, proj) kept at Q8_0 |
| mmproj (BF16, Q8_0) | 992 / 560 MB | Vision and audio encoders |
Notes
- MedGemma 2 E4B-it is a 7.5B total (4.5B effective) Gemma 4 multimodal model with text, image, and audio input, 42 layers (including 18 shared-KV layers), per-layer input embeddings, and 128K context.
- In
Q4_K_M, active attention projections (attn_) and per-layer embedding projections (inp_gate,proj) are kept at Q8_0, which cuts KL divergence 4.8x without requiring an imatrix. - KL divergence against the BF16 on wikitext-2 (40 x 512 tokens): Q8_0 0.0012 (98.7% same top token), Q4_K_M 0.0265 (92.9% same top token).
Important
This model is automatically converted using https://github.com/ggml-org/convert
More from Google
On Hugging Face
Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.