---
title: "Welcome EmbeddingGemma, Google's new efficient embedding model"
description: "EmbeddingGemma is Google's 308M-parameter multilingual text embedding model."
url: "https://swe.quest/articles/welcome-embeddinggemma-google-s-new-efficient-embedding-model-6dfba9cbb9b4eedd"
canonical: "https://huggingface.co/blog/embeddinggemma"
source: "Hugging Face"
published: "2025-09-04"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 30
tags: ["rag","vector-search","model-training","llms","python"]
---

# Welcome EmbeddingGemma, Google's new efficient embedding model

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-09-04, 30 min read, Announcement. Original: [https://huggingface.co/blog/embeddinggemma](https://huggingface.co/blog/embeddinggemma)

## Summary

EmbeddingGemma is Google's 308M-parameter multilingual text embedding model. It is built on a Gemma3 backbone modified to use bidirectional attention, with mean pooling and two dense layers producing 768-dimensional vectors. It supports a 2K-token context and over 100 languages, runs in under 200 MB of RAM when quantized, and ranks highest among text-only multilingual models under 500M parameters on MMTEB. Because it was trained with Matryoshka Representation Learning, embeddings can be truncated to 512, 256 or 128 dimensions, and inputs need task-specific prompts such as "task: search result | query: " to get correct results. Code examples cover Sentence Transformers, LangChain, LlamaIndex, Haystack, txtai, Transformers.js, TEI and ONNX, plus a finetuning walkthrough on the MIRIAD medical dataset whose resulting model outperforms models twice its size on that task.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- text embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- transformer models
- semantic search basics ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))

## Keywords

EmbeddingGemma, Gemma3, Sentence Transformers, Matryoshka Representation Learning, MTEB, Text Embeddings Inference, Transformers.js, LangChain

## Related posts

- [Welcome Gemma 3: Google's all new multimodal, multilingual, long context open LLM](https://swe.quest/articles/welcome-gemma-3-google-s-all-new-multimodal-multilingual-long-context-open-llm-9610089c9e0bc05e.md): Hugging Face · 2025-03-12 · Medium · 13 min read · LLMs, Inference & serving, Computer vision, Python
  Gemma 3 is Google's open-weight model family in 1B, 4B, 12B and 27B sizes, with 128k context (32k for 1B), image input via a SigLIP encoder on the 4B and larger models, and support for 140+ languages.
- [Welcome Gemma 4: Frontier multimodal intelligence on device](https://swe.quest/articles/welcome-gemma-4-frontier-multimodal-intelligence-on-device-0f273ea2e465623b.md): Hugging Face · 2026-04-02 · Medium · 36 min read · LLMs, Inference & serving, Computer vision, Model training
  Google DeepMind's Gemma 4 is an Apache 2-licensed multimodal model family in five sizes: E2B, E4B, a 12B encoder-free Unified model, a 31B dense model and a 26B MoE with 4B active parameters.
- [Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality](https://swe.quest/articles/granite-embedding-multilingual-r2-open-apache-2-0-multilingual-embeddings-with-3523dab9fcdbdf6c.md): Hugging Face · 2026-05-14 · Medium · 16 min read · RAG & retrieval, Machine learning, Model training, Evaluation, Search
  IBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1).
- [Welcome Gemma - Google’s new open LLM](https://swe.quest/articles/welcome-gemma-google-s-new-open-llm-a7d68dd269473a81.md): Hugging Face · 2024-02-21 · Medium · 9 min read · LLMs, Inference & serving, Model training, Python
  Google's Gemma open LLM family ships in 2B and 7B sizes, each with base and instruction-tuned variants and an 8K context.
- [PaliGemma – Google's Cutting-Edge Open Vision Language Model](https://swe.quest/articles/paligemma-google-s-cutting-edge-open-vision-language-model-eb2d13e0b9bcd3ec.md): Hugging Face · 2024-05-14 · Medium · 11 min read · Computer vision, LLMs, Model training, Inference & serving, Python
  PaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
