tonyassi / celebrity-classifier

huggingface.co
Total runs: 211
24-hour runs: -7
7-day runs: -1
30-day runs: -20
Model's Last Updated: January 30 2024
image-classification

Introduction of celebrity-classifier

Model Details of celebrity-classifier

Celebrity Classifier

Model description

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 .

Dataset description

tonyassi/celebrity-1000 Top 1000 celebrities. 18,184 images. 256x256. Square cropped to face.

How to use
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)
Training and evaluation data

It achieves the following results on the evaluation set:

  • Loss: 0.9089
  • Accuracy: 0.7982
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 20
Framework versions
  • Transformers 4.35.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.16.1
  • Tokenizers 0.15.0

Runs of tonyassi celebrity-classifier on huggingface.co

211
Total runs
-7
24-hour runs
-18
3-day runs
-1
7-day runs
-20
30-day runs

More Information About celebrity-classifier huggingface.co Model

More celebrity-classifier license Visit here:

https://choosealicense.com/licenses/apache-2.0

celebrity-classifier huggingface.co

celebrity-classifier huggingface.co is an AI model on huggingface.co that provides celebrity-classifier's model effect (), which can be used instantly with this tonyassi celebrity-classifier model. huggingface.co supports a free trial of the celebrity-classifier model, and also provides paid use of the celebrity-classifier. Support call celebrity-classifier model through api, including Node.js, Python, http.

celebrity-classifier huggingface.co Url

https://huggingface.co/tonyassi/celebrity-classifier

tonyassi celebrity-classifier online free

celebrity-classifier huggingface.co is an online trial and call api platform, which integrates celebrity-classifier's modeling effects, including api services, and provides a free online trial of celebrity-classifier, you can try celebrity-classifier online for free by clicking the link below.

tonyassi celebrity-classifier online free url in huggingface.co:

https://huggingface.co/tonyassi/celebrity-classifier

celebrity-classifier install

celebrity-classifier is an open source model from GitHub that offers a free installation service, and any user can find celebrity-classifier on GitHub to install. At the same time, huggingface.co provides the effect of celebrity-classifier install, users can directly use celebrity-classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

celebrity-classifier install url in huggingface.co:

https://huggingface.co/tonyassi/celebrity-classifier

Url of celebrity-classifier

celebrity-classifier huggingface.co Url

Provider of celebrity-classifier huggingface.co

tonyassi
ORGANIZATIONS

Other API from tonyassi

huggingface.co

Total runs: 11
Run Growth: -2
Growth Rate: -18.18%
Updated:March 20 2024
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:February 27 2024
huggingface.co

Total runs: 8
Run Growth: 7
Growth Rate: 87.50%
Updated:November 08 2023
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:November 08 2023
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:August 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2026