Instructions to use Shadowmachete/CLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shadowmachete/CLIP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Shadowmachete/CLIP") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("Shadowmachete/CLIP") model = AutoModelForZeroShotImageClassification.from_pretrained("Shadowmachete/CLIP") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- Apr01_08-38-14_LAPTOP-RETT3JD7
- Apr01_08-42-52_LAPTOP-RETT3JD7
- Apr01_08-45-05_LAPTOP-RETT3JD7
- Apr01_08-45-30_LAPTOP-RETT3JD7
- Apr01_08-49-46_LAPTOP-RETT3JD7
- Apr01_08-55-39_LAPTOP-RETT3JD7
- Apr02_08-21-06_LAPTOP-RETT3JD7
- Apr02_08-30-09_LAPTOP-RETT3JD7
- Apr02_08-42-29_LAPTOP-RETT3JD7
- Apr02_08-54-01_LAPTOP-RETT3JD7
- Apr02_09-02-18_LAPTOP-RETT3JD7
- Apr02_09-03-44_LAPTOP-RETT3JD7
- Apr02_09-06-23_LAPTOP-RETT3JD7