Model comparison

all-MiniLM-L6-v2 vs mxbai-embed-xsmall-v1

These two publish different quantization sets; the table below has the exact sizes.

From the file· summed bytes, KV per layer

Side by side

all-MiniLM-L6-v2mxbai-embed-xsmall-v1
Parameters23M24M
Architecturebertbert
Layers66
Native context5124,096
Mixture of expertsnono
Quantizations published284
Smallest quantization0.02 GiB0.03 GiB
Q4_K_M0.02 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextall-MiniLM-L6-v2mxbai-embed-xsmall-v1Ratio
4,0960.04 GiB0.04 GiB1.00×
8,1920.07 GiB0.07 GiB1.00×
16,3840.14 GiB0.14 GiB1.00×
32,7680.28 GiB0.28 GiB1.00×
65,5360.56 GiB0.56 GiB1.00×
131,0721.13 GiB1.13 GiB1.00×