Skip to page content
SAVRN
Search Plan a project

Open-weight model · Feature extraction

EmbeddingGemma-2-GGUF

by Nguyen Quoc Vinh ngquocvinh/EmbeddingGemma-2-GGUF

EmbeddingGemma-2-GGUF is an open-weight model for feature extraction from Nguyen Quoc Vinh, released under Apache License 2.0. Its published files total 4.4 GB.

Community GGUF quantizations of google/embeddinggemma-2. If this GGUF made your day easier, a coffee would make mine. I build and test these releases myself. Your coffee helps keep me going. Thank you for supporting this work.

Parameters—
Context—
Weights4.4 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Nguyen Quoc Vinh, published under apache-2.0, revision f9ce21abf6cd.

Community GGUF quantizations of google/embeddinggemma-2. If this GGUF made your day easier, a coffee would make mine. I build and test these releases myself. Your coffee helps keep me going. Thank you for supporting this work. EmbeddingGemma 2 is a multilingual, multimodal embedding model from Google DeepMind. It maps text and code, images, video, and audio into a shared 768-dimensional vector space and has an 8,192-token shared context window. The upstream checkpoint has a 270M-parameter text path plus optional vision and audio encoders. This release contains a quantized text backbone and a shared BF16 vision/audio projector. Text, image, and audio inputs returned normalized…

Read Nguyen Quoc Vinh's full model card

Community GGUF quantizations of google/embeddinggemma-2.

If this GGUF made your day easier, a coffee would make mine.
Send a coffee
I build and test these releases myself. Your coffee helps keep me going.
Thank you for supporting this work.

About EmbeddingGemma 2

EmbeddingGemma 2 is a multilingual, multimodal embedding model from Google DeepMind. It maps text and code, images, video, and audio into a shared 768-dimensional vector space and has an 8,192-token shared context window. The upstream checkpoint has a 270M-parameter text path plus optional vision and audio encoders. This release contains a quantized text backbone and a shared BF16 vision/audio projector. Text, image, and audio inputs returned normalized 768-dimensional vectors in local llama-server CPU smoke checks. See the official model card for supported task prefixes, modalities, and input guidance.

Embedding evaluation

All values below were measured locally from the locked BF16 GGUF and quantized artifacts; they are not copied from the upstream model card. Additional quant formats are being added incrementally and will appear in the comparison table after running this same hold-out evaluation. The fixed hold-out evaluation uses the 1,379-pair test split of MTEB STSBenchmark STS, dataset revision 96943a16ea6a35129e253c659081cb59daf81b30. It covers 2,552 unique sentences with the task: sentence similarity | query: prefix, an 8,192-token context, and the CPU llama.cpp runtime at commit 9c2e0e491a822adae1f0b1c831adb4160057d24f. Spearman and Pearson measure correlation between cosine similarity and the human scores. Mean and 5th-percentile cosine measure vector agreement with the BF16 GGUF reference. Higher values indicate stronger task correlation or closer vector agreement; smaller files use less disk. This is a task-specific embedding evaluation, not the full MTEB benchmark. Token-level KLD, next-token Top-1, PPL, and RMS probability deltas do not apply to this embedding model.

BF16 reference baseline

Reference Size (GB) Spearman vs human ↑ Pearson vs human ↑ Mean cosine vs BF16 5th-percentile cosine vs BF16
Local BF16 text GGUF 0.557950 0.875414 0.865994 1.000000 1.000000

Quantized variants compared with BF16

File Size (GB) Spearman vs human ↑ Pearson vs human ↑ Mean cosine vs BF16 ↑ 5th-percentile cosine vs BF16 ↑
EmbeddingGemma-2-Q8_0.gguf 0.309856 0.875125 0.865776 0.999930 0.999903
EmbeddingGemma-2-Q6_K.gguf 0.245765 0.874311 0.864975 0.999548 0.999373
EmbeddingGemma-2-Q5_K_M.gguf 0.212759 0.874081 0.864863 0.999190 0.998841
EmbeddingGemma-2-Q4_K_M.gguf 0.181695 0.872686 0.864659 0.997824 0.996776
EmbeddingGemma-2-Q3_K_M.gguf 0.148870 0.869604 0.860705 0.992364 0.988323
EmbeddingGemma-2-Q2_K.gguf 0.120394 0.856144 0.854341 0.972891 0.960440
EmbeddingGemma-2-IQ2_XS.gguf 0.110946 0.846829 0.838447 0.944608 0.927359
EmbeddingGemma-2-IQ1_M.gguf 0.103041 0.797642 0.801111 0.819494 0.778721
EmbeddingGemma-2-Q1_0.gguf 0.066163 0.061457 0.062574 0.513763 0.425907

