Run this model with HF Jobs

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

Osaurus AI

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

OsaurusAI/Qwen4-35B-A3B-JANGHT2.3

Memory vs. SSD at a Glance

  • Stays in Unified RAM: 9.86 GiB (~9.29 GiB in text-only sessions when Vision is not loaded) (10.59 GiB with optional DFlash2 drafter enabled) โ€” recommended 16 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: 22.78 GiB โ€” ~11.9 GiB larger than actual RAM usage because the Engram/PLE table stays on SSD.

84.25% top-1 agreement and 0.03967 median KL divergence against the BF16 source across 90,600 strictly disjoint held-out positions (2.314 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, high-precision Vision tower (q8/g64 linears + BF16 patch/pos/norms), 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.* q8/BF16) 9.56 GiB Unified RAM Loaded into GPU/unified memory (2.314 bpw)
Native MTP Layer (mtp.*) 0.30 GiB Unified RAM Included in main shards for native multi-token prediction
Total Loaded in RAM (Base Model) 9.86 GiB Unified RAM Fits on 16 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 22.78 GiB SSD Storage 9.86 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.02611 0.15091 87.79% +0.10744
coding 35,853 0.04769 0.19274 84.48% +0.11160
cyber 11,757 0.06689 0.34974 81.80% +0.31858
longctx 15,216 0.10429 0.54397 77.98% +0.15541
reasoning 20,855 0.00257 0.18795 88.69% +0.11751
vision 332 0.02370 0.42628 84.34% -0.08048
Overall 90,600 0.03967 0.26881 84.25% +0.14617

By Variable Reasoning Effort

Reasoning Effort Positions Median KL Mean KL Top-1 Agreement Mean ฮ”NLL
off 4,306 0.00120 0.22221 89.29% +0.19005
low 8,601 0.02964 0.27425 84.47% +0.20370
high 18,862 0.04076 0.35048 83.24% +0.19144
xhigh 58,831 0.04546 0.24525 84.17% +0.12004

Multimodal, Speculative Decoding & Bundle Verification

Capability Measured Result
Vision Tower (visual.*) 250/333 BF16 + 83/333 q8/g64 linears (max weight rel-L2 0.0077, multimodal VL verified)
Native MTP Depth-1 Acceptance 69.82% (checkpoint q8 head) / 69.67% (calibrated q4 sidecar vs 69.49% 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.314 bpw (1.781 bpw routed experts; SSD-resident PLE n-gram table and drafters excluded per JANGHT naming convention; shipped BF16 vision tower included).
  • Non-Expert Trunk: lm_head, QSA self_attn + indexer, PLE projections, and hyper_connection projections at 8-bit (group_size=64) GPTQ; GDN linear_attn and shared_expert at 6-bit (group_size=64) full-Hessian GPTQ; embed_tokens at 4-bit (group_size=64); mtp.switch_mlp at 2-bit (group_size=64) GPTQ; routers, in_proj_a/in_proj_b, short convolutions, A_log, dt_bias, and RMSNorms 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
118
Safetensors
Model size
26B params
Tensor type
U32
ยท
I32
ยท
F32
ยท
F16
ยท
I64
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for OsaurusAI/Qwen4-35B-A3B-JANGHT2.3

Quantized
(641)
this model
Finetunes
1 model