Downloads · 30 days
5
0% of all-time downloads
Dusduo/Pokemon-classification-1stGen
Pokemon-classification-1stGen is a image classification model from Dusduo. 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 on the Dusduo/1stGen-Pokemon-Images dataset. It has been trained to discriminate between the pokemons from the 1st Generation.
Downloads · 30 days
5
0% of all-time downloads
All-time downloads
1.1K
Public
Parameters
85.9M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors344 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the Dusduo/1stGen-Pokemon-Images dataset. It has been trained to discriminate between the pokemons from the 1st Generation. It achieves the following results on the evaluation set:
A demonstration of the model application is hosted on Spaces. Feel free to check it out!
Transformer-based vision model for pokemon image classification.
This model is intended to classify between pokemons from the 1st Generation. Therefore, when provided with images of pokemon from posterior generation, the model outputs won't be usable as such. Moreover, the model was not designed to handle non pokemon images as well as images presenting several entities. However, an additional layer can help mitigate the risk of wrongly classifying non pokemon images by analyzing the spread of the output (the confusion of the model), such a layer can be found in my implementation, available here.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 4.3698 | 1.0 | 527 | 3.2781 | 0.5784 |
| 2.3225 | 2.0 | 1055 | 1.6644 | 0.7368 |
| 1.1907 | 3.0 | 1582 | 0.9749 | 0.8475 |
| 0.6947 | 4.0 | 2110 | 0.6765 | 0.8939 |
| 0.4827 | 5.0 | 2637 | 0.5290 | 0.9171 |
| 0.3515 | 6.0 | 3165 | 0.4530 | 0.9195 |
| 0.3074 | 6.99 | 3689 | 0.4182 | 0.9272 |