dyaminda commited on
Commit
997ce13
1 Parent(s): ed01953

End of training

Browse files
Files changed (2) hide show
  1. README.md +30 -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.9420289855072463
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.3869
36
- - Accuracy: 0.9420
37
 
38
  ## Model description
39
 
@@ -61,20 +61,37 @@ The following hyperparameters were used during training:
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: 3
65
 
66
  ### Training results
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
- | 0.9716 | 1.0 | 13 | 0.6693 | 0.9275 |
71
- | 0.6674 | 2.0 | 26 | 0.4463 | 0.9565 |
72
- | 0.5056 | 3.0 | 39 | 0.3736 | 0.9662 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
 
75
  ### Framework versions
76
 
77
  - Transformers 4.33.2
78
- - Pytorch 2.0.1+cu117
79
- - Datasets 2.14.4
80
  - 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.53125
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.2727
36
+ - Accuracy: 0.5312
37
 
38
  ## Model description
39
 
 
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.0804 | 1.0 | 10 | 2.0714 | 0.1625 |
71
+ | 2.0428 | 2.0 | 20 | 2.0324 | 0.2313 |
72
+ | 1.9463 | 3.0 | 30 | 1.8978 | 0.3438 |
73
+ | 1.7768 | 4.0 | 40 | 1.7234 | 0.375 |
74
+ | 1.6163 | 5.0 | 50 | 1.6029 | 0.4188 |
75
+ | 1.509 | 6.0 | 60 | 1.5122 | 0.5 |
76
+ | 1.4118 | 7.0 | 70 | 1.4839 | 0.4375 |
77
+ | 1.3381 | 8.0 | 80 | 1.4268 | 0.475 |
78
+ | 1.2653 | 9.0 | 90 | 1.4095 | 0.4813 |
79
+ | 1.1979 | 10.0 | 100 | 1.3504 | 0.5375 |
80
+ | 1.1219 | 11.0 | 110 | 1.3293 | 0.4875 |
81
+ | 1.0858 | 12.0 | 120 | 1.3023 | 0.4875 |
82
+ | 1.0214 | 13.0 | 130 | 1.3063 | 0.5188 |
83
+ | 1.0085 | 14.0 | 140 | 1.3306 | 0.5312 |
84
+ | 0.9615 | 15.0 | 150 | 1.2838 | 0.5 |
85
+ | 0.9277 | 16.0 | 160 | 1.3073 | 0.5125 |
86
+ | 0.898 | 17.0 | 170 | 1.2606 | 0.5437 |
87
+ | 0.8747 | 18.0 | 180 | 1.3116 | 0.5437 |
88
+ | 0.8657 | 19.0 | 190 | 1.3171 | 0.5375 |
89
+ | 0.8462 | 20.0 | 200 | 1.2619 | 0.525 |
90
 
91
 
92
  ### Framework versions
93
 
94
  - Transformers 4.33.2
95
+ - Pytorch 2.0.1+cu118
96
+ - Datasets 2.14.5
97
  - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd646ac079d97a546024b9b31daa1ae88979bd629621cef6938e6380f38bd239
3
  size 343287149
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc5dffc550be0278a1c71b95eef8358431de851e79b100c0954d01b380be9e03
3
  size 343287149