zxbsmk · text

NSFW_13B_sft

zxbsmk/NSFW_13B_sft

NSFW_13B_sft at Q4_K_M is exactly 8,560,487,488 bytes (7.97 GiB / 8.56 GB) — an effective 5.163 bits per weight, not the nominal 4. Its KV cache at 32K is 25.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
13.3B
Architecture
baichuan
40 layers
Context
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K5.18 GiB5,562,420,2883.355mzwing
Q3_K_S5.94 GiB6,378,445,8883.847mzwing
Q3_K_M6.38 GiB6,847,601,7284.130mzwing
Q3_K_L6.77 GiB7,269,735,4884.384mzwing
Q4_07.03 GiB7,548,775,4884.553mzwing
Q4_K_S7.39 GiB7,934,413,8884.785mzwing
Q4_K_M7.97 GiB8,560,487,4885.163mzwing
Q5_08.54 GiB9,165,876,2885.528mzwing
Q5_K_S8.70 GiB9,341,185,0885.634mzwing
Q5_K_M9.17 GiB9,849,089,0885.940mzwing
Q6_K10.77 GiB11,563,367,4886.974mzwing
Q8_013.13 GiB14,096,538,6888.502mzwing
F1624.71 GiB26,531,994,62416.001mzwing

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0963.13 GiB3.13 GiB40 / 0 / 0
8,1926.25 GiB6.25 GiB40 / 0 / 0
16,38412.50 GiB12.50 GiB40 / 0 / 0
32,76825.00 GiB25.00 GiB40 / 0 / 0
65,53650.00 GiB50.00 GiB40 / 0 / 0
131,072100.00 GiB100.00 GiB40 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 6.95 GiB. The real file is 7.97 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
40
KV heads
40
Head dim
128
Hidden size
5120
Vocab
64,000
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does NSFW_13B_sft need?
Q4_K_M is exactly 8,560,487,488 bytes (7.97 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is NSFW_13B_sft's KV cache?
25.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of NSFW_13B_sft should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.