Add NegationCLIP checkpoints
Browse files- README.md +13 -0
- negationclip_ViT-B16.pth +3 -0
- negationclip_ViT-B32.pth +3 -0
- negationclip_ViT-L14-336px.pth +3 -0
- negationclip_ViT-L14.pth +3 -0
README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# NegationCLIP
|
| 3 |
+
- This repository hosts the **model checkpoint** only.
|
| 4 |
+
- Usage example (PyTorch):
|
| 5 |
+
|
| 6 |
+
```python
|
| 7 |
+
|
| 8 |
+
import torch
|
| 9 |
+
import clip
|
| 10 |
+
|
| 11 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 12 |
+
model, preprocess = clip.load("ViT-B/32", device=device)
|
| 13 |
+
model.load_state_dict(torch.load("negationclip_ViT-B32.pth", map_location=device))
|
negationclip_ViT-B16.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c47cd4ece94eff9202d6a498bad4c11429c29ff964be6087f739c5edf367773f
|
| 3 |
+
size 598599662
|
negationclip_ViT-B32.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b693c2bbdc7f651d5b286096ccfc7d31e4a2b17f47e40a1e6dc688fdcd605b26
|
| 3 |
+
size 605225966
|
negationclip_ViT-L14-336px.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efe4bf9c16148974a103eb42291631aee3142d86b81842027aa3cf505e738f1e
|
| 3 |
+
size 1711950028
|
negationclip_ViT-L14.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ca7f19bbf4bde155db93233e581fe672293589aa83a729f73a8df7a98546dd2
|
| 3 |
+
size 1710639308
|