hansin91 commited on
Commit
d4c9b61
1 Parent(s): 542c0af

End of training

Browse files
Files changed (2) hide show
  1. README.md +31 -13
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
- - beans
8
  metrics:
9
  - accuracy
10
  model-index:
@@ -14,15 +14,15 @@ model-index:
14
  name: Image Classification
15
  type: image-classification
16
  dataset:
17
- name: beans
18
- type: beans
19
  config: default
20
  split: train
21
  args: default
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.9323671497584541
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +30,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-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.2122
36
- - Accuracy: 0.9324
37
 
38
  ## Model description
39
 
@@ -52,26 +52,44 @@ More information needed
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
- - learning_rate: 5e-05
56
  - train_batch_size: 16
57
  - eval_batch_size: 16
58
  - seed: 42
59
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
  - lr_scheduler_type: linear
61
- - num_epochs: 3
 
62
 
63
  ### Training results
64
 
65
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
- | No log | 1.0 | 52 | 0.2103 | 0.9469 |
68
- | No log | 2.0 | 104 | 0.1899 | 0.9372 |
69
- | No log | 3.0 | 156 | 0.1798 | 0.9420 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
 
72
  ### Framework versions
73
 
74
- - Transformers 4.33.1
75
  - Pytorch 2.0.1+cu118
76
  - Datasets 2.14.5
77
  - Tokenizers 0.13.3
 
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
+ - imagefolder
8
  metrics:
9
  - accuracy
10
  model-index:
 
14
  name: Image Classification
15
  type: image-classification
16
  dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
  config: default
20
  split: train
21
  args: default
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.5875
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # image_classification
32
 
33
+ 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.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 1.2378
36
+ - Accuracy: 0.5875
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 2e-05
56
  - train_batch_size: 16
57
  - eval_batch_size: 16
58
  - seed: 42
59
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
  - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 20
63
 
64
  ### Training results
65
 
66
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | No log | 1.0 | 40 | 2.0656 | 0.125 |
69
+ | No log | 2.0 | 80 | 2.0558 | 0.1938 |
70
+ | No log | 3.0 | 120 | 2.0177 | 0.2375 |
71
+ | No log | 4.0 | 160 | 1.9156 | 0.3438 |
72
+ | No log | 5.0 | 200 | 1.7849 | 0.3063 |
73
+ | No log | 6.0 | 240 | 1.6961 | 0.3187 |
74
+ | No log | 7.0 | 280 | 1.6026 | 0.3937 |
75
+ | No log | 8.0 | 320 | 1.5455 | 0.3688 |
76
+ | No log | 9.0 | 360 | 1.4723 | 0.4562 |
77
+ | No log | 10.0 | 400 | 1.3931 | 0.5 |
78
+ | No log | 11.0 | 440 | 1.4418 | 0.4375 |
79
+ | No log | 12.0 | 480 | 1.3306 | 0.4437 |
80
+ | 1.5855 | 13.0 | 520 | 1.2437 | 0.575 |
81
+ | 1.5855 | 14.0 | 560 | 1.3712 | 0.4875 |
82
+ | 1.5855 | 15.0 | 600 | 1.2102 | 0.55 |
83
+ | 1.5855 | 16.0 | 640 | 1.3217 | 0.5188 |
84
+ | 1.5855 | 17.0 | 680 | 1.3656 | 0.4938 |
85
+ | 1.5855 | 18.0 | 720 | 1.3261 | 0.525 |
86
+ | 1.5855 | 19.0 | 760 | 1.5611 | 0.4625 |
87
+ | 1.5855 | 20.0 | 800 | 1.4503 | 0.5125 |
88
 
89
 
90
  ### Framework versions
91
 
92
+ - Transformers 4.33.2
93
  - Pytorch 2.0.1+cu118
94
  - Datasets 2.14.5
95
  - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b67286208843276ef892b2cd56713dad5bdec8323519a920775343e7a303558e
3
  size 343287149
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75bb8d41a624944e11cc75aaecd470cdb2b6954b9883d71262a42b9d984da769
3
  size 343287149