How to use from the
Use from the
MLX library
# Download the model from the Hub
pip install huggingface_hub[hf_xet]

hf download mlx-community/gemma-4-e2b-bf16 --local-dir gemma-4-e2b-bf16

mlx-community/gemma-4-e2b-bf16

This model was converted to MLX format from google/gemma-4-e2b using mlx-vlm version 0.4.3. Refer to the original model card for more details on the model.

Use with mlx

pip install -U mlx-vlm
python -m mlx_vlm.generate --model mlx-community/gemma-4-e2b-bf16 --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
Downloads last month
52
Safetensors
Model size
5B params
Tensor type
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including mlx-community/gemma-4-e2b-bf16