---
title: gemma-4-12B-5bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-12B-5bit"
md_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-12B-5bit.md"
repository: mlx-community/gemma-4-12B-5bit
last_updated: 2026-06-05
license: apache-2.0
pipeline_tag: any-to-any
tasks:
  - any-to-any
model_type:
  - gemma4_unified
architectures:
  - Gemma4UnifiedForConditionalGeneration
base_model:
  - google/gemma-4-12B
base_model_relation: quantized
parameters: 3.0B
tensor_type:
  - U32
  - BF16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 13
stars: 0
tags:
  - mlx
---

# gemma-4-12B-5bit

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

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

- **Repository**: mlx-community/gemma-4-12B-5bit
- **License**: apache-2.0
- **Tasks**: any-to-any
- **Parameters**: 3.0B
- **Base model**: google/gemma-4-12B
- **Tags**: mlx
- **Downloads**: 13
- **Stars**: 0
- **Last updated**: 2026-06-05

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

---

# mlx-community/gemma-4-12B-5bit

This model was converted to MLX format from [`google/gemma-4-12B`](https://huggingface.co/google/gemma-4-12B)
using mlx-vlm version **0.6.0**.
Refer to the [original model card](https://huggingface.co/google/gemma-4-12B) 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-12B-5bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
```
