Instructions to use rakeshjv2000/fashion-clip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rakeshjv2000/fashion-clip-vit-base-patch32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="rakeshjv2000/fashion-clip-vit-base-patch32") 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("rakeshjv2000/fashion-clip-vit-base-patch32") model = AutoModelForZeroShotImageClassification.from_pretrained("rakeshjv2000/fashion-clip-vit-base-patch32") - Notebooks
- Google Colab
- Kaggle
Fashion CLIP ViT-B/32
Fine-tuned CLIP model for fashion image-text retrieval.
Model Details
- Base model: openai/clip-vit-base-patch32
- Fine-tuned on a fashion dataset
- Task: image-text similarity & retrieval
Usage
from transformers import CLIPModel, CLIPProcessor
model = CLIPModel.from_pretrained("rakeshjv2000/fashion-clip-vit-base-patch32")
processor = CLIPProcessor.from_pretrained("rakeshjv2000/fashion-clip-vit-base-patch32")
- Downloads last month
- 6