dukenmarga commited on
Commit
abad43f
1 Parent(s): 9d07f53

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
 
2
  license: apache-2.0
3
- base_model: google/vit-large-patch16-224-in21k
4
  tags:
5
  - generated_from_trainer
6
  datasets:
@@ -22,7 +23,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.51875
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
30
 
31
  # image_classification
32
 
33
- This model is a fine-tuned version of [google/vit-large-patch16-224-in21k](https://huggingface.co/google/vit-large-patch16-224-in21k) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 1.5386
36
- - Accuracy: 0.5188
37
 
38
  ## Model description
39
 
@@ -53,45 +54,50 @@ More information needed
53
 
54
  The following hyperparameters were used during training:
55
  - learning_rate: 5e-05
56
- - train_batch_size: 8
57
- - eval_batch_size: 8
58
  - seed: 42
59
  - gradient_accumulation_steps: 4
60
- - total_train_batch_size: 32
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
  - lr_scheduler_warmup_ratio: 0.1
64
- - num_epochs: 20
65
 
66
  ### Training results
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
- | 2.0473 | 1.0 | 20 | 2.0179 | 0.175 |
71
- | 1.6184 | 2.0 | 40 | 1.7787 | 0.2437 |
72
- | 1.2134 | 3.0 | 60 | 1.5985 | 0.3625 |
73
- | 1.0157 | 4.0 | 80 | 1.3311 | 0.4813 |
74
- | 0.8578 | 5.0 | 100 | 1.3041 | 0.4875 |
75
- | 0.6496 | 6.0 | 120 | 1.3222 | 0.5062 |
76
- | 0.5972 | 7.0 | 140 | 1.5594 | 0.4562 |
77
- | 0.5073 | 8.0 | 160 | 1.4126 | 0.4813 |
78
- | 0.3964 | 9.0 | 180 | 1.3702 | 0.525 |
79
- | 0.4054 | 10.0 | 200 | 1.3894 | 0.5188 |
80
- | 0.2845 | 11.0 | 220 | 1.4471 | 0.5188 |
81
- | 0.2262 | 12.0 | 240 | 1.5165 | 0.525 |
82
- | 0.2412 | 13.0 | 260 | 1.4684 | 0.5125 |
83
- | 0.2229 | 14.0 | 280 | 1.4005 | 0.525 |
84
- | 0.2078 | 15.0 | 300 | 1.5629 | 0.5062 |
85
- | 0.1619 | 16.0 | 320 | 1.6014 | 0.525 |
86
- | 0.1834 | 17.0 | 340 | 1.4821 | 0.5125 |
87
- | 0.1594 | 18.0 | 360 | 1.5195 | 0.5375 |
88
- | 0.1249 | 19.0 | 380 | 1.5585 | 0.5188 |
89
- | 0.1117 | 20.0 | 400 | 1.4735 | 0.5687 |
 
 
 
 
 
90
 
91
 
92
  ### Framework versions
93
 
94
- - Transformers 4.42.4
95
  - Pytorch 2.4.0+cu121
96
  - Datasets 2.21.0
97
  - Tokenizers 0.19.1
 
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
  datasets:
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.6125
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # image_classification
33
 
34
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 1.1555
37
+ - Accuracy: 0.6125
38
 
39
  ## Model description
40
 
 
54
 
55
  The following hyperparameters were used during training:
56
  - learning_rate: 5e-05
57
+ - train_batch_size: 16
58
+ - eval_batch_size: 16
59
  - seed: 42
60
  - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 64
62
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
  - lr_scheduler_type: linear
64
  - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 25
66
 
67
  ### Training results
68
 
69
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
+ | 1.7108 | 1.0 | 10 | 1.8424 | 0.4188 |
72
+ | 1.6278 | 2.0 | 20 | 1.7495 | 0.45 |
73
+ | 1.465 | 3.0 | 30 | 1.6153 | 0.5062 |
74
+ | 1.2862 | 4.0 | 40 | 1.5099 | 0.55 |
75
+ | 1.1151 | 5.0 | 50 | 1.4399 | 0.5312 |
76
+ | 0.9631 | 6.0 | 60 | 1.3803 | 0.5375 |
77
+ | 0.8242 | 7.0 | 70 | 1.3213 | 0.5875 |
78
+ | 0.6939 | 8.0 | 80 | 1.2673 | 0.575 |
79
+ | 0.576 | 9.0 | 90 | 1.2463 | 0.5938 |
80
+ | 0.4801 | 10.0 | 100 | 1.2108 | 0.6 |
81
+ | 0.4008 | 11.0 | 110 | 1.2093 | 0.575 |
82
+ | 0.3426 | 12.0 | 120 | 1.1744 | 0.5687 |
83
+ | 0.2976 | 13.0 | 130 | 1.1710 | 0.5938 |
84
+ | 0.2667 | 14.0 | 140 | 1.1545 | 0.5875 |
85
+ | 0.2434 | 15.0 | 150 | 1.1622 | 0.6 |
86
+ | 0.2261 | 16.0 | 160 | 1.1522 | 0.5875 |
87
+ | 0.2119 | 17.0 | 170 | 1.1486 | 0.6062 |
88
+ | 0.2016 | 18.0 | 180 | 1.1555 | 0.6125 |
89
+ | 0.1932 | 19.0 | 190 | 1.1487 | 0.6062 |
90
+ | 0.1857 | 20.0 | 200 | 1.1422 | 0.5938 |
91
+ | 0.1812 | 21.0 | 210 | 1.1438 | 0.6 |
92
+ | 0.1772 | 22.0 | 220 | 1.1521 | 0.5687 |
93
+ | 0.1735 | 23.0 | 230 | 1.1428 | 0.5938 |
94
+ | 0.1714 | 24.0 | 240 | 1.1487 | 0.6 |
95
+ | 0.1703 | 25.0 | 250 | 1.1462 | 0.6 |
96
 
97
 
98
  ### Framework versions
99
 
100
+ - Transformers 4.44.2
101
  - Pytorch 2.4.0+cu121
102
  - Datasets 2.21.0
103
  - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bac830574556dc7a4ada4e74065e061ddd5645f1265f4bcac3b3450d558732ce
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ad3b1d68275af8c5ef822963ed2219a3607171ac406ea49736d15a1ab3936ba
3
  size 343242432
runs/Sep05_00-12-04_8837de964a95/events.out.tfevents.1725495134.8837de964a95.2043.5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51a31cfa65bd0db82fd7ef565b8b01127d096b692a244c263d7e4e8c1b7b8917
3
- size 18157
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5eabbb20dd077c085369e03808031411177922f1386f3f3667afdeb91b1c5f8
3
+ size 18834
runs/Sep05_00-12-04_8837de964a95/events.out.tfevents.1725496628.8837de964a95.2043.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a15f0fbe68a0f5e07167f1f5a7f831914beeef9afddc684b71893471a68039fa
3
+ size 411