Model comparison

gte-small vs all-MiniLM-L6-v2

At Q4_K_M, all-MiniLM-L6-v2 is the smaller download — 20,999,104 bytes against 29,203,744. At long context the gap widens: all-MiniLM-L6-v2's KV cache at 32K is 2.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gte-smallall-MiniLM-L6-v2
Parameters33M23M
Architecturebertbert
Layers126
Native context512512
Mixture of expertsnono
Quantizations published1228
Smallest quantization0.02 GiB0.02 GiB
Q4_K_M0.03 GiB0.02 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
Contextgte-smallall-MiniLM-L6-v2Ratio
4,0960.07 GiB0.04 GiB2.00×
8,1920.14 GiB0.07 GiB2.00×
16,3840.28 GiB0.14 GiB2.00×
32,7680.56 GiB0.28 GiB2.00×
65,5361.13 GiB0.56 GiB2.00×
131,0722.25 GiB1.13 GiB2.00×