/lit-encoder-js

LiT (Zero-Shot Transfer with Locked-image text Tuning) image and text encoder models, working in the browser

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

LiT Image and Text Encoders For Browser & Deno

This repo demonstrates LiT converted to ONNX and running in the browser. Check out the demos below. Note that the models are ~400mb each so they may take a while to initalize depending on your internet speed.

Demos:

JAX to ONNX conversion notebook: https://colab.research.google.com/github/josephrocca/lit-encoder-js/blob/main/LiT_conversion_jax2tf_to_SavedModel_to_ONNX_text_%26_image_models.ipynb