Q5_K_M and Q4_K_M are memory/fidelity candidates from this measured size and task-correlation trade-off; no VRAM fit or throughput claim is made. Q1_0 loads and returns embeddings, but its near-zero STS correlation and much lower BF16 vector agreement indicate severe quality loss on this task. The machine-readable evaluation summary and reproducibility manifest include the full measurements and method. The initial Q8_0 artifact and BF16 vision/audio projector also passed local text, image, and audio embedding smoke checks.

Quick start

Start an embedding endpoint with llama.cpp:

llama-server \
  -m EmbeddingGemma-2-Q8_0.gguf \
  --mmproj mmproj-EmbeddingGemma-2-BF16.gguf \
  --embedding \
  --pooling mean \
  --ctx-size 8192 \
  --port 8080

Send an English search query using the model's task prefix:

curl http://localhost:8080/v1/embeddings \
  -H 'Content-Type: application/json' \
  -d '{"model":"EmbeddingGemma-2","input":"task: search result | query: What causes the northern lights?"}'

For text-only workloads, omit --mmproj. For documents, use title: {title} | text: {content} or title: none | text: {content} when there is no title. Keep query and document vectors at the same dimension. The server returns normalized vectors by default.

Reproducibility and validation

See the reproducibility manifest, artifact measurements, and SHA256 checksums. The manifest records the locked upstream revision and model hash, BF16 GGUF source, converter/runtime revision, model-specific calibration/imatrix, quantization commands, and smoke profile. Raw conversion, imatrix, quantization, and validation logs are kept locally and are not part of this repository.

License and attribution

The upstream model is licensed under Apache 2.0. These are community GGUF quantizations, not an official Google or Google DeepMind release or endorsement.

Identity and Version

Repository
ngquocvinh/EmbeddingGemma-2-GGUF
Publisher
Nguyen Quoc Vinh
Task
Feature extraction
Modality
Text
Library
llama.cpp
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
f9ce21abf6cd477d3852931996998343d49b5062
First published
2026-10-08
Last updated
2026-10-08

Files and Weights

32 files, 4.4 GB in total. The weights are 23 files totalling 4.4 GB in gguf.

Weights23 files · 4.4 GB
Configuration1 file · 7.5 KB
Documentation3 files · 38.1 KB
Other4 files · 5.6 KB
Repository1 file · 3.0 KB
Every file
FileTypeSizeSHA-256
EmbeddingGemma-2-IQ1_M.ggufWeights103.0 MB a7788cc0daf6
EmbeddingGemma-2-IQ2_S.ggufWeights127.6 MB c4af164cb11d
EmbeddingGemma-2-IQ2_XS.ggufWeights110.9 MB c4e59a215a94
EmbeddingGemma-2-IQ2_XXS.ggufWeights107.2 MB b2ffd17ae3e7
EmbeddingGemma-2-IQ3_M.ggufWeights145.7 MB 173b0e1daabb
EmbeddingGemma-2-IQ3_S.ggufWeights142.5 MB ce15d1c47c0b
EmbeddingGemma-2-IQ3_XS.ggufWeights139.8 MB ba5ce4f631e5
EmbeddingGemma-2-IQ3_XXS.ggufWeights135.8 MB 5d743354ee14
EmbeddingGemma-2-IQ4_NL.ggufWeights177.6 MB 1ae7f62c2119
EmbeddingGemma-2-IQ4_XS.ggufWeights169.4 MB 96db13a1041a
EmbeddingGemma-2-Q1_0.ggufWeights66.2 MB 4953a59ae0d8
EmbeddingGemma-2-Q2_K.ggufWeights120.4 MB 67124cbba678
EmbeddingGemma-2-Q2_K_S.ggufWeights116.4 MB 35cb1027140e
EmbeddingGemma-2-Q3_K_L.ggufWeights154.4 MB a32206e9431d
EmbeddingGemma-2-Q3_K_M.ggufWeights148.9 MB a5c902b15458
EmbeddingGemma-2-Q3_K_S.ggufWeights142.5 MB a6c72c2febc1
EmbeddingGemma-2-Q4_K_M.ggufWeights181.7 MB ea25550b050f
EmbeddingGemma-2-Q4_K_S.ggufWeights178.2 MB 4a9b92529b93
EmbeddingGemma-2-Q5_K_M.ggufWeights212.8 MB 22f79226a02b
EmbeddingGemma-2-Q5_K_S.ggufWeights210.7 MB 0c0dc8e88bc6
EmbeddingGemma-2-Q6_K.ggufWeights245.8 MB 21693ca41877
EmbeddingGemma-2-Q8_0.ggufWeights309.9 MB eec0ccc2e76a
mmproj-EmbeddingGemma-2-BF16.ggufWeights982.1 MB b663b6822d1f
reproducibility/evaluate-stsbenchmark.pyConfiguration7.5 KB —
LICENSEDocumentation11.4 KB —
README.mdDocumentation6.1 KB —
reproducibility/manifest.mdDocumentation20.6 KB —
SHA256SUMS.txtOther2.2 KB —
reproducibility/artifact-measurements.tsvOther1.6 KB —
reproducibility/embedding-evaluation.tsvOther1.1 KB —
reproducibility/imatrix-gemma-embedding.patchOther696 B —
.gitattributesRepository3.0 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
4.4 GB
Download from Nguyen Quoc Vinh

