Gemma 4
Collection
88 items โข Updated โข 150
Run mlx-community/gemma-4-e4b-4bit 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:
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/gemma-4-e4b-4bit. 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.
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/gemma-4-e4b-4bit 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.
How to use mlx-community/gemma-4-e4b-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/gemma-4-e4b-4bit --local-dir gemma-4-e4b-4bit
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.
pip install -U mlx-vlm
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>
4-bit