| # TinyCLIP-Kandinsky Adapter | |
| This repository contains the TinyCLIP-Kandinsky adapter checkpoint. | |
| ## Usage | |
| ```python | |
| from huggingface_hub import hf_hub_download | |
| import torch | |
| adapter_path = hf_hub_download(repo_id='Prisma-Multimodal/TinyCLIP-Kandinsky-adapter', filename='adapter_checkpoint_5000.pth') | |
| adapter = torch.load(adapter_path, map_location=torch.device('cpu')) | |
| ``` | |