Run this model with HF Jobs

Run OsaurusAI/Qwen4-35B-A3B-JANGHT3.0 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/OsaurusAI/Qwen4-35B-A3B-JANGHT3.0. 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/OsaurusAI/Qwen4-35B-A3B-JANGHT3.0 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/OsaurusAI/Qwen4-35B-A3B-JANGHT3.0. 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/OsaurusAI/Qwen4-35B-A3B-JANGHT3.0. 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.

Osaurus AI

Runtime: Osaurus v1.0.17 or newer (osaurus.json: required_osaurus_version 1.0.17, model_version 1).

OsaurusAI/Qwen4-35B-A3B-JANGHT3.0

Memory vs. SSD at a Glance

  • Stays in Unified RAM: 12.72 GiB (13.46 GiB with optional DFlash2 drafter enabled) โ€” recommended 16 GB / 24 GB+ Apple Silicon Mac.
  • Stays on SSD (NOT loaded into RAM): 11.92 GiB (20.5B-parameter Engram / PLE n-gram table in isolated 4 KiB-aligned q4/g32 shards, streamed on demand via pread).
  • Total Download / Disk Footprint: 25.64 GiB โ€” ~11.9 GiB larger than actual RAM usage because the Engram/PLE table stays on SSD.

87.56% top-1 agreement and 0.02337 median KL divergence against the BF16 source across 90,600 strictly disjoint held-out positions (2.961 bpw whole-model excluding the SSD-resident Engram/PLE table and drafters).

This is an Apple Silicon JANGHT (mixed Hadamard-128 trellis + Hadamard-32 odd-cubic codebook experts) quantization of Qwen/Qwen4-35B-A3B: a hybrid Gated DeltaNet + QSA block-sparse Vision-Language Mixture-of-Experts model (40 layers, 256 routed experts top-8 + shared expert, 20.5B-parameter SSD-streamed PLE/Engram n-gram table, native 1M-token context, untouched bit-exact BF16 Vision tower, native Multi-Token Prediction with calibrated 4-bit proposal head, bundled RadixArk DFlash2 drafter, and variable reasoning effort off / low / high / xhigh + preserve_thinking).

Memory vs. SSD Footprint

Component Size Where It Lives Notes
Core Model + Vision (visual.* BF16) 12.23 GiB Unified RAM Loaded into GPU/unified memory (2.961 bpw)
Native MTP Layer (mtp.*) 0.49 GiB Unified RAM Included in main shards for native multi-token prediction
Total Loaded in RAM (Base Model) 12.72 GiB Unified RAM Fits on 16 GB / 24 GB+ Apple Silicon Mac (+ KV cache)
Engram / PLE N-Gram Table (20.5B params, q4/g32) 11.92 GiB SSD Only (Disk-Streamed) Never loaded into RAM โ€” only active token rows are read from NVMe SSD via pread
Optional DFlash2 Drafter (dflash2/) 0.74 GiB SSD (RAM only when enabled) Bundled lossless BF16 RadixArk/Qwen4-35B-A3B-Dflash2 (block_size=8)
Optional MTP Proposal Head (mtp_draft/) 0.27 GiB SSD (RAM only when enabled) Calibrated 4-bit MTP proposal head sidecar
Total Bundle on Disk / Download 25.64 GiB SSD Storage 12.72 GiB in RAM + 11.92 GiB SSD-only PLE + 1.00 GiB optional drafters

Held-Out Fidelity vs BF16 Source

Measured on 112 strictly disjoint held-out sequences (90,600 next-token positions including Vision-Language image prompts and >2,048-token QSA block-sparse contexts) against Qwen/Qwen4-35B-A3B BF16:

By Domain

Held-Out Domain Positions Median KL Mean KL Top-1 Agreement Mean ฮ”NLL
agentic 6,587 0.01591 0.09615 90.57% +0.05807
coding 35,853 0.02807 0.12070 88.12% +0.06539
cyber 11,757 0.04179 0.24056 85.42% +0.20766
longctx 15,216 0.06563 0.41743 81.53% +0.10237
reasoning 20,855 0.00131 0.11812 91.24% +0.06648
vision 332 0.01628 0.31829 87.35% -0.11297
Overall 90,600 0.02337 0.18443 87.56% +0.08913

By Variable Reasoning Effort

Reasoning Effort Positions Median KL Mean KL Top-1 Agreement Mean ฮ”NLL
off 4,306 0.00055 0.15529 91.78% +0.11653
low 8,601 0.01567 0.18004 87.35% +0.12726
high 18,862 0.02333 0.25502 86.62% +0.12425
xhigh 58,831 0.02722 0.16458 87.58% +0.07029

Multimodal, Speculative Decoding & Bundle Verification

Capability Measured Result
Vision Tower (visual.*) 333/333 tensors bit-exact BF16 (multimodal VL calibrated & held-out KL verified)
Native MTP Depth-1 Acceptance 71.28% (checkpoint q8 head) / 71.14% (calibrated q4 sidecar vs 70.86% RTN q4)
Bundled DFlash2 Drafter (dflash2/) RadixArk/Qwen4-35B-A3B-Dflash2 (BF16 lossless, block_size=8, target_layer_ids=[19,23,27,31,35], 81 verified tensors)
M-Chip Runtime Layout 4 KiB-aligned shards, isolated SSD q4/g32 PLE shards, TokenizersBackend root tokenizer, reasoning_parser="qwen3", tool_parser="qwen"
Variable Reasoning & Tool Calling Held-out calibrated & verified across off / low / high / xhigh, preserve_thinking, reasoning_parser="qwen3", and XML tool_parser="qwen"

Quantization & M-Chip Optimization Details

  • Whole-Model Precision: 2.961 bpw (2.209 bpw routed experts; SSD-resident PLE n-gram table and drafters excluded per JANGHT naming convention; shipped BF16 vision tower included).
  • Non-Expert Trunk: Attention/GDN/QSA projections, shared experts, PLE projections, embed_tokens, and lm_head quantized to 8-bit (group_size=64) via full-Hessian GPTQ. Routers, in_proj_a/in_proj_b, short convolutions, A_log, dt_bias, RMSNorms, and all Vision weights remain untouched in BF16/FP32.
  • SSD-Resident Engram / PLE N-Gram Table (q4/g32, 11.92 GiB): Isolated into dedicated 4 KiB-aligned model-* shard files for clean pread and macOS unified page-cache separation (41% smaller row reads vs 8-bit at 0.000181 median KL vs BF16).
  • Calibration: Full-Hessian capture across 1,091,856 tokens (1,001 sequences including 24 real Vision-Language prompts, 85 >2,048-token QSA block-sparse sequences, wide multi-language coding, XML agentic tool calling, cybersecurity, multilingual text, and authentic BF16 variable-reasoning traces across off, low, high, and xhigh), achieving full routed-expert calibration across all 40 trunk layers + native MTP.

Recommended Generation Settings

  • Thinking / Agentic Coding (default, reasoning_effort="high", preserve_thinking=True): temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
  • Non-Thinking / Instruct (reasoning_effort="off" / enable_thinking=False): temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0

Credits

Downloads last month
-
Safetensors
Model size
27B params
Tensor type
U32
ยท
I32
ยท
F32
ยท
F16
ยท
I64
ยท
BF16
ยท
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

Model tree for OsaurusAI/Qwen4-35B-A3B-JANGHT3.0

Finetuned
(64)
this model