File size: 377 Bytes
412ac2c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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'))
```