Instructions to use TJKlein/CLIP-ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TJKlein/CLIP-ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="TJKlein/CLIP-ViT") 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("TJKlein/CLIP-ViT") model = AutoModelForZeroShotImageClassification.from_pretrained("TJKlein/CLIP-ViT") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 517dceed75df6d726947015d59438470590a840970ce9228ee22458abe13c22e
- Size of remote file:
- 3.9 kB
- SHA256:
- 14be30e15e08a0663eae5b4d1a7a7ed95326a5b4c5b0c0258b2fd1ff9c7c405f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.