---
title: gemma-4-31b-5bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-31b-5bit"
md_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-31b-5bit.md"
repository: mlx-community/gemma-4-31b-5bit
last_updated: 2026-04-03
license: apache-2.0
pipeline_tag: image-text-to-text
tasks:
  - image-text-to-text
model_type:
  - gemma4
architectures:
  - Gemma4ForConditionalGeneration
base_model:
  - google/gemma-4-31b
base_model_relation: quantized
parameters: 6.3B
tensor_type:
  - U32
  - BF16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 25
stars: 0
tags:
  - mlx
---

# gemma-4-31b-5bit

> gemma-4-31b-5bit - mlx-community 在 ModelScope 开源的模型。mlx-community/gemma-4-31b-5bit

mlx-community/gemma-4-31b-5bit 是 ModelScope 魔搭社区上的 6.3B 参数image-text-to-text模型，采用 apache-2.0 许可，基于 google/gemma-4-31b 构建。

- **Repository**: mlx-community/gemma-4-31b-5bit
- **License**: apache-2.0
- **Tasks**: image-text-to-text
- **Parameters**: 6.3B
- **Base model**: google/gemma-4-31b
- **Tags**: mlx
- **Downloads**: 25
- **Stars**: 0
- **Last updated**: 2026-04-03

Source: https://www.modelscope.cn/models/mlx-community/gemma-4-31b-5bit

---

# mlx-community/gemma-4-31b-5bit

This model was converted to MLX format from [`google/gemma-4-31b`](https://huggingface.co/google/gemma-4-31b)
using mlx-vlm version **0.4.3**.
Refer to the [original model card](https://huggingface.co/google/gemma-4-31b) for more details on the model.

## Use with mlx

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

```bash
python -m mlx_vlm.generate --model mlx-community/gemma-4-31b-5bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
```
