Run this model with HF Jobs
Run mlx-community/gemma-4-e4b-5bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/gemma-4-e4b-5bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/gemma-4-e4b-5bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use mlx-community/gemma-4-e4b-5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/gemma-4-e4b-5bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/gemma-4-e4b-5bit --local-dir gemma-4-e4b-5bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from mlx-community/gemma-4-e4b-5bit: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/mlx-community/gemma-4-e4b-5bit/resolve/main/README.md
- Command line
-
hf download hf://mlx-community/gemma-4-e4b-5bit/README.md
-
curl -L -o README.md https://huggingface.co/mlx-community/gemma-4-e4b-5bit/resolve/main/README.md
687 Bytes
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-e4b
mlx-community/gemma-4-e4b-5bit
This model was converted to MLX format from google/gemma-4-e4b
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-e4b-5bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>