---
title: gemma-4-e4b-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-e4b-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/gemma-4-e4b-4bit.md"
repository: mlx-community/gemma-4-e4b-4bit
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: 1.7B
tensor_type:
  - U32
  - BF16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 208
stars: 0
tags:
  - mlx
---

# gemma-4-e4b-4bit

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

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

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

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

---

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

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-4bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
```
