---
title: medgemma-4b-it-bf16
canonical_url: "https://www.modelscope.cn/models/mlx-community/medgemma-4b-it-bf16"
md_url: "https://www.modelscope.cn/models/mlx-community/medgemma-4b-it-bf16.md"
repository: mlx-community/medgemma-4b-it-bf16
last_updated: 2025-06-09
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - gemma3
architectures:
  - Gemma3ForConditionalGeneration
parameters: 4.1B
tensor_type:
  - BF16
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task vlm/text/emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 330
stars: 0
---

# medgemma-4b-it-bf16

> medgemma-4b-it-bf16 - mlx-community 在 ModelScope 开源的模型。mlx-community/medgemma-4b-it-bf16 This model was converted to MLX format from google/medgemma-4b-it using mlx-vlm version 0.1.27. Refer to the original model card for more details on the model. Use with…

mlx-community/medgemma-4b-it-bf16 是 ModelScope 魔搭社区上的 4.1B 参数text-generation模型，可用 deploy_task vlm/text/emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: mlx-community/medgemma-4b-it-bf16
- **Tasks**: text-generation
- **Parameters**: 4.1B
- **Inference backends**: deploy_task vlm/text/emb, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 330
- **Stars**: 0
- **Last updated**: 2025-06-09

Source: https://www.modelscope.cn/models/mlx-community/medgemma-4b-it-bf16

---

# mlx-community/medgemma-4b-it-bf16
This model was converted to MLX format from [`google/medgemma-4b-it`]() using mlx-vlm version **0.1.27**.
Refer to the [original model card](https://huggingface.co/google/medgemma-4b-it) for more details on the model.
## Use with mlx

```bash
pip install -U mlx-vlm
```

```bash
python -m mlx_vlm.generate --model mlx-community/medgemma-4b-it-bf16 --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
```
