Instructions to use waelhasan/clip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use waelhasan/clip-vit-base-patch32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="waelhasan/clip-vit-base-patch32") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("waelhasan/clip-vit-base-patch32") model = AutoModelForImageClassification.from_pretrained("waelhasan/clip-vit-base-patch32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
675447c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:78fc9d89ad8e328aa5483a5722ac6d1da58545022e2e032cdad1a54a13ba7120
size 5137
|