Model comparison

LFM2-350M vs Qwen2.5-0.5B-Instruct

At Q4_K_M, LFM2-350M is the smaller download — 229,309,152 bytes against 397,807,936. At long context the gap widens: Qwen2.5-0.5B-Instruct's KV cache at 32K is 2.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

LFM2-350MQwen2.5-0.5B-Instruct
Parameters354M494M
Architecturelfm2qwen2
Layers1624
Native context128,00032,768
Mixture of expertsnono
Quantizations published1932
Smallest quantization0.15 GiB0.31 GiB
Q4_K_M0.21 GiB0.37 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
ContextLFM2-350MQwen2.5-0.5B-InstructRatio
4,0960.13 GiB0.05 GiB2.67×
8,1920.25 GiB0.09 GiB2.67×
16,3840.50 GiB0.19 GiB2.67×
32,7681.00 GiB0.38 GiB2.67×
65,5362.00 GiB0.75 GiB2.67×
131,0724.00 GiB1.50 GiB2.67×