Qwen3.5-4B ยท NVFP4 (W4A4, FP4)

4-bit quantization of Qwen/Qwen3.5-4B, produced for efficient vLLM serving. Quantized by axteam.

Base model Qwen/Qwen3.5-4B
Method NVFP4 (W4A4, FP4)
Format compressed-tensors nvfp4-pack-quantized
Weights / activations W4A4 โ€” FP4 (E2M1) weights group 16 (FP8 E4M3 scale + per-tensor FP32 global scale), FP4 activations
Architecture Hybrid (linear-attention + full-attention) ยท Dense ยท multimodal (vision) ยท MTP head
Size on disk ~5.3 GB
Calibration 256 samples (Korean-heavy mixed corpus)
License Apache-2.0

Quantization details

  • Scheme โ€” W4A4 โ€” FP4 (E2M1) weights group 16 (FP8 E4M3 scale + per-tensor FP32 global scale), FP4 activations, stored as compressed-tensors nvfp4-pack-quantized.
  • Kept in BF16 โ€” the vision tower & projector (model.visual.*), the multi-token-prediction head (mtp.*), all RMSNorms, token embeddings, the LM head, the entire linear-attention (GatedDeltaNet/SSM) path โ€” FP4 is too coarse for the SSM weights, so the full linear_attn.* stays BF16. Left unquantized to preserve quality (a small fraction of parameters).
  • Tokenizer / chat_template / generation_config are identical to the original. config.json is the original plus a quantization_config block.

This is post-training quantization (PTQ) โ€” no retraining, so behaviour stays faithful to the original. AWQ uses a small calibration set (no gradient) to protect salient weight channels before rounding.

Evaluation (measured)

Fidelity to the BF16 original on an internal mixed English/Korean set (100 prompts, BF16 greedy answers scored under each build โ€” same harness for every row).

Metric This model BF16 original
Perplexity (lower = closer) 1.7157 1.5703 (+9.3%)
Top-1 next-token agreement 88.1% 99.2%

These measure fidelity to the base model, not absolute task scores.

Usage (vLLM)

vllm serve axteam/Qwen3.5-4B-NVFP4

Recommended sampling (Qwen): temperature=0.7, top_p=0.8, top_k=20. This is a Blackwell-only format โ€” it needs FP4 tensor cores (B200) for full speed.

License

Quantized derivative of Qwen/Qwen3.5-4B (Apache-2.0). All original weights, tokenizer and chat template belong to the Qwen team.


ํ•œ๊ตญ์–ด ์š”์•ฝ

Qwen/Qwen3.5-4B ๋ฅผ NVFP4 (W4A4, FP4) ๋กœ ์–‘์žํ™”ํ•œ ์„œ๋น™์šฉ(4-bit) ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค. ์ž‘์„ฑ: axteam.

  • ๋ฐฉ์‹ โ€” ๊ฐ€์ค‘์น˜ยทํ™œ์„ฑํ™” ๋ชจ๋‘ FP4(W4A4). Blackwell(B200) FP4 ํ…์„œ์ฝ”์–ด์—์„œ ์ œ ์†๋„. ํ’ˆ์งˆ ์šฐ์„ ์ด๋ฉด NVFP4A16 ๊ถŒ์žฅ. ํ˜•์‹ compressed-tensors nvfp4-pack-quantized.
  • BF16 ์œ ์ง€ โ€” ๋น„์ „ ํƒ€์›ŒยทMTP ํ—ค๋“œยท๋ชจ๋“  normยท์ž„๋ฒ ๋”ฉ/LM ํ—ค๋“œยทSSM(linear_attn) ๊ฒฝ๋กœ ์ „์ฒด(FP4๊ฐ€ SSM ๊ฐ€์ค‘์น˜์—” ๋„ˆ๋ฌด ๊ฑฐ์น ์–ด์„œ).
  • PTQ โ€” ์žฌํ•™์Šต ์—†์Œ, ์›๋ณธ ๋™์ž‘ ์œ ์ง€.
  • ํ’ˆ์งˆ(์‹ค์ธก) โ€” BF16 ์›๋ณธ ๋Œ€๋น„ perplexity 1.7157(์›๋ณธ 1.5703, +9.3%), top-1 ์ผ์น˜๋„ 88.1%(์›๋ณธ 99.2%). ๋‚ด๋ถ€ ์˜/ํ•œ 100๋ฌธํ•ญ, ๊ฐ™์€ ํ•˜๋„ค์Šค.
  • ์‚ฌ์šฉ โ€” vllm serve axteam/Qwen3.5-4B-NVFP4, ๊ถŒ์žฅ ์ƒ˜ํ”Œ๋ง temperature=0.7, top_p=0.8, top_k=20.
  • ๋ผ์ด์„ ์Šค โ€” ์›๋ณธ Apache-2.0 ํŒŒ์ƒ๋ฌผ. ๊ฐ€์ค‘์น˜ยทํ† ํฌ๋‚˜์ด์ €ยทchat_template ๊ถŒ๋ฆฌ๋Š” Qwen ํŒ€.
Downloads last month
10
Safetensors
Model size
5B params
Tensor type
BF16
ยท
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for axteam/Qwen3.5-4B-NVFP4

Finetuned
Qwen/Qwen3.5-4B
Quantized
(594)
this model

Collection including axteam/Qwen3.5-4B-NVFP4