Model comparison

deepseek-coder-1.3b-instruct vs embeddinggemma-300m

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: embeddinggemma-300m's KV cache at 32K is 41.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

deepseek-coder-1.3b-instructembeddinggemma-300m
Parameters1.3B303M
Architecturellamagemma-embedding
Layers2424
Native context16,3842,048
Mixture of expertsnono
Quantizations published4710
Smallest quantization0.40 GiB0.26 GiB
Q4_K_M0.81 GiB
Licenceother

KV cache by context

the term that decides long-context viability
Contextdeepseek-coder-1.3b-instructembeddinggemma-300mRatio
4,0960.75 GiB0.04 GiB21.33×
8,1921.50 GiB0.05 GiB29.54×
16,3843.00 GiB0.08 GiB36.57×
32,7686.00 GiB0.14 GiB41.51×
65,53612.00 GiB0.27 GiB44.52×
131,07224.00 GiB0.52 GiB46.20×