Instructions to use drift-ai/drawify-snapsearch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use drift-ai/drawify-snapsearch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="drift-ai/drawify-snapsearch") 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("drift-ai/drawify-snapsearch") model = AutoModelForZeroShotImageClassification.from_pretrained("drift-ai/drawify-snapsearch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.9d39cf3
-
re-add model 20240103-1
Vincent Claesbda9824
-
Upload processor
Verified signature707ad68 -
Upload model
Verified signatured00b933
-
Upload processor
1ff689b -
Upload model
4c6e8e0
-
Upload processor
063daf5 -
Upload model
82bf458 -
Delete model.safetensors
9457571 -
Upload processor
94d5f07 -
Upload model
bf1c94a
-
Upload processor
0e7c7f7 -
Upload model
cce44dc -
Upload processor
dc3072b -
Upload model
5f06e40 -
Upload processor
c0d5ac2 -
Upload model
65eeab7 -
Upload processor
4976dad -
Upload model
e6ef3bd
-
Upload processor
80e016e -
Upload model
d145891 -
initial commit
7f79b77