Instructions to use apple/DFN2B-CLIP-ViT-B-16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use apple/DFN2B-CLIP-ViT-B-16 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:apple/DFN2B-CLIP-ViT-B-16') tokenizer = open_clip.get_tokenizer('hf-hub:apple/DFN2B-CLIP-ViT-B-16') - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
8fdf8d1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:01832e9567e6f668928c6ef493fe9c0985f9df146e0212bdccc87f3e25e37084
size 598597605
|