Qwen3.5-2B ยท AWQ INT4 (W4A16)

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

Base model Qwen/Qwen3.5-2B
Method AWQ INT4 (W4A16)
Format compressed-tensors pack-quantized
Weights / activations W4A16 โ€” INT4 asymmetric weights, group size 32 (BF16 scale + INT4 zero-point), BF16 activations
Architecture Hybrid (linear-attention + full-attention) ยท Dense ยท multimodal (vision) ยท MTP head
Size on disk ~2.4 GB
Calibration 256 samples (Korean-heavy mixed corpus)
License Apache-2.0

Quantization details

  • Scheme โ€” W4A16 โ€” INT4 asymmetric weights, group size 32 (BF16 scale + INT4 zero-point), BF16 activations, stored as compressed-tensors 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 SSM non-linear parts (linear_attn.conv1d/A_log/dt_bias). 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.9971 1.8515 (+7.9%)
Top-1 next-token agreement 86.8% 98.9%

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

Usage (vLLM)

vllm serve axteam/Qwen3.5-2B-AWQ-4bit

Recommended sampling (Qwen): temperature=0.7, top_p=0.8, top_k=20.

License

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


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

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

  • ๋ฐฉ์‹ โ€” INT4 ๋น„๋Œ€์นญ, 32๊ฐœ ๋ฌถ์Œ(BF16 ์Šค์ผ€์ผ+INT4 ์˜์ ), ํ™œ์„ฑํ™” BF16(W4A16). AWQ๋กœ ๋ฐฐ์œจ ์ด๋™ ํ›„ ์–‘์žํ™”. ํ˜•์‹ compressed-tensors pack-quantized.
  • BF16 ์œ ์ง€ โ€” ๋น„์ „ ํƒ€์›ŒยทMTP ํ—ค๋“œยท๋ชจ๋“  normยท์ž„๋ฒ ๋”ฉ/LM ํ—ค๋“œยทSSM ๋น„์„ ํ˜•๋ถ€(conv1d/A_log/dt_bias).
  • PTQ โ€” ์žฌํ•™์Šต ์—†์Œ, ์›๋ณธ ๋™์ž‘ ์œ ์ง€.
  • ํ’ˆ์งˆ(์‹ค์ธก) โ€” BF16 ์›๋ณธ ๋Œ€๋น„ perplexity 1.9971(์›๋ณธ 1.8515, +7.9%), top-1 ์ผ์น˜๋„ 86.8%(์›๋ณธ 98.9%). ๋‚ด๋ถ€ ์˜/ํ•œ 100๋ฌธํ•ญ, ๊ฐ™์€ ํ•˜๋„ค์Šค.
  • ์‚ฌ์šฉ โ€” vllm serve axteam/Qwen3.5-2B-AWQ-4bit, ๊ถŒ์žฅ ์ƒ˜ํ”Œ๋ง temperature=0.7, top_p=0.8, top_k=20.
  • ๋ผ์ด์„ ์Šค โ€” ์›๋ณธ Apache-2.0 ํŒŒ์ƒ๋ฌผ. ๊ฐ€์ค‘์น˜ยทํ† ํฌ๋‚˜์ด์ €ยทchat_template ๊ถŒ๋ฆฌ๋Š” Qwen ํŒ€.
Downloads last month
15
Safetensors
Model size
2B params
Tensor type
I32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for axteam/Qwen3.5-2B-AWQ-4bit

Finetuned
Qwen/Qwen3.5-2B
Quantized
(287)
this model

Collection including axteam/Qwen3.5-2B-AWQ-4bit