Commit
·
412ac2c
1
Parent(s):
db39e6e
Add TinyCLIP-Kandinsky adapter
Browse files- README.md +13 -0
- adapter_checkpoint_5000.pth +3 -0
README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TinyCLIP-Kandinsky Adapter
|
| 2 |
+
|
| 3 |
+
This repository contains the TinyCLIP-Kandinsky adapter checkpoint.
|
| 4 |
+
|
| 5 |
+
## Usage
|
| 6 |
+
|
| 7 |
+
```python
|
| 8 |
+
from huggingface_hub import hf_hub_download
|
| 9 |
+
import torch
|
| 10 |
+
|
| 11 |
+
adapter_path = hf_hub_download(repo_id='Prisma-Multimodal/TinyCLIP-Kandinsky-adapter', filename='adapter_checkpoint_5000.pth')
|
| 12 |
+
adapter = torch.load(adapter_path, map_location=torch.device('cpu'))
|
| 13 |
+
```
|
adapter_checkpoint_5000.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac096874cf03872b2a77dfcf656d685f7d8179f3ba96c7388a8815adef09ff5a
|
| 3 |
+
size 48284696
|