Instructions to use apple/DFN5B-CLIP-ViT-H-14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use apple/DFN5B-CLIP-ViT-H-14 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:apple/DFN5B-CLIP-ViT-H-14') tokenizer = open_clip.get_tokenizer('hf-hub:apple/DFN5B-CLIP-ViT-H-14') - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#7
by SFconvertbot - opened
- model.safetensors +3 -0
- open_clip_pytorch_model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c6eacfd91f61924d2eb011368e9c169d1c6b96f04c8d1e49f454e8989b55cc1
|
| 3 |
+
size 3944556332
|
open_clip_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c4db606e0227a9b25ff089a0d92840161b03d39640ef4124c3be5923c77bcf3
|
| 3 |
+
size 3944517836
|