A very rough implementation of CLIP (weights) by OpenAI using the Candle framework.
Note
While I was working on this, CLIP got officially added to Candle, so there is no reason to use this library. https://github.com/huggingface/candle/tree/main/candle-examples/examples/clip