Run this model with HF Jobs

Run mlx-community/Qwen4-35B-A3B-3bit 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/Qwen4-35B-A3B-3bit. 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/Qwen4-35B-A3B-3bit 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/Qwen4-35B-A3B-3bit. 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.

mlx-community/Qwen4-35B-A3B-3bit

This model mlx-community/Qwen4-35B-A3B-3bit was converted to MLX format from Qwen/Qwen4-35B-A3B using mlx-lm with ml-explore/mlx-lm#2141. Refer to the original model card for more details on the model.

This conversion takes text and image input. The MTP head is not included, and video input is not supported. For text only, use mlx-community/Qwen4-35B-A3B-3bit-text.

The bf16 weights were quantized to 3-bit affine with group size 64 (3.6 bits per weight). The router and the vision encoder stay in bf16. Peak memory was about 26 GB in a short image test on an M3 Ultra.

The tokenizer is the standard Hugging Face tokenizer with the Jinja chat template from tokenizer-compat in the original repository, so it does not need trust_remote_code.

Tested with the branch of that pull request and MLX 0.32.5.

Use with mlx

pip install -U git+https://github.com/ml-explore/mlx-lm.git@refs/pull/2141/head
mlx_lm.generate --model mlx-community/Qwen4-35B-A3B-3bit --prompt "hello"

For image input, put <|vision_start|><|image_pad|><|vision_end|> in the prompt for each image:

mlx_lm.generate --model mlx-community/Qwen4-35B-A3B-3bit --image photo.jpg \
  --prompt "<|vision_start|><|image_pad|><|vision_end|>Describe this image."

mlx_lm.server takes images as image_url parts of the chat messages.

Reasoning effort defaults to high. Pass --chat-template-config '{"reasoning_effort": "low"}' to change it, or --chat-template-config '{"enable_thinking": false}' to turn reasoning off.

Downloads last month
-
Safetensors
Model size
56B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

3-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mlx-community/Qwen4-35B-A3B-3bit

Quantized
(34)
this model

Collection including mlx-community/Qwen4-35B-A3B-3bit