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:28be526686a9dda2360907f4b5f439441770cb87bde84afe26ceb053a05396e5
size 1710667341
|