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-small | all-MiniLM-L6-v2 | |
|---|---|---|
| Parameters | 33M | 23M |
| Architecture | bert | bert |
| Layers | 12 | 6 |
| Native context | 512 | 512 |
| Mixture of experts | no | no |
| Quantizations published | 12 | 28 |
| Smallest quantization | 0.02 GiB | 0.02 GiB |
| Q4_K_M | 0.03 GiB | 0.02 GiB |
| Licence | mit | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | gte-small | all-MiniLM-L6-v2 | Ratio |
|---|---|---|---|
| 4,096 | 0.07 GiB | 0.04 GiB | 2.00× |
| 8,192 | 0.14 GiB | 0.07 GiB | 2.00× |
| 16,384 | 0.28 GiB | 0.14 GiB | 2.00× |
| 32,768 | 0.56 GiB | 0.28 GiB | 2.00× |
| 65,536 | 1.13 GiB | 0.56 GiB | 2.00× |
| 131,072 | 2.25 GiB | 1.13 GiB | 2.00× |