<!-- # hard line break macro for HTML -->

<a id="model-zoo-google-medgemma-1-5-4b-it"></a>

# google/medgemma-1.5-4b-it

<a href="../../plugins/plugins_ecosystem/medgemma_1_5.html" target="_blank">
    <img src="https://img.shields.io/badge/Plugin-medgemma_\_1_\_5-orange" alt="From Plugin">
</a>

#### NOTE
This is a [remotely-sourced model](../remote.md#model-zoo-remote) from the
[medgemma_1_5](../../plugins/plugins_ecosystem/medgemma_1_5.html) plugin, maintained by the community.
It is not part of FiftyOne core and may have special installation requirements.
Please review the plugin documentation and license before use.

MedGemma 1.5 4B is an updated version of the MedGemma 1 4B model. MedGemma is a collection of Gemma 3 variants that are trained for performance on medical text and image comprehension.

**Details**

- Model name: `google/medgemma-1.5-4b-it`
- Model source: [https://huggingface.co/google/medgemma-1.5-4b-it](https://huggingface.co/google/medgemma-1.5-4b-it)
- Model author: Google DeepMind
- Model license: health-ai-developer-foundations ([https://developers.google.com/health-ai-developer-foundations/terms](https://developers.google.com/health-ai-developer-foundations/terms))
- Exposes embeddings? no
- Tags: `VLM, zero-shot`

**Requirements**

- Packages: `huggingface-hub, transformers, torch, torchvision, accelerate`
- CPU support
  - yes
- GPU support
  - yes

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

foz.register_zoo_model_source("https://github.com/harpreetsahota204/medgemma_1_5")

dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)

model = foz.load_zoo_model("google/medgemma-1.5-4b-it")

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
