Augusto777
commited on
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: BEiT-DMAE-DA
|
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: validation
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8260869565217391
|
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 |
+
# BEiT-DMAE-DA
|
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.5902
|
36 |
+
- Accuracy: 0.8261
|
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: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 64
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- num_epochs: 40
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 1.3475 | 0.96 | 11 | 1.3279 | 0.3261 |
|
70 |
+
| 1.1875 | 2.0 | 23 | 1.1320 | 0.3478 |
|
71 |
+
| 0.9998 | 2.96 | 34 | 0.9957 | 0.5435 |
|
72 |
+
| 0.8836 | 4.0 | 46 | 0.8436 | 0.5870 |
|
73 |
+
| 0.7593 | 4.96 | 57 | 0.7904 | 0.6304 |
|
74 |
+
| 0.6939 | 6.0 | 69 | 0.6656 | 0.8261 |
|
75 |
+
| 0.4924 | 6.96 | 80 | 0.6724 | 0.6739 |
|
76 |
+
| 0.4444 | 8.0 | 92 | 0.5951 | 0.7826 |
|
77 |
+
| 0.337 | 8.96 | 103 | 0.5222 | 0.8261 |
|
78 |
+
| 0.3213 | 10.0 | 115 | 0.6814 | 0.8043 |
|
79 |
+
| 0.2689 | 10.96 | 126 | 0.5913 | 0.7826 |
|
80 |
+
| 0.2538 | 12.0 | 138 | 0.6228 | 0.7826 |
|
81 |
+
| 0.2032 | 12.96 | 149 | 0.6992 | 0.7609 |
|
82 |
+
| 0.2152 | 14.0 | 161 | 0.7730 | 0.7609 |
|
83 |
+
| 0.1713 | 14.96 | 172 | 0.7762 | 0.7609 |
|
84 |
+
| 0.2042 | 16.0 | 184 | 0.7652 | 0.7174 |
|
85 |
+
| 0.1668 | 16.96 | 195 | 0.5512 | 0.8478 |
|
86 |
+
| 0.1743 | 18.0 | 207 | 0.7311 | 0.7826 |
|
87 |
+
| 0.1226 | 18.96 | 218 | 0.7115 | 0.8043 |
|
88 |
+
| 0.1537 | 20.0 | 230 | 0.6800 | 0.7609 |
|
89 |
+
| 0.1311 | 20.96 | 241 | 0.5864 | 0.8478 |
|
90 |
+
| 0.1335 | 22.0 | 253 | 0.6346 | 0.8261 |
|
91 |
+
| 0.0981 | 22.96 | 264 | 0.6541 | 0.8043 |
|
92 |
+
| 0.1248 | 24.0 | 276 | 0.7017 | 0.8261 |
|
93 |
+
| 0.1183 | 24.96 | 287 | 0.6964 | 0.8261 |
|
94 |
+
| 0.0946 | 26.0 | 299 | 0.6450 | 0.8261 |
|
95 |
+
| 0.0957 | 26.96 | 310 | 0.7057 | 0.8043 |
|
96 |
+
| 0.1692 | 28.0 | 322 | 0.6635 | 0.8043 |
|
97 |
+
| 0.0967 | 28.96 | 333 | 0.5040 | 0.8696 |
|
98 |
+
| 0.094 | 30.0 | 345 | 0.5588 | 0.8913 |
|
99 |
+
| 0.0843 | 30.96 | 356 | 0.5398 | 0.8696 |
|
100 |
+
| 0.0851 | 32.0 | 368 | 0.5806 | 0.8478 |
|
101 |
+
| 0.0955 | 32.96 | 379 | 0.4816 | 0.9130 |
|
102 |
+
| 0.1157 | 34.0 | 391 | 0.5289 | 0.8696 |
|
103 |
+
| 0.072 | 34.96 | 402 | 0.5657 | 0.8913 |
|
104 |
+
| 0.091 | 36.0 | 414 | 0.5566 | 0.8478 |
|
105 |
+
| 0.0891 | 36.96 | 425 | 0.5729 | 0.8478 |
|
106 |
+
| 0.0732 | 38.0 | 437 | 0.5915 | 0.8261 |
|
107 |
+
| 0.0647 | 38.26 | 440 | 0.5902 | 0.8261 |
|
108 |
+
|
109 |
+
|
110 |
+
### Framework versions
|
111 |
+
|
112 |
+
- Transformers 4.36.2
|
113 |
+
- Pytorch 2.1.2+cu118
|
114 |
+
- Datasets 2.16.1
|
115 |
+
- 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 343086480
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63730cbe086b83a3864e9655b959b0bc52cf78aa4294e77906e35adc477fc6c3
|
3 |
size 343086480
|
runs/Dec03_20-14-39_DESKTOP-SKBE9FB/events.out.tfevents.1733278481.DESKTOP-SKBE9FB.15032.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc2af3c98e77552792985ec80dca8883322544255cb6170ed595372959958b33
|
3 |
+
size 25021
|