embeddinggemma-2-oQ4e

Updated 2026-11-19: Re-quantized with the refined oQe rounding in oMLX 0.8.0, which lowers quantization error at the same size and speed. Please re-download if you have an earlier copy.

This model was quantized using oQ (oMLX v0.8.0) mixed-precision quantization with improved oQe (jundot/omlx#4930) and oQe rounding refinement (jundot/omlx#5292).

A mixed-precision MLX checkpoint of google/embeddinggemma-2, Google DeepMind's multimodal embedding model that maps text, images, video and audio into one 768-dimensional vector space. It includes the text encoder, the vision encoder and the audio encoder. oQ quantizes the text encoder; the vision and audio encoders stay in BF16.

oMLX serves text and image inputs through POST /v1/embeddings (jundot/omlx#4333) and does not load the audio encoder.

The effective average is 4.804 bits/weight for the text encoder and 11.906 bits/weight for the complete checkpoint.

Quantization and Bit Distribution

oQ4e allocates bits by measured layer sensitivity, then rounds each group with an importance matrix (128 samples x 512 tokens) and a weighted least-squares refit of its scale and bias.

Storage format Logical weights Share of total Tensor storage Effective bits/weight
Affine 4-bit, group 64 0.216B 28.983% 0.113 GiB 4.50
Affine 5-bit, group 64 0.044B 5.881% 0.028 GiB 5.50
Affine 6-bit, group 64 0.006B 0.845% 0.005 GiB 6.50
Affine 8-bit, group 64 0.006B 0.845% 0.006 GiB 8.50
BF16 0.472B 63.445% 0.880 GiB 16.00
Total 0.744B 100% 1.032 GiB 11.906

Storage Breakdown

Component Logical weights Storage
Text encoder 0.271B 0.163 GB / 0.152 GiB
Vision encoder 0.168B 0.335 GB / 0.312 GiB
Audio encoder 0.306B 0.610 GB / 0.568 GiB
Total 0.744B 1.108 GB / 1.032 GiB

License

Apache-2.0, following the source model. See LICENSE.

Downloads last month
168
Safetensors
Model size
0.7B params
Tensor type
BF16
ยท
U32
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Jundot/embeddinggemma-2-oQ4e

Quantized
(154)
this model