Fine-tuned ViT on Tom & Jerry dataset
Browse files
README.md
CHANGED
|
@@ -1,75 +1,78 @@
|
|
| 1 |
-
|
| 2 |
---
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
tags:
|
| 7 |
-
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
|
| 55 |
-
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
|
|
| 62 |
-
|
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
|
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
- Accuracy: 0.9647
|
| 72 |
-
- Precision: 0.9654
|
| 73 |
-
- Recall: 0.9642
|
| 74 |
-
- F1 Score: 0.9646
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: google/vit-base-patch16-224-in21k
|
| 5 |
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- precision
|
| 10 |
+
- recall
|
| 11 |
+
- f1
|
| 12 |
+
model-index:
|
| 13 |
+
- name: tom_and_jerry_vit_model
|
| 14 |
+
results: []
|
| 15 |
---
|
| 16 |
|
| 17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
+
|
| 20 |
+
# tom_and_jerry_vit_model
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 23 |
+
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.1530
|
| 25 |
+
- Accuracy: 0.9562
|
| 26 |
+
- Precision: 0.9526
|
| 27 |
+
- Recall: 0.9587
|
| 28 |
+
- F1: 0.9553
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 0.0002
|
| 48 |
+
- train_batch_size: 64
|
| 49 |
+
- eval_batch_size: 64
|
| 50 |
+
- seed: 42
|
| 51 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 5
|
| 54 |
+
|
| 55 |
+
### Training results
|
| 56 |
+
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 59 |
+
| 0.8223 | 0.4167 | 25 | 0.4506 | 0.8893 | 0.8939 | 0.8653 | 0.8742 |
|
| 60 |
+
| 0.2676 | 0.8333 | 50 | 0.2195 | 0.9392 | 0.9343 | 0.9376 | 0.9356 |
|
| 61 |
+
| 0.1896 | 1.25 | 75 | 0.1816 | 0.9526 | 0.9490 | 0.9504 | 0.9493 |
|
| 62 |
+
| 0.1085 | 1.6667 | 100 | 0.1940 | 0.9380 | 0.9316 | 0.9381 | 0.9344 |
|
| 63 |
+
| 0.1618 | 2.0833 | 125 | 0.1806 | 0.9477 | 0.9390 | 0.9493 | 0.9434 |
|
| 64 |
+
| 0.0784 | 2.5 | 150 | 0.1582 | 0.9574 | 0.9524 | 0.9570 | 0.9546 |
|
| 65 |
+
| 0.071 | 2.9167 | 175 | 0.1803 | 0.9416 | 0.9364 | 0.9413 | 0.9386 |
|
| 66 |
+
| 0.0533 | 3.3333 | 200 | 0.1539 | 0.9611 | 0.9623 | 0.9600 | 0.9605 |
|
| 67 |
+
| 0.0383 | 3.75 | 225 | 0.1446 | 0.9647 | 0.9654 | 0.9642 | 0.9646 |
|
| 68 |
+
| 0.0264 | 4.1667 | 250 | 0.1619 | 0.9513 | 0.9447 | 0.9546 | 0.9488 |
|
| 69 |
+
| 0.0227 | 4.5833 | 275 | 0.1524 | 0.9550 | 0.9498 | 0.9579 | 0.9531 |
|
| 70 |
+
| 0.0343 | 5.0 | 300 | 0.1530 | 0.9562 | 0.9526 | 0.9587 | 0.9553 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
+
- Transformers 4.55.2
|
| 76 |
+
- Pytorch 2.8.0+cu129
|
| 77 |
+
- Datasets 4.0.0
|
| 78 |
+
- Tokenizers 0.21.4
|