Instructions to use apple/DFN2B-CLIP-ViT-L-14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use apple/DFN2B-CLIP-ViT-L-14 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:apple/DFN2B-CLIP-ViT-L-14') tokenizer = open_clip.get_tokenizer('hf-hub:apple/DFN2B-CLIP-ViT-L-14') - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
Files changed (2)
- model.safetensorsAdded+3
- open_clip_pytorch_model.safetensorsAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:571027fa42b7449731477c2865e98141ebc69732b34b1eb088aa590b3b09c883size 1710543652123version https://git-lfs.github.com/spec/v1oid sha256:3c18cdfd295ecdcc65db1f53ec4ed08cdd17dc919b590895aa61180df7426707size 1710517748model.safetensorsAdded+3
open_clip_pytorch_model.safetensorsAdded+3