Instructions to use TencentARC/QA-CLIP-ViT-B-16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TencentARC/QA-CLIP-ViT-B-16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="TencentARC/QA-CLIP-ViT-B-16") 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("TencentARC/QA-CLIP-ViT-B-16") model = AutoModelForZeroShotImageClassification.from_pretrained("TencentARC/QA-CLIP-ViT-B-16") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 416f0d6
Update README_CN.md 525da4c
Update README.md bbeb837
Update README.md ff1624b
Update README.md b2078f5
Update README_CN.md 7661e7b
Update README_CN.md fa8f0e3
Update README.md 5faf483
Update README.md 72d0897
Update README.md 86dd750
Upload pytorch_model.bin fff3f47
Update README.md 3d4dd1e
Update README.md c404cd7
Upload pytorch_model.bin 1ea72fb
Update README.md 0c44659
Upload 6 files f19719d
kunyi commited on