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
Download open_clip_pytorch_model.bin from apple/DFN2B-CLIP-ViT-B-16: direct link, hf CLI and curl.
- Browser
- Download file 599 MB
-
https://huggingface.co/apple/DFN2B-CLIP-ViT-B-16/resolve/main/open_clip_pytorch_model.bin
- Command line
-
hf download hf://apple/DFN2B-CLIP-ViT-B-16/open_clip_pytorch_model.bin
-
curl -L -o open_clip_pytorch_model.bin https://huggingface.co/apple/DFN2B-CLIP-ViT-B-16/resolve/main/open_clip_pytorch_model.bin
599 MB
- Xet hash:
- 0248678438ed2fbd9a907321588ca5f456cb3805a765a0ab9d0444b4cc4dcda8
- Size of remote file:
- 599 MB
- SHA256:
- 01832e9567e6f668928c6ef493fe9c0985f9df146e0212bdccc87f3e25e37084
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.