In short.
EmbeddingGemma 2 is a multimodal embedding model for developers building search and retrieval applications, with configuration choices that can silently harm retrieval quality. Its shared vector space supports text, code, images, video and audio, using 740M parameters with all encoders or 270M for text only. The card reports full-precision benchmarks and supports reducing vectors from 768 to 512, 256 or 128 dimensions. It warns against float16 and requires normalization after truncation. The supplied examples are unexecuted, and device latency, actual memory use and performance on individual workloads are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected README at revision f9972ac22e696a105c482202646979e33e4b5a1e, including its Apache 2.0 declaration, referenced use-policy notice, examples, benchmark tables and limitations. The original source is identified by the pinned URL and supplied SHA-256 digest 2c058c304c68221f1de80979594036eff3972b2bce686bb7b0f43621a6b0b011. Linked pages, full legal texts, model weights and other repository files are excluded. Installation, inference, media handling, retrieval quality, device performance and cost were not tested.
The overview
identity
EmbeddingGemma 2 is Google DeepMind's embedding model, available under the repository name google/embeddinggemma-2. An embedding is a list of numbers that represents content for comparison, ranking and grouping. The model produces representations for downstream applications rather than generating answers.
The card describes 740M total parameters: a 270M text component, a 170M vision encoder and a 300M audio encoder. The vision and audio components can be omitted when unnecessary. Text and all supported media map into the same native 768-dimensional output space.
assessment
The strongest practical attraction is a common representation for several content types, combined with options to reduce the loaded model and stored vector size. The card provides concrete configuration guidance, but its claims about consumer-device suitability and low latency lack device-specific timing, memory or power measurements.
The developer reports multilingual MTEB v2 scores of 61.36 for EmbeddingGemma 2 versus 61.15 for EmbeddingGemma 1, and code MTEB v1 scores of 78.68 versus 68.76. These support a larger reported improvement on the listed code evaluation than on the listed multilingual evaluation. Results use the full-precision checkpoint; they do not establish quality for a particular language, corpus or hardware configuration.
Vector reduction has measurable tradeoffs in the card's results. At 256 dimensions, multilingual MTEB falls from 61.36 to 60.41 and MMEB overall from 59.01 to 56.24. At 128 dimensions, MMEB overall falls to 45.65 and audio retrieval MSEB to 56.71 from 69.54. The 128-dimensional option therefore deserves particular caution for multimodal work.
users
Intended users include developers building document search, retrieval-augmented generation, natural-language code search, media retrieval, classification, clustering and duplicate detection. The shared vector space also supports comparing content across modalities, such as a text query against an item containing images.
It is especially relevant to teams considering local or edge deployment and developers who want to load only the required encoders. Beginners receive a short text example, but still need to implement corpus preparation, vector storage, retrieval and application behavior. Those surrounding components are not provided by the model card.
capabilities
The card describes support for text, including code, images, video and audio, plus inputs that interleave these modalities. It claims support for more than 100 languages. Task prefixes cover search, question answering, fact-checking retrieval, code retrieval, classification, clustering and sentence similarity.
Outputs can use 768, 512, 256 or 128 dimensions. All input types share an 8,192-token context. At the stated defaults, images consume 280 tokens each, video frames 140 tokens each and audio 25 tokens per second. Approximate single-modality limits are 29 images, 58 video frames or 327 seconds of audio; accompanying text or other media reduces those limits.
Video defaults to one sampled frame per second, with a configurable sampling rate. The vision token budget can range from 70 to 1,120 tokens per image or frame, trading context consumption and latency against the amount of visual information represented.
Using it
requirements
The documented Python path uses sentence-transformers and transformers. No minimum package versions, operating-system requirements, download sizes or measured RAM and VRAM requirements are specified. Parameter counts alone do not establish whether a device can handle the desired batch size and context.
The card requires bfloat16 or float32 inference and warns against float16. It states that float16 can produce NaN values or silently degraded embeddings because the model's activation range exceeds that format's dynamic range. It recommends bfloat16 on hardware with native support and float32 elsewhere, including most CPUs.
Audio should be mono at 16 kHz. Queries and indexed items must use the same vector dimension. After truncating an embedding, L2-normalize it before cosine comparison. The appropriate text task prefixes also need to be applied consistently.
mechanism
The architecture combines a text backbone with optional vision and audio encoders. The card lists 24 layers, an internal model dimension of 512, mean pooling and a projection from 512 to 768 dimensions. The resulting vectors provide a common basis for comparing inputs from different modalities.
Text instructions steer the representation toward a task. Search uses different query and document formats, while symmetric tasks such as similarity use the same task prefix for compared inputs. SearchQuery supplies task: search result | query: {query}. Documents use title: {title} | text: {content}; the Document prompt name supplies title: none. Prefixes apply to text, while media inputs are passed without task prefixes.
For mixed inputs, image, video and audio placeholder tokens mark media positions in the text. Items are taken in order from the corresponding media fields and combined into one embedding. Matryoshka Representation Learning supports shorter outputs by retaining leading vector dimensions and then normalizing them again.
setup
The card begins with pip install -U sentence-transformers transformers, followed by importing SentenceTransformer and loading google/embeddinggemma-2. It leaves dependency versions and the model weight revision unpinned. The pinned README revision establishes the documentation snapshot, but does not establish a matching weight revision for that loading example.
The documented precision configuration passes the chosen torch dtype through model_kwargs. For text-only loading, config_kwargs sets both vision_config and audio_config to None. Omitting only audio gives the stated 440M text-and-image configuration; omitting only vision gives the 570M text-and-audio configuration. Encoder omission differs between libraries, according to the card.
For reduced vectors, encode accepts truncate_dim together with normalize_embeddings=True. These settings should be combined with the appropriate task prompt. The installation and loading instructions have not been executed, and package compatibility is unassessed.
example
The text example asks, What causes the northern lights?, and compares it with a document explaining that charged particles from the sun cause them. It encodes the query with prompt_name="SearchQuery", encodes the document with prompt_name="Document", and calls model.similarity on the resulting vectors. The card supplies no resulting similarity value, and the example has not been run.
The multimodal example represents a running-shoe listing with descriptive text, two image placeholders and one video placeholder. Its media fields contain shoe.jpg, mesh.jpg and demo.mp4. The intended result is one combined embedding that can be compared with a text query about waterproof trail-running shoes. The media files and resulting retrieval performance are not supplied.
Assessment & evidence
limitations
Language coverage does not imply equal quality across languages. The card identifies training-data gaps, bias, ambiguity, sarcasm and figurative language as limitations. Aggregate benchmark scores do not reveal performance for every language, domain or task.
The shared context budget constrains mixed-media inputs. Default video processing samples frames, so suitability for tasks requiring finer temporal detail remains unassessed. Higher vision budgets consume more tokens and increase the stated latency tradeoff. Actual device performance and behavior at the context limits have not been measured here.
The card says the model has no post-training alignment, safety tuning or output-level moderation. Its development safeguards focus on training-data filtering. Applications still need appropriate retrieval filtering and fairness evaluation, since harmful content or biased associations can affect downstream results.
Important failure modes can be silent: float16 may degrade embeddings, omitted text prefixes may reduce precision, and unnormalized truncated vectors may produce plausible scores with poorer rankings.
reasoning
The case for considering this model rests on its shared representation across modalities and its configurable deployment footprint. A common space could simplify an application that searches several content types, while optional encoders avoid loading unused components. That architectural benefit is an inference; the card does not compare complete application implementations.
The reported truncation results make 256 or 512 dimensions reasonable candidates for workload evaluation when vector storage matters. The larger multimodal losses at 128 dimensions weaken the case for adopting that setting solely for its storage ratio.
Task names describe representation goals. QuestionAnswering and FactChecking help encode inputs for retrieval; an embedding similarity score alone does not generate an answer or establish whether a claim is true.
alternatives
EmbeddingGemma 1 is the only named model comparator with scores in the card. The comparison covers multilingual text and code benchmarks; corresponding predecessor scores for image, video and audio tasks are absent. The evidence therefore supports a limited text comparison, rather than a broad ranking against other embedding models.
Within EmbeddingGemma 2, alternatives include text-only loading, loading one additional encoder, and choosing among four output dimensions. These configurations offer different parameter and storage requirements, but the card does not provide a complete device-performance comparison between them.
evidence
The evidence is the complete Google model card at pinned repository revision f9972ac22e696a105c482202646979e33e4b5a1e [https://huggingface.co/google/embeddinggemma-2/raw/f9972ac22e696a105c482202646979e33e4b5a1e/README.md]. It contains architecture information, usage examples, benchmark tables, license declarations, data descriptions and limitations.
Benchmark numbers and operational warnings are the model developer's reported findings. Model weights, implementation files, benchmark artifacts, linked documentation, the technical report and linked legal texts are outside the supplied evidence. No code or model was executed, and no independent runtime results are available.
Access & freshness
costs
The card provides no monetary price for inference, hosting, hardware or operation. Actual deployment cost is unknown. Its consumer-hardware positioning does not establish a particular device budget or throughput.
Keeping 128 rather than 768 values reduces the vector payload sixfold at the same numeric storage precision; 256 dimensions gives a threefold reduction. These ratios do not establish an equivalent reduction in the total cost of a vector database, which also stores indexes and other data.
Selective encoder loading reduces the stated parameter count, and the card says bfloat16 halves numeric memory use relative to float32. Neither statement provides a measured total application memory footprint.
rights
The card declares license: apache-2.0 in its metadata and labels its license Apache 2.0. Its license link points to [https://ai.google.dev/gemma/docs/gemma_4_license]. The full linked license text is outside the available evidence.
The card also states that deployments must adhere to the Gemma Prohibited Use Policy [https://ai.google.dev/gemma/prohibited_use_policy]. That policy's contents and its relationship to the license declaration are unknown from the supplied card. Detailed commercial-use, modification and redistribution obligations therefore require confirmation from the applicable terms.
freshness
The supplied card was captured on 13 November 2026 at 04:31:56.210 UTC. It describes a January 2025 training-data cutoff and includes a technical-report citation dated 2026. The capture date establishes the available snapshot; the exact release date, subsequent changes and current dependency compatibility are unknown.
actions
Before adoption, evaluate representative queries and corpus items in the required languages and modalities. Compare 768, 512 and 256 dimensions using retrieval metrics relevant to the application, and assess 128 dimensions separately if its storage reduction is attractive. Keep query and corpus dimensions consistent and normalize shortened vectors.
Measure latency, peak memory and throughput on the intended device with realistic input lengths, media budgets and batch sizes. Use bfloat16 where supported or float32 otherwise, apply the appropriate text prefixes, and check for non-finite embeddings. Record the actual dependency versions and weight revision used.
Confirm the applicable license and referenced use-policy terms. For production retrieval, assess harmful-result filtering and fairness for the intended corpus and users. These evaluations remain outstanding; the model card alone does not establish application readiness.
