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

# gemma-4-e4b-6bit

> gemma-4-e4b-6bit - mlx-community 在 ModelScope 开源的模型。mlx-community/gemma-4-e4b-6bit

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

- **Repository**: mlx-community/gemma-4-e4b-6bit
- **License**: apache-2.0
- **Tasks**: any-to-any
- **Parameters**: 2.1B
- **Base model**: google/gemma-4-e4b
- **Tags**: mlx
- **Downloads**: 31
- **Stars**: 0
- **Last updated**: 2026-04-04

Source: https://www.modelscope.cn/models/mlx-community/gemma-4-e4b-6bit

---

# mlx-community/gemma-4-e4b-6bit

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