Downloads · 30 days
5
1% of all-time downloads
DunnBC22/vit-base-patch16-224-in21k_Bart_or_Homer
vit-base-patch16-224-in21k_Bart_or_Homer is a image classification model from DunnBC22. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of google/vit-base-patch16-224-in21k. It achieves the following results on the evaluation set: - Loss: 0.0636 - Accuracy: 0.9863 - F1: 0.9841 - Recall: 1.0 - Precision: 0.9688
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
748
Public
Repo size
1.4 GB
Likes
1
Public
Click a slice to open those files.
.bin343 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224-in21k. It achieves the following results on the evaluation set:
This is a binary classification model to distinguish between Bart and Homer Simpson.
For more information on how it was created, check out the following link:https://github.com/DunnBC22/Vision_Audio_and_Multimodal_Projects/blob/main/Computer%20Vision/Image%20Classification/Binary%20Classification/Bart%20vs%20Homer/Bart_vs_Homer_Image_clf_ViT.ipynb
This model is intended to demonstrate my ability to solve a complex problem using technology.
Dataset Source: https://www.kaggle.com/datasets/williamu32/dataset-bart-or-homer
Sample Images From Dataset:

The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Precision |
|---|---|---|---|---|---|---|---|
| 0.6996 | 1.0 | 13 | 0.1327 | 0.9726 | 0.9688 | 1.0 | 0.9394 |
| 0.6996 | 2.0 | 26 | 0.0636 | 0.9863 | 0.9841 | 1.0 | 0.9688 |
| 0.6996 | 3.0 | 39 | 0.1420 | 0.9452 | 0.9394 | 1.0 | 0.8857 |
This model is a fine-tuned derivative of a pretrained model. Users must comply with the original model license.
This model was fine-tuned on third-party datasets which may have separate licenses or usage restrictions.