MiniCPM5-2B ยท NVFP4 (W4A4, FP4)

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

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

Quantization details

  • Scheme โ€” W4A4 โ€” FP4 (E2M1) weights group 16 + FP8 scale, FP4 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) 2.1439 1.5988 (+34.1%)
Top-1 next-token agreement 79.1% 98.9%

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

Usage (vLLM)

vllm serve axteam/MiniCPM5-2B-NVFP4

License

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


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

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

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

Quantized
(127)
this model

Collection including axteam/MiniCPM5-2B-NVFP4