Instructions to use Jl-wei/uiclip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jl-wei/uiclip-vit-base-patch32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Jl-wei/uiclip-vit-base-patch32") 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("Jl-wei/uiclip-vit-base-patch32") model = AutoModelForZeroShotImageClassification.from_pretrained("Jl-wei/uiclip-vit-base-patch32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatured17ca8a
-
Update README.md
Verified signature6104a4c
-
Update README.md
Verified signature0bed9f7
-
Update README.md
Verified signature3a75772
-
Update README.md
Verified signaturea80ecc9
-
Upload tokenizer
Verified signaturecaf4d3b -
Update config.json
Verified signature0752344 -
Upload model
Verified signaturee2847f0 -
initial commit
Verified signatureb1e1e65