Instructions to use romanoneg/PixelmapCLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use romanoneg/PixelmapCLIP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="romanoneg/PixelmapCLIP") 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("romanoneg/PixelmapCLIP") model = AutoModelForZeroShotImageClassification.from_pretrained("romanoneg/PixelmapCLIP", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
acfcf55 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:90f5be65f958cdd09f27978c425fa30d2e3b9e8c42622aa87393f21b6bcdb20b
size 605245893
|