Downloads · 30 days
12
3% of all-time downloads
p4b/qwen3-4b-chunky-nvfp4
qwen3-4b-chunky-nvfp4 is a text generation model from p4b. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
NVFP4A16-quantized version of p4b/qwen3-4b-chunky.
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
479
Public
Parameters
2.4B
2.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.8 GB · 99%
How the weights are stored.
U81.8B · 75%
From the Hugging Face model README
NVFP4A16-quantized version of p4b/qwen3-4b-chunky.
NVFP4A16 preset (data-free)nvfp4-pack-quantized (compressed-tensors 0.14.0.1)Requires NVIDIA Blackwell GPU (sm_12x, RTX 50 series) for native FP4 execution via vLLM.
from vllm import LLM, SamplingParams
llm = LLM(
model="p4b/qwen3-4b-chunky-nvfp4",
quantization="compressed-tensors",
dtype="bfloat16",
)
sampling_params = SamplingParams(max_tokens=256, temperature=0.0)
outputs = llm.generate(["your prompt here"], sampling_params)
print(outputs[0].outputs[0].text)
Evaluated on 300 held-out samples (same seed, same split as bf16 baseline). No meaningful quality degradation.
| Metric | bf16 (7.6 GB) | NVFP4A16 (2.7 GB) | Δ |
|---|---|---|---|
| Reward mean | -1.367 | -1.340 | +0.027 |
| Reward median | 0.000 | 0.000 | — |
| FN mean | 1.155 | 1.133 | -0.022 |
| FP mean | 0.600 | 0.583 | -0.017 |
| Perfect (reward=0) | 55.3% | 56.3% | +1.0% |
| Parse error | 4.3% | 3.7% | -0.6% |
64% size reduction with no accuracy loss.
Note: vLLM 0.15.1 falls back to the Marlin kernel on non-Blackwell GPUs. Native FP4 CUDA kernels require sm_12x (RTX 50 series).
See p4b/qwen3-4b-chunky for full task description, prompt format, and evaluation results.
Given <src> and <tgt> bitext blocks with [|n|] split markers, predicts optimal alignment pairs as <answer>src_idx-tgt_idx, ...</answer>.