MiniCPM5-2B ยท NVFP4A16 (W4A16, FP4 weights)

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

Base model openbmb/MiniCPM5-2B
Method NVFP4A16 (W4A16, FP4 weights)
Format compressed-tensors nvfp4-pack-quantized
Weights / activations W4A16 โ€” FP4 (E2M1) weights group 16 + FP8 scale, BF16 activations
Architecture Dense (Llama-architecture) ยท text-only
Size on disk ~2.0 GB
Calibration 256 samples
License Apache-2.0

Quantization details

  • Scheme โ€” W4A16 โ€” FP4 (E2M1) weights group 16 + FP8 scale, BF16 activations, stored as compressed-tensors nvfp4-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.8315 1.5988 (+14.6%)
Top-1 next-token agreement 85.0% 98.9%

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

Usage (vLLM)

vllm serve axteam/MiniCPM5-2B-NVFP4A16

License

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


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

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

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

Quantized
(130)
this model

Collection including axteam/MiniCPM5-2B-NVFP4A16