This model classifies a face to a celebrity. It is trained on tonyassi/celebrity-1000 dataset and fine-tuned on google/vit-base-patch16-224-in21k.
tonyassi/celebrity-1000 Top 1000 celebrities. 18,184 images. 256x256. Square cropped to face.
from transformers import pipeline
# Initialize image classification pipeline
pipe = pipeline("image-classification", model="tonyassi/celebrity-classifier")
# Perform classification
result = pipe('image.png')
# Print results
print(result)
It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
model.safetensors 346 MBtraining_args.bin 4.6 kB