Model comparison
nomic-embed-text-v1 vs mxbai-embed-xsmall-v1
These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: mxbai-embed-xsmall-v1's KV cache at 32K is 4.0× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| nomic-embed-text-v1 | mxbai-embed-xsmall-v1 | |
|---|---|---|
| Parameters | 137M | 24M |
| Architecture | nomic-bert | bert |
| Layers | 12 | 6 |
| Native context | 8,192 | 4,096 |
| Mixture of experts | no | no |
| Quantizations published | 14 | 4 |
| Smallest quantization | 0.05 GiB | 0.03 GiB |
| Q4_K_M | 0.08 GiB | — |
| Licence | apache-2.0 | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | nomic-embed-text-v1 | mxbai-embed-xsmall-v1 | Ratio |
|---|---|---|---|
| 4,096 | 0.14 GiB | 0.04 GiB | 4.00× |
| 8,192 | 0.28 GiB | 0.07 GiB | 4.00× |
| 16,384 | 0.56 GiB | 0.14 GiB | 4.00× |
| 32,768 | 1.13 GiB | 0.28 GiB | 4.00× |
| 65,536 | 2.25 GiB | 0.56 GiB | 4.00× |
| 131,072 | 4.50 GiB | 1.13 GiB | 4.00× |