Downloads · 30 days
0
rishi506/clip-car-damage
clip-car-damage is a image classification model from rishi506. Use it when you need a label for an image. The card lists the license as mit.
Fine-tuned openai/clip-vit-base-patch32 with LoRA adapters for classifying vehicle damage from customer photos — insurance claim use case.
Downloads · 30 days
0
Access
Public
Updated Apr 5, 2026
Repo size
148 KB
Likes
0
Public
Click a slice to open those files.
.json3.6 MB · 93%
From the Hugging Face model README
Fine-tuned openai/clip-vit-base-patch32 with LoRA adapters for classifying
vehicle damage from customer photos — insurance claim use case.
dent: a car with a dent or body panel deformationintact: an intact car with no visible damagemajor_collision: a severely damaged car after a major collisionscratch: a car with paint scratches or surface abrasionsimport torch
model = CLIPModel.from_pretrained("rishi506/clip-car-damage")
processor = CLIPProcessor.from_pretrained("rishi506/clip-car-damage")
# Zero-shot classification
texts = list(['a car with a dent or body panel deformation', 'an intact car with no visible damage'] ...)
inputs = processor(text=texts, images=your_image, return_tensors="pt", padding=True)
outputs = model(**inputs)
probs = outputs.logits_per_image.softmax(dim=1)