use case · multi-model
Embeddings are the same idea in every modality — turn a thing into a vector, and similarity becomes a distance. Here two models make that concrete, both running locally. DINOv2 embeds a set of images; MiniLM embeds their captions. Two separate spaces, two similarity matrices — and the same groupings emerge in pixels and in words.
Image side — DINOv2-small (~24 MB):
Text side — all-MiniLM-L6-v2 (~25 MB):
Each row is one item: an image and a caption describing it. Edit the captions if you like, then run both models.
The two matrices are computed in totally separate embedding spaces — DINOv2 never sees the text, MiniLM never sees the pixels — yet the block structure (the two cats together, the two cars together) lines up. That shared geometry is what makes cross-modal systems like CLIP possible.