Instructions to use Andron00e/CLIPForImageClassification-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Andron00e/CLIPForImageClassification-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Andron00e/CLIPForImageClassification-v1") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("Andron00e/CLIPForImageClassification-v1") model = AutoModelForImageClassification.from_pretrained("Andron00e/CLIPForImageClassification-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
336e883
-
Update README.md
5107e88
-
Update README.md
3a70b14
-
changed model type from "clip_vision_model" to "clip"
eec6bf2 -
Update README.md
0883ed9 -
Update README.md
864d54e -
Update README.md
fc32400 -
End of training
6d9d70a -
initial commit
8a32a29