Skip to content

About

Practical EmbeddingGemma 2 notebook: multimodal embeddings, semantic search over images, audio and text, Matryoshka dimensions, sentence-transformers

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

EmbeddingGemma 2 in Practice

A hands-on notebook (embeddinggemma2_practical.ipynb) for Google's multimodal embedding model, google/embeddinggemma-2. It covers:

  • Loading only the encoders you need: text only (270M) up to text + image + audio (740M)
  • Using query and document prompts, and why they matter
  • Building a search over a mixed library of photos, sound clips and notes: index once with the full model, then search with the lightweight text-only model

Data

Sound clips: ESC-50 (CC BY-NC 3.0), github.com/karolpiczak/ESC-50. Photos: Wikimedia Commons; per-image sources and licences in data/SOURCES.json.

About

Practical EmbeddingGemma 2 notebook: multimodal embeddings, semantic search over images, audio and text, Matryoshka dimensions, sentence-transformers

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages