Run this model with HF Jobs
Run mlx-community/gemma-4-e2b-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-e2b-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-e2b-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-e2b-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-5bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/gemma-4-e2b-5bit --local-dir gemma-4-e2b-5bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download generation_config.json from mlx-community/gemma-4-e2b-5bit: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/mlx-community/gemma-4-e2b-5bit/resolve/main/generation_config.json
- Command line
-
hf download hf://mlx-community/gemma-4-e2b-5bit/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/mlx-community/gemma-4-e2b-5bit/resolve/main/generation_config.json
181 Bytes
| { | |
| "bos_token_id": 2, | |
| "do_sample": true, | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "temperature": 1.0, | |
| "top_k": 64, | |
| "top_p": 0.95, | |
| "transformers_version": "5.5.0.dev0" | |
| } | |