EmbeddingGemma 2 puts text, code, images, video, and audio in one on-device embedding space
Google DeepMind's Apache-2.0 EmbeddingGemma 2 (740M parameters, or 270M for text only) has an 8K context, 768-dim vectors you can truncate to 128, and jumps from 68.76 to 78.68 on MTEB Code, so it's a fit for local codebase indexing and coding-agent retrieval. Weights are on Hugging Face and Kaggle and run in sentence-transformers 6.1+, Ollama, llama.cpp, vLLM, MLX, and LM Studio.