Commit
•
d2e1c28
1
Parent(s):
ccc49be
End of training
Browse files- README.md +125 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/beit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: smids_1x_beit_base_adamax_0001_fold2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: test
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8901830282861897
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# smids_1x_beit_base_adamax_0001_fold2
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.7859
|
36 |
+
- Accuracy: 0.8902
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 0.0001
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
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: 50
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| 0.357 | 1.0 | 75 | 0.2942 | 0.8852 |
|
69 |
+
| 0.196 | 2.0 | 150 | 0.2977 | 0.8769 |
|
70 |
+
| 0.1343 | 3.0 | 225 | 0.3454 | 0.8835 |
|
71 |
+
| 0.1165 | 4.0 | 300 | 0.4770 | 0.8586 |
|
72 |
+
| 0.0357 | 5.0 | 375 | 0.3863 | 0.8819 |
|
73 |
+
| 0.0407 | 6.0 | 450 | 0.5588 | 0.8785 |
|
74 |
+
| 0.0487 | 7.0 | 525 | 0.5410 | 0.8769 |
|
75 |
+
| 0.0422 | 8.0 | 600 | 0.5327 | 0.8835 |
|
76 |
+
| 0.0252 | 9.0 | 675 | 0.5671 | 0.8885 |
|
77 |
+
| 0.0072 | 10.0 | 750 | 0.5229 | 0.8852 |
|
78 |
+
| 0.0013 | 11.0 | 825 | 0.5397 | 0.9018 |
|
79 |
+
| 0.0233 | 12.0 | 900 | 0.6716 | 0.8902 |
|
80 |
+
| 0.0031 | 13.0 | 975 | 0.6232 | 0.8935 |
|
81 |
+
| 0.0106 | 14.0 | 1050 | 0.6722 | 0.8835 |
|
82 |
+
| 0.0052 | 15.0 | 1125 | 0.5873 | 0.9101 |
|
83 |
+
| 0.0117 | 16.0 | 1200 | 0.6014 | 0.8935 |
|
84 |
+
| 0.0056 | 17.0 | 1275 | 0.6190 | 0.8952 |
|
85 |
+
| 0.018 | 18.0 | 1350 | 0.6714 | 0.8902 |
|
86 |
+
| 0.0034 | 19.0 | 1425 | 0.6903 | 0.8918 |
|
87 |
+
| 0.0034 | 20.0 | 1500 | 0.6789 | 0.8902 |
|
88 |
+
| 0.0018 | 21.0 | 1575 | 0.7049 | 0.8852 |
|
89 |
+
| 0.0015 | 22.0 | 1650 | 0.8451 | 0.8802 |
|
90 |
+
| 0.0032 | 23.0 | 1725 | 0.6725 | 0.8885 |
|
91 |
+
| 0.0116 | 24.0 | 1800 | 0.7163 | 0.8952 |
|
92 |
+
| 0.0001 | 25.0 | 1875 | 0.6827 | 0.8918 |
|
93 |
+
| 0.004 | 26.0 | 1950 | 0.7084 | 0.8885 |
|
94 |
+
| 0.012 | 27.0 | 2025 | 0.7239 | 0.8968 |
|
95 |
+
| 0.0099 | 28.0 | 2100 | 0.7371 | 0.8918 |
|
96 |
+
| 0.0044 | 29.0 | 2175 | 0.7635 | 0.8869 |
|
97 |
+
| 0.0039 | 30.0 | 2250 | 0.7043 | 0.8918 |
|
98 |
+
| 0.0035 | 31.0 | 2325 | 0.7276 | 0.8902 |
|
99 |
+
| 0.0 | 32.0 | 2400 | 0.7428 | 0.8935 |
|
100 |
+
| 0.0 | 33.0 | 2475 | 0.7968 | 0.8852 |
|
101 |
+
| 0.014 | 34.0 | 2550 | 0.7553 | 0.8918 |
|
102 |
+
| 0.0048 | 35.0 | 2625 | 0.7230 | 0.8968 |
|
103 |
+
| 0.0029 | 36.0 | 2700 | 0.7674 | 0.8869 |
|
104 |
+
| 0.0 | 37.0 | 2775 | 0.7425 | 0.8918 |
|
105 |
+
| 0.0023 | 38.0 | 2850 | 0.7970 | 0.8902 |
|
106 |
+
| 0.0047 | 39.0 | 2925 | 0.8047 | 0.8869 |
|
107 |
+
| 0.0021 | 40.0 | 3000 | 0.7994 | 0.8885 |
|
108 |
+
| 0.0 | 41.0 | 3075 | 0.7761 | 0.8852 |
|
109 |
+
| 0.0025 | 42.0 | 3150 | 0.7890 | 0.8885 |
|
110 |
+
| 0.0046 | 43.0 | 3225 | 0.7889 | 0.8885 |
|
111 |
+
| 0.0 | 44.0 | 3300 | 0.7915 | 0.8852 |
|
112 |
+
| 0.0047 | 45.0 | 3375 | 0.7967 | 0.8885 |
|
113 |
+
| 0.0 | 46.0 | 3450 | 0.7946 | 0.8869 |
|
114 |
+
| 0.002 | 47.0 | 3525 | 0.7884 | 0.8885 |
|
115 |
+
| 0.0 | 48.0 | 3600 | 0.7873 | 0.8885 |
|
116 |
+
| 0.0 | 49.0 | 3675 | 0.7859 | 0.8902 |
|
117 |
+
| 0.0 | 50.0 | 3750 | 0.7859 | 0.8902 |
|
118 |
+
|
119 |
+
|
120 |
+
### Framework versions
|
121 |
+
|
122 |
+
- Transformers 4.35.2
|
123 |
+
- Pytorch 2.1.0+cu118
|
124 |
+
- Datasets 2.15.0
|
125 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343083404
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c68586b29a035adc6988b966fa3a344cd4ec8c4f30169d4485c6d933075c48d8
|
3 |
size 343083404
|