Model comparison

all-MiniLM-L6-v2 vs gte-small

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

all-MiniLM-L6-v2gte-small
Parameters23M33M
Architecturebertbert
Layers612
Native context512512
Mixture of expertsnono
Quantizations published2812
Smallest quantization0.02 GiB0.02 GiB
Q4_K_M0.02 GiB0.03 GiB
Licenceapache-2.0mit

KV cache by context

the term that decides long-context viability
Contextall-MiniLM-L6-v2gte-smallRatio
4,0960.04 GiB0.07 GiB2.00×
8,1920.07 GiB0.14 GiB2.00×
16,3840.14 GiB0.28 GiB2.00×
32,7680.28 GiB0.56 GiB2.00×
65,5360.56 GiB1.13 GiB2.00×
131,0721.13 GiB2.25 GiB2.00×