MiniCPM5-2B ยท AWQ INT4 (W4A16)

4-bit quantization of openbmb/MiniCPM5-2B for vLLM serving. Quantized by axteam.

Base model openbmb/MiniCPM5-2B
Method AWQ INT4 (W4A16)
Format compressed-tensors pack-quantized
Weights / activations W4A16 โ€” INT4 asym weights, group 32, BF16 activations
Architecture Dense (Llama-architecture) ยท text-only
Size on disk ~2.1 GB
Calibration 256 samples
License Apache-2.0

Quantization details

  • Scheme โ€” W4A16 โ€” INT4 asym weights, group 32, BF16 activations, stored as compressed-tensors pack-quantized.
  • Kept in BF16 โ€” token embeddings, the LM head, and all RMSNorms (a small fraction of parameters).
  • Post-training quantization (no retraining). Tokenizer / chat_template identical to the original.

Evaluation (measured)

Fidelity to the BF16 original on an internal mixed EN/KO set (100 prompts, BF16 greedy answers scored under each build).

Metric This model BF16 original
Perplexity (lower = closer) 1.8260 1.5988 (+14.2%)
Top-1 next-token agreement 84.9% 98.9%

โš ๏ธ Note: noticeable 4-bit degradation here; prefer the 8-bit (FP8 / AWQ INT8) builds.

Usage (vLLM)

vllm serve axteam/MiniCPM5-2B-AWQ-4bit

License

Quantized derivative of openbmb/MiniCPM5-2B (Apache-2.0). Original weights & tokenizer belong to OpenBMB.


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

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

  • ๋ฐฉ์‹ โ€” INT4 ๋น„๋Œ€์นญ 32๋ฌถ์Œ, ํ™œ์„ฑํ™” BF16(W4A16). ํ˜•์‹ compressed-tensors pack-quantized.
  • BF16 ์œ ์ง€ โ€” ํ† ํฐ ์ž„๋ฒ ๋”ฉยทLM ํ—ค๋“œยท๋ชจ๋“  norm.
  • PTQ(์žฌํ•™์Šต ์—†์Œ), ํ† ํฌ๋‚˜์ด์ €ยทchat_template ์›๋ณธ ๋™์ผ.
  • ํ’ˆ์งˆ(์‹ค์ธก) โ€” BF16 ๋Œ€๋น„ perplexity 1.8260(์›๋ณธ 1.5988, +14.2%), top-1 84.9%(์›๋ณธ 98.9%). ๋‚ด๋ถ€ ์˜/ํ•œ 100๋ฌธํ•ญ.
  • โš ๏ธ 4๋น„ํŠธ ์—ดํ™”๊ฐ€ ํผ โ€” 8๋น„ํŠธ(FP8/AWQ INT8) ๊ถŒ์žฅ.
  • ์‚ฌ์šฉ โ€” vllm serve axteam/MiniCPM5-2B-AWQ-4bit. ๋ผ์ด์„ ์Šค Apache-2.0(์›๋ณธ OpenBMB).
Downloads last month
27
Safetensors
Model size
3B 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/MiniCPM5-2B-AWQ-4bit

Quantized
(130)
this model

Collection including axteam/MiniCPM5-2B-AWQ-4bit