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 README.md
Browse files
README.md
CHANGED
|
@@ -63,7 +63,7 @@ These weights are directly usable in OpenCLIP (image + text).
|
|
| 63 |
| **Average** | **0.709421** |
|
| 64 |
|
| 65 |
|
| 66 |
-
[1]: Center-crop pre-processing used for ObjectNet (squashing results in
|
| 67 |
## Model Usage
|
| 68 |
### With OpenCLIP
|
| 69 |
```
|
|
|
|
| 63 |
| **Average** | **0.709421** |
|
| 64 |
|
| 65 |
|
| 66 |
+
[1]: Center-crop pre-processing used for ObjectNet (squashing results in lower accuracy of 0.737)
|
| 67 |
## Model Usage
|
| 68 |
### With OpenCLIP
|
| 69 |
```
|