Instructions to use google/siglip-so400m-patch14-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/siglip-so400m-patch14-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="google/siglip-so400m-patch14-384") 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("google/siglip-so400m-patch14-384") model = AutoModelForZeroShotImageClassification.from_pretrained("google/siglip-so400m-patch14-384") - Notebooks
- Google Colab
- Kaggle
read
#11 opened 12 months ago
by
Angel522776
Is SiglipImageProcessor configured correctly?
5
#9 opened over 1 year ago
by
karby
Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory D:/comfyui/models/clip\siglip-so400m-patch14-384
π₯ 1
9
#8 opened over 1 year ago
by
danzjhioaj
How to set grad checkpointing?
1
#6 opened almost 2 years ago
by
mactavish91
Probability always showing zero
1
#5 opened about 2 years ago
by
sans07-jd