Run this model with HF Jobs

Run mlx-community/DiffuCoder-7B-cpGRPO-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:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/mlx-community/DiffuCoder-7B-cpGRPO-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.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/DiffuCoder-7B-cpGRPO-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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/mlx-community/DiffuCoder-7B-cpGRPO-4bit. 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.

🥲 Failed to load the model

#1
by desmond108 - opened
Using LMStudio on M1 Mac Mini:

🥲 Failed to load the model

Failed to load model

Error when loading model: ValueError: Model type Dream not supported.
MLX Community org

You have to wait for the new MLX-LM update and that LM Studio adapts it into the new version too.

Thanks mate. Am currently running 0.3.17.

Hi I`ve tried to use https://github.com/ml-explore/mlx-lm/pull/270 and had an error with shape:

970 # Prepare max length
--> 971 input_length = prompt.shape[1]
972 if generation_config.max_new_tokens is not None:
973 generation_config.max_length = generation_config.max_new_tokens + input_length

  • when i fix the hape to [1] the responce was empty.
MLX Community org

@sdfgtr455yytrers thanks for trying my PR, ill continue optmimizing the inference, its currently really slow. you would have to use the "python -m generate_diffusion" command and eddit the prompt inside the file too, once i get this running nice, ill add it into generate itself.

Sign up or log in to comment