Instructions to use mlx-community/gemma-4-e2b-it-5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/gemma-4-e2b-it-5bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir gemma-4-e2b-it-5bit mlx-community/gemma-4-e2b-it-5bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
metadata
library_name: mlx
license: apache-2.0
license_link: https://ai.google.dev/gemma/docs/gemma_4_license
pipeline_tag: any-to-any
tags:
- mlx
base_model: google/gemma-4-e2b-it
mlx-community/gemma-4-e2b-it-5bit
This model was converted to MLX format from google/gemma-4-e2b-it
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-it-5bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>