Downloads · 30 days
5
6% of all-time downloads
fusin001/pokemon-vit
pokemon-vit is a image classification model from fusin001. Use it when you need a label for an image. It is set up for transformers.
This repository contains a fine-tuned Vision Transformer for custom Pokémon image classification.
Downloads · 30 days
5
6% of all-time downloads
All-time downloads
85
Public
Parameters
85.8M
686 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned Vision Transformer for custom Pokémon image classification.
The model was trained on the custom Pokémon dataset from week 8 with six classes:
charizardcharmandercharmeleondittoeeveeekans224 x 224label2id and id2labelgoogle/vit-base-patch16-224The training script saves evaluation_metrics.json after training with validation and test accuracy values.
Measured results from the retraining run:
0.47370.6400from transformers import pipeline
from PIL import Image
classifier = pipeline("image-classification", model="fusin001/pokemon-vit")
image = Image.open("your_image.png")
print(classifier(image, top_k=3))
The repository also includes train_pokemon_model.py, which can be used to retrain and export the model locally.