Instructions to use masterhaniwa/CLIP_ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use masterhaniwa/CLIP_ft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="masterhaniwa/CLIP_ft") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("masterhaniwa/CLIP_ft") model = AutoModelForZeroShotImageClassification.from_pretrained("masterhaniwa/CLIP_ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model_old.bin from masterhaniwa/CLIP_ft: direct link, hf CLI and curl.
- Browser
- Download file 599 MB
-
https://huggingface.co/masterhaniwa/CLIP_ft/resolve/refs%2Fpr%2F1/pytorch_model_old.bin
- Command line
-
hf download hf://masterhaniwa/CLIP_ft@refs/pr/1/pytorch_model_old.bin
-
curl -L -o pytorch_model_old.bin https://huggingface.co/masterhaniwa/CLIP_ft/resolve/refs%2Fpr%2F1/pytorch_model_old.bin
599 MB
- Xet hash:
- 459323580169058a57f0b0e6d1f1341bf158011e518a8fd722be0f920d634d7f
- Size of remote file:
- 599 MB
- SHA256:
- 8e765a6cf505bcf52e9918f8c17ba3222b828a0cda0b77c157e14a701e6a98a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.