Search & RAG/Hugging Face/Model

embeddinggemma-2

by google·Last observed 2026-10-27
♥ 2,952 likes↓ 231.3K 30d downloads

EmbeddingGemma 2 is a multimodal embedding model that maps text, code, images, video, audio, and combinations of these into a shared vector space. Its task prefixes steer representations for uses such as search, classification, clustering, and similarity. Separate vision and audio encoders can be selectively loaded.

Useful for

  • Index a product listing together with its images and video into one embedding, then compare it with a text-only search query.

Key features

  • Produces a shared embedding for interleaved text and media inputs, allowing a text query to be compared with a multimodal item.
  • Uses task instruction prefixes for asymmetric retrieval tasks and symmetric tasks such as classification or similarity.
  • Supports output truncation to 128, 256, 512, or 768 dimensions, with re-normalization required after truncation.

Requirements & limitations

  • The documented Sentence Transformers quick start installs `sentence-transformers` and `transformers`; text-only or single-modality deployments can disable unused encoders.
  • All modalities share an 8,192-token context budget; mixed inputs consume that shared budget.

Project information

CategorySearch & RAG
TypeModel
Author / organizationgoogle
Licenseapache-2.0
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote