Skip to content

Ubiquité v0.1.11

Latest

Choose a tag to compare

@edoigtrd edoigtrd released this 14 Nov 19:32
· 1 commit to master since this release

🖼️ Ubiquité v0.1.11

🚀 Release: Default CLIP Reranker

This release implements a new Clip based reranker and set in as default reranker.


✨ What’s New

🧠 Default Reranker → ClipReranker

Ubiquité now ships with ClipReranker as the default image reranker.
It uses a lightweight MobileCLIP model by default, giving semantic ranking while keeping latency low.

You can, of course, override this in your config.toml, but the default is now:

[images_search.reranker]
class = "ClipReranker"

[images_search.reranker.config]
model_name = "hf-hub:apple/MobileCLIP-S1-OpenCLIP"
device = "auto"

This change replaces the old SizeReranker as the main fallback.


📚 Documentation Upgrade (README)

I know README is not a suitable documentation but let's pretend

The README now includes:

  • A full explanation of how image search works
  • Clear setup instructions for ClipReranker
  • A link to available CLIP models
  • Guidance for writing your own reranker
  • References to the ImageResult class and registry usage

This makes the module fully discoverable for contributors and advanced users.


🔧 Config Changes

If you're upgrading from v0.1.10 and using SizeReranker, you should update your config.toml to match the new default:

[images_search.reranker]
class = "ClipReranker"

[images_search.reranker.config]
model_name = "hf-hub:apple/MobileCLIP-S1-OpenCLIP"
device = "auto"

Voyage example remains unchanged:

[images_search.reranker]
class = "VoyageReranker"
[images_search.reranker.config]
model = "voyage-multimodal-3"
api_key = "YOUR_API_KEY"

I strongly recommand you to use the new ClipReranker because it's free, local, reliable and fast.