Contents

EmbeddingGemma 2 finding text and pictures in one space: a seven-query smoke test

Date
2 November 2026
Task type
Local models
Status
Complete

Models tested

Model or toolProviderOpen?How run
EmbeddingGemma 2 (Revision 914f7f89, 768 dimensions, sentence-transformers on MPS, float32)GoogleOpen weightsLocal

Purpose

Check that one local model places words and pictures in a shared space well enough for a single search over mixed items, before relying on it in a desktop app.

Context

Apple M4 Max laptop, 128 GiB unified memory. Six made-up items in one index: three drawn pictures of a coloured shape on white, and three one-sentence texts with a title.

Method

Pinned revision downloaded, then all items embedded through the app's own local call, batch size 8. Seven written queries used the SearchQuery prompt. Ranking by cosine similarity over all six items. No tuning; each query run once.

Results

All seven queries put the right item first, four of them searching words for a picture, with top scores of 0.74 to 0.80 against 0.55 to 0.64 for the runner-up.
QueryRight itemTop scoreRunner-up score
a red circlepicture0.7640.621
a blue squarepicture0.7820.629
a green trianglepicture0.7910.609
something round and redpicture0.7350.592
boats coming back to porttext0.7600.598
money approved by a committeetext0.7560.554
someone who looks after a lighthousetext0.7960.641

Caveats

What this suggests

Enough to build on for a shared text and picture index on one Mac. It says nothing yet about quality on real archives, which needs its own test.

More detail

The model loaded through a pinned local snapshot with no remote code. Scores for text and pictures were close enough to compare in one list on this small set. That may not hold on a real collection, so a real search also ranks text and picture matches separately and combines the ranks.

Source

entries/2026-11-02-embeddinggemma-2-joint-text-picture-smoke.md in the GitHub repository (Markdown with YAML frontmatter).

Cite this page

Lukeš, Dominik (2026). EmbeddingGemma 2 finding text and pictures in one space: a seven-query smoke test. Model Data Points. https://datapoints.semanticmachines.fyi/embeddinggemma-2-joint-text-picture-smoke/

Search Model Data Points

↑ ↓ move · Enter open · Shift+Enter source · Esc close
Public search index · All entries and pages

Keyboard shortcuts

Single keys work when you are not typing and no dialog is open.

Turn these off if stray key presses move the page. ⌘K / Ctrl+K and Esc keep working.

/
Search
⌘K / Ctrl+K
Toggle search
?
Keyboard shortcuts
m
Cycle system, light and dark theme
t
Scroll to top