EmbeddingGemma 2

(blog.google)

74 points by ilreb5 hours ago

6 comments

  • simonw39 minutes ago
    I really appreciate that EmbeddingGemma 2 is under the Apache 2.0 license.<p>For embedding models in particular, I don&#x27;t think it makes sense to use a closed, proprietary, hosted-only model.<p>Most applications of embedding models involve calculating thousands or even millions of embedding vectors and storing them for later comparison.<p>If your model is proprietary, the vendor is likely someday going to decide to stop offering that model. They&#x27;ll have a better model to replace it, but you still need to pay to re-calculate those millions of stored existing vectors.<p>(In April 2024 OpenAI offered to &quot;cover the financial cost of users re-embedding content with these new models&quot; - <a href="https:&#x2F;&#x2F;openai.com&#x2F;index&#x2F;gpt-4-api-general-availability&#x2F;" rel="nofollow">https:&#x2F;&#x2F;openai.com&#x2F;index&#x2F;gpt-4-api-general-availability&#x2F;</a> - but I don&#x27;t think that&#x27;s something we can rely on from every provider.)<p>Notably, I <i>don&#x27;t want to host the model myself</i>. I&#x27;d much rather pay a provider for a hosted model while knowing that if they ever stop hosting it I can run the open weights version myself - or find another vendor who can do that for me.
  • djoldman3 minutes ago
    Parameter count split is interesting:<p>740M total (270M text, 170M vision, 300M audio)
  • nowittyusername9 minutes ago
    I&#x27;m considering adding this in my harness after some testing, this seems like a really nice embedding model!
  • flockonus17 minutes ago
    Hats off to google for offering OSS (or at least open weights + license) a model that would be probably pretty closed to what they would ship in their Android phones.
  • minimaxir4 hours ago
    <i>Finally</i>. I was getting annoyed that there&#x27;s been an inflection point in how LLMs&#x2F;agents work but there hasn&#x27;t been a good moderate-size embeddings model, and this one is multimodal too! 270M for text only is great compared to older embedding models, and a total 440M for text + vision is also fair.<p>I also may or may not have a tool for much faster local embedding creation that I calibrated for EmbeddingGemma but didn&#x27;t want to release until a better embedding model came along.
    • alberto46747 minutes ago
      Not just vision with video, but also audio, it really seems amazing.<p>I’m not sure how it can handle vicinity of pairs of embeddings with for example some words and the audio where they’re spoken or an image where the text is handled. Building local multimodal search with this would be amazing. I’ve explored this stuff with CLIP and it’s interesting how image (but also audio) embedding carries both the clean “text” content information but also the stylistic and visual&#x2F;audio tone information, the two can even kind of be linearly separated.
  • brokensegue31 minutes ago
    why isn&#x27;t this being compared to siglip2 (also from google)? because that one isn&#x27;t fully multimodal? or because it&#x27;s a different org&#x2F;team?