Run this model with HF Jobs

Run sugatoray/mlx-gemma-7b-it-q4bits 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 and TRL to fine-tune https://huggingface.co/sugatoray/mlx-gemma-7b-it-q4bits. 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/sugatoray/mlx-gemma-7b-it-q4bits 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/sugatoray/mlx-gemma-7b-it-q4bits. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/sugatoray/mlx-gemma-7b-it-q4bits. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

sugatoray/mlx-gemma-7b-it-q4bits

This model was converted to MLX format from google/gemma-7b-it. Refer to the original model card for more details on the model.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("sugatoray/mlx-gemma-7b-it-q4bits")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Downloads last month
23
Safetensors
Model size
9B params
Tensor type
F16
·
U32
·
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