Zero-Shot Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
English
vision-text-dual-encoder
feature-extraction
clip
vision
medical
bert
Instructions to use kaveh/rclip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaveh/rclip with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="kaveh/rclip") 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, AutoModel processor = AutoProcessor.from_pretrained("kaveh/rclip") model = AutoModel.from_pretrained("kaveh/rclip", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Add base_model information to model (#2)
Verified signature- Librarian Bot: Add base_model information to model (65b50a10e5c12db100a062b183c71a2d81e991b5) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>c681fce
-
updated citation
9fb90f4 -
changes for appearance
88f2731 -
added expandable part
79b42bc -
added citation
808d0da -
added import numpy to example code
b3809b5 -
added python tag to code examples
35a5f28 -
added example applications
c877192
-
added more examples to widget
0453a39 -
changed type
dbb386e -
added input image link
4213014 -
changed inference part
c675781
-
Adding `safetensors` variant of this model (#1)
- initial commit (1f1c68ba0603ea4f3eb6fbde2972d6b288c20c0e) - initial commit (e8b296b1ecc852d5b8cd64b1ce063e137faad7ac) - Model save (3eec08ebd3807e066fc2f19967f89f4e91da17c0) - updated-added more information (f4ea2cb7b55bc3dcde7bab7595b11276ce8c777d) - trained on clip14 and cxrbert (f867c2e8c365d23d93c201b1705a930fee3f352e) - updated (af2257c55ce1a70dbe2d101797e722ac42fee90e) - added heatmap image (4f8df330597b1cc526eeeec395c7f5b81c8cde93) - added dataset link (10fa0b44947c721c38c21e23c79b199465470d9d) - updated (7981267eed425f4b42982cabd0593009563300f3) - removed dataset name (2506a9415421102e07c863e69d3de09bd65d40e3) - Adding `safetensors` variant of this model (e72a90a99393ebe3ccf5906ecbe5984e3112e140) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>c3655be -
init
12cb5cd