Zero-Shot Image Classification
Transformers
PyTorch
English
clip
feature-extraction
medical
custom_code
Instructions to use Idan0405/ClipMD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Idan0405/ClipMD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Idan0405/ClipMD", trust_remote_code=True) 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("Idan0405/ClipMD", trust_remote_code=True) model = AutoModel.from_pretrained("Idan0405/ClipMD", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
9cc2de7 -
Update README.md
a3da179 -
Update README.md
ca9c7d6 -
Update README.md
7a46c56 -
Update README.md
034c334 -
Update README.md
cc84bbe -
Update README.md
1fd6c11
-
Update README.md
8281b18
-
Update README.md
23a6a9a
-
Update README.md
c67559e
-
Update README.md
01841c3 -
Update README.md
1c9561a -
Update README.md
07097a9 -
Update README.md
e8b64bf -
Update README.md
328a257 -
Update README.md
f3f0e75 -
Update README.md
671cf8a -
Update README.md
c79b659 -
Update README.md
ea84b10 -
Create README.md
c3f6a06
-
add model
b2f62dc -
add model
50f420b -
Upload ClipMDModel.py
1cc900c -
add model
0707df9 -
initial commit
7892f46