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
File size: 135 Bytes
fa63e19 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c02c84198ede77ad80df0803224022f1e9e95ce42551baa91a1b5d87e229e2bb
size 1710610565
|