Upload pytorch_model.bin 24be3a0
sberbank-ai commited on
How to use DaniloTrotta/Kandinsky_2.1 with OpenCLIP:
import open_clip
model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:DaniloTrotta/Kandinsky_2.1')
tokenizer = open_clip.get_tokenizer('hf-hub:DaniloTrotta/Kandinsky_2.1')