Released by Nguyen Quoc Vinh through its official repository on Hugging Face. Read the license.

Built From

  • Derived from google/embeddinggemma-2
  • Quantized from google/embeddinggemma-2

Memory Requirements

PrecisionWeights in memory
As published4.4 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About EmbeddingGemma-2-GGUF

Can I use EmbeddingGemma-2-GGUF commercially?

Yes. EmbeddingGemma-2-GGUF is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Feature extraction

all-MiniLM-L6-v2

Joshua

https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: You can then use the model to compute embeddings like this: You can convert this Tensor to a nested JavaScript array using.tolist(): Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights apache-2.0 512 tokens transformers.js

Model · Feature extraction

bge-base-en-v1.5

Joshua

https://huggingface.co/BAAI/bge-base-en-v1.5 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: You can then use the model to compute embeddings, as follows: You can also use the model for retrieval. For example: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights mit 512 tokens transformers.js

For more details please refer to our Github: FlagEmbedding. If you are looking for a model that supports more languages, longer texts, and other retrieval methods, you can try using bge-m3. FlagEmbedding focuses on retrieval-augmented LLMs, consisting of the following projects currently: - 1/30/2024: Release BGE-M3, a new member to BGE model series! M3 stands for Multi-linguality (100+ languages), Multi-granularities (input length up to 8192), Multi-Functionality (unification of dense, lexical, multi-vec/colbert retrieval). It is the first embedding model which supports all three retrieval methods, achieving new SOTA on multi-lingual (MIRACL) and cross-lingual (MKQA) benchmarks. Technical…

Open weights mit 512 tokens sentence-transformers

Model · Feature extraction

wavlm-large

Microsoft

The large model pretrained on 16kHz sampled speech audio. When using the model, make sure that your speech input is also sampled at 16kHz. Note: This model does not have a tokenizer as it was pretrained on audio alone. In order to use this model speech recognition, a tokenizer should be created and the model should be fine-tuned on labeled text data. Check out this blog for more in-detail explanation of how to fine-tune the model. - 60,000 hours of Libri-Light - 10,000 hours of GigaSpeech - 24,000 hours of VoxPopuli Authors: Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, Jian Wu, Long Zhou, Shuo Ren, Yanmin…

Open weights transformers

Model · Feature extraction

splade-cocondenser-selfdistil

NAVER

SPLADE model for passage retrieval. For additional details, please visit: This is a SPLADE Sparse Encoder model. It maps sentences & paragraphs to a 30522-dimensional sparse vector space and can be used for semantic search and sparse retrieval. First install the Sentence Transformers library: Then you can load this model and run inference. If you use our checkpoint, please cite our work

Open weights cc-by-nc-sa-4.0 512 tokens sentence-transformers