Instructions to use Jundot/embeddinggemma-2-oQ8e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Jundot/embeddinggemma-2-oQ8e with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Jundot/embeddinggemma-2-oQ8e --local-dir embeddinggemma-2-oQ8e
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
embeddinggemma-2-oQ8e
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 8.502 bits/weight for the text encoder and 13.258 bits/weight for the complete checkpoint.
Quantization and Bit Distribution
oQ8e 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 8-bit, group 64 | 0.272B | 36.555% | 0.269 GiB | 8.50 |
| BF16 | 0.472B | 63.445% | 0.880 GiB | 16.00 |
| Total | 0.744B | 100% | 1.149 GiB | 13.258 |
Storage Breakdown
| Component | Logical weights | Storage |
|---|---|---|
| Text encoder | 0.271B | 0.288 GB / 0.268 GiB |
| Vision encoder | 0.168B | 0.335 GB / 0.312 GiB |
| Audio encoder | 0.306B | 0.610 GB / 0.569 GiB |
| Total | 0.744B | 1.234 GB / 1.149 GiB |
License
Apache-2.0, following the source model. See LICENSE.
- Downloads last month
- 340
8-bit
Model tree for Jundot/embeddinggemma-2-oQ8e
Base model
google/embeddinggemma-2