Run this model with HF Jobs
Run Shiftedx/Qwen4-35B-A3B-MLX-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/Shiftedx/Qwen4-35B-A3B-MLX-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/Shiftedx/Qwen4-35B-A3B-MLX-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/Shiftedx/Qwen4-35B-A3B-MLX-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.
Instructions to use Shiftedx/Qwen4-35B-A3B-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Shiftedx/Qwen4-35B-A3B-MLX-4bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("Shiftedx/Qwen4-35B-A3B-MLX-4bit") config = load_config("Shiftedx/Qwen4-35B-A3B-MLX-4bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Qwen4-35B-A3B MLX 4-bit
Built from Unsloth's BF16 mirror. All 33 source shard hashes matched Qwen's release.
Language weights use 4-bit affine quantization with group size 64. The PLE n-gram tables use group size 64, and eligible routers use 8-bit affine. The vision tower retains source precision. The conversion checked 1,475 runtime parameter names and shapes. This is an autoregressive pack. Native MTP weights are available in the source checkpoint.
Tested with MLX 0.32.5, Transformers 5.26.0, and MLX-VLM revision bb22412. For the OpenAI-compatible server, apply the included patch to that revision. It forwards the official Qwen4 processor's segment-encoded chat tokens and enables Qwen XML tool calls.
git apply /path/to/qwen4-native-processor.patch
python -m mlx_vlm.server --host 127.0.0.1 --port 18104 \
--model Shiftedx/Qwen4-35B-A3B-MLX-4bit --trust-remote-code --max-kv-size 16384
See SHA256SUMS for the converted shard hashes.
Shiftedx Bench post-publication qualification
This table was generated from the frozen lightweight quant gate after the model weights were published. Categories remain separate; the benchmark does not produce a composite intelligence score.
| Lane | Passed | Accuracy | Mean wall time | Mean decode | Peak active memory |
|---|---|---|---|---|---|
| Quality | 4/10 | 40.0% | 1.00 s | β tok/s | β |
| Long context | 6/15 | 40.0% | 24.52 s | β tok/s | β |
| Tool calling | 6/6 | 100.0% | 1.00 s | β tok/s | β |
| Agentic | 2/2 | 100.0% | 4.37 s | β tok/s | β |
| Vision | 0/4 | 0.0% | 0.95 s | β tok/s | β |
- Tested model revision:
9bdfb2b7165f91b6e407a2bf07dacd8ed8834c64 - Benchmark: Shiftedx Bench v0.5.1
- Context lengths represented: 4,096, 16,384, 65,536, 131,072 prompt tokens; effective tested context: 131,072 tokens
- Runtime contract: MLX 0.32.5 and MLX-VLM bb22412 with the included native Qwen4 tokenizer patch, autoregressive decode, high reasoning effort, 133,120-token server budget, and single-request execution; KV cache
off; MTP depthnot-applicable - Host: Apple M4 Max with 64 GiB unified memory
- Total measured request wall time: 396.27 seconds
- 260,096-token status: not run; it is outside the lightweight quant gate.
Scores are specific to the linked model revision, benchmark revision, runtime contract, and host. Changing weight precision, KV-cache precision, reasoning mode, template, or speculative depth creates a different benchmark candidate.
The benchmark results include one record per case, with the pinned configuration manifests in the same folder. The exact-token adapter used Qwen4's native segment encoder and requested streamed token-usage reports. The larger context budget applied to the isolated benchmark worker. Strict JSON failures included Markdown-fenced output on 9 long-context, 3 quality, 4 vision cases. These cases count as failures in the table.
- Downloads last month
- -
4-bit