DazMashaly commited on
Commit
b0c6064
·
1 Parent(s): ec0747e

Model save

Browse files
Files changed (2) hide show
  1. README.md +45 -29
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -2,7 +2,6 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
- - image-classification
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
@@ -16,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # vit-base-beans-demo-v5
18
 
19
- 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 bact dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.0498
22
- - Accuracy: 0.9882
23
 
24
  ## Model description
25
 
@@ -38,41 +37,58 @@ More information needed
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
- - learning_rate: 0.0002
42
  - train_batch_size: 16
43
  - eval_batch_size: 8
44
  - seed: 42
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
- - num_epochs: 4
48
 
49
  ### Training results
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
- | 0.1764 | 0.17 | 100 | 0.2424 | 0.9345 |
54
- | 0.2401 | 0.34 | 200 | 0.2909 | 0.9160 |
55
- | 0.1986 | 0.5 | 300 | 0.2258 | 0.9358 |
56
- | 0.1579 | 0.67 | 400 | 0.2699 | 0.9240 |
57
- | 0.21 | 0.84 | 500 | 0.1416 | 0.9635 |
58
- | 0.0873 | 1.01 | 600 | 0.1724 | 0.9467 |
59
- | 0.1594 | 1.17 | 700 | 0.2439 | 0.9320 |
60
- | 0.0824 | 1.34 | 800 | 0.1039 | 0.9702 |
61
- | 0.0888 | 1.51 | 900 | 0.1496 | 0.9547 |
62
- | 0.1058 | 1.68 | 1000 | 0.1100 | 0.9748 |
63
- | 0.077 | 1.85 | 1100 | 0.0784 | 0.9757 |
64
- | 0.0486 | 2.01 | 1200 | 0.0997 | 0.9710 |
65
- | 0.0087 | 2.18 | 1300 | 0.0704 | 0.9811 |
66
- | 0.0382 | 2.35 | 1400 | 0.0910 | 0.9761 |
67
- | 0.046 | 2.52 | 1500 | 0.0588 | 0.9840 |
68
- | 0.0163 | 2.68 | 1600 | 0.0609 | 0.9836 |
69
- | 0.0876 | 2.85 | 1700 | 0.0689 | 0.9811 |
70
- | 0.0072 | 3.02 | 1800 | 0.0632 | 0.9861 |
71
- | 0.0022 | 3.19 | 1900 | 0.0670 | 0.9845 |
72
- | 0.0018 | 3.36 | 2000 | 0.0705 | 0.9845 |
73
- | 0.0023 | 3.52 | 2100 | 0.0588 | 0.9861 |
74
- | 0.0017 | 3.69 | 2200 | 0.0490 | 0.9882 |
75
- | 0.0248 | 3.86 | 2300 | 0.0498 | 0.9882 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
 
78
  ### Framework versions
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
 
15
 
16
  # vit-base-beans-demo-v5
17
 
18
+ 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.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.0473
21
+ - Accuracy: 0.9899
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 0.0001
41
  - train_batch_size: 16
42
  - eval_batch_size: 8
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
+ - num_epochs: 6
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.8306 | 0.15 | 100 | 0.7915 | 0.9085 |
53
+ | 0.3828 | 0.3 | 200 | 0.4295 | 0.9270 |
54
+ | 0.3623 | 0.45 | 300 | 0.3022 | 0.9370 |
55
+ | 0.2623 | 0.6 | 400 | 0.2883 | 0.9270 |
56
+ | 0.2251 | 0.75 | 500 | 0.2303 | 0.9463 |
57
+ | 0.2695 | 0.9 | 600 | 0.2465 | 0.9379 |
58
+ | 0.1256 | 1.04 | 700 | 0.1249 | 0.9715 |
59
+ | 0.0718 | 1.19 | 800 | 0.1335 | 0.9622 |
60
+ | 0.0436 | 1.34 | 900 | 0.0989 | 0.9790 |
61
+ | 0.1681 | 1.49 | 1000 | 0.1853 | 0.9496 |
62
+ | 0.0771 | 1.64 | 1100 | 0.1400 | 0.9647 |
63
+ | 0.0815 | 1.79 | 1200 | 0.0970 | 0.9765 |
64
+ | 0.0203 | 1.94 | 1300 | 0.1408 | 0.9647 |
65
+ | 0.0774 | 2.09 | 1400 | 0.1239 | 0.9664 |
66
+ | 0.0723 | 2.24 | 1500 | 0.0623 | 0.9824 |
67
+ | 0.0187 | 2.39 | 1600 | 0.0926 | 0.9731 |
68
+ | 0.055 | 2.54 | 1700 | 0.0910 | 0.9757 |
69
+ | 0.0304 | 2.69 | 1800 | 0.1278 | 0.9723 |
70
+ | 0.0068 | 2.84 | 1900 | 0.1283 | 0.9681 |
71
+ | 0.0319 | 2.99 | 2000 | 0.0590 | 0.9866 |
72
+ | 0.0054 | 3.13 | 2100 | 0.0761 | 0.9824 |
73
+ | 0.0136 | 3.28 | 2200 | 0.0759 | 0.9824 |
74
+ | 0.0136 | 3.43 | 2300 | 0.0448 | 0.9866 |
75
+ | 0.0086 | 3.58 | 2400 | 0.0816 | 0.9849 |
76
+ | 0.0212 | 3.73 | 2500 | 0.0574 | 0.9849 |
77
+ | 0.0392 | 3.88 | 2600 | 0.0765 | 0.9824 |
78
+ | 0.0029 | 4.03 | 2700 | 0.0740 | 0.9790 |
79
+ | 0.0521 | 4.18 | 2800 | 0.0349 | 0.9924 |
80
+ | 0.0025 | 4.33 | 2900 | 0.0639 | 0.9866 |
81
+ | 0.0024 | 4.48 | 3000 | 0.0509 | 0.9882 |
82
+ | 0.0024 | 4.63 | 3100 | 0.0468 | 0.9899 |
83
+ | 0.0024 | 4.78 | 3200 | 0.0524 | 0.9882 |
84
+ | 0.0022 | 4.93 | 3300 | 0.0504 | 0.9899 |
85
+ | 0.0022 | 5.07 | 3400 | 0.0488 | 0.9891 |
86
+ | 0.0021 | 5.22 | 3500 | 0.0484 | 0.9899 |
87
+ | 0.0019 | 5.37 | 3600 | 0.0480 | 0.9899 |
88
+ | 0.0019 | 5.52 | 3700 | 0.0477 | 0.9899 |
89
+ | 0.0019 | 5.67 | 3800 | 0.0475 | 0.9899 |
90
+ | 0.0018 | 5.82 | 3900 | 0.0474 | 0.9899 |
91
+ | 0.0018 | 5.97 | 4000 | 0.0473 | 0.9899 |
92
 
93
 
94
  ### Framework versions
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a2446be55f7a4c9a5e00da937106cf7927e207bcb53035a6f966bebc68147a2
3
  size 343308717
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43118f85ed89d7a252ae7af0288bbb6cb038aa9fef6220206afe655a228eabf0
3
  size 343308717