Instructions to use apple/DFN5B-CLIP-ViT-H-14-378 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-378 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:apple/DFN5B-CLIP-ViT-H-14-378') tokenizer = open_clip.get_tokenizer('hf-hub:apple/DFN5B-CLIP-ViT-H-14-378') - Notebooks
- Google Colab
- Kaggle
Update open_clip_config.json
Browse files- open_clip_config.json +1 -1
open_clip_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"embed_dim": 1024,
|
| 4 |
"quick_gelu": true,
|
| 5 |
"vision_cfg": {
|
| 6 |
-
"image_size":
|
| 7 |
"layers": 32,
|
| 8 |
"width": 1280,
|
| 9 |
"head_width": 80,
|
|
|
|
| 3 |
"embed_dim": 1024,
|
| 4 |
"quick_gelu": true,
|
| 5 |
"vision_cfg": {
|
| 6 |
+
"image_size": 378,
|
| 7 |
"layers": 32,
|
| 8 |
"width": 1280,
|
| 9 |
"head_width": 80,
|