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-TO-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.8225806451612904
|
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-TO-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.6616
|
36 |
+
- Accuracy: 0.8226
|
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.5028 | 0.97 | 14 | 1.3862 | 0.1452 |
|
70 |
+
| 1.3358 | 2.0 | 29 | 1.0831 | 0.8065 |
|
71 |
+
| 0.8919 | 2.97 | 43 | 0.8097 | 0.8226 |
|
72 |
+
| 0.7328 | 4.0 | 58 | 0.6546 | 0.7742 |
|
73 |
+
| 0.4881 | 4.97 | 72 | 0.4860 | 0.8226 |
|
74 |
+
| 0.4367 | 6.0 | 87 | 0.4770 | 0.8548 |
|
75 |
+
| 0.3343 | 6.97 | 101 | 0.3912 | 0.8548 |
|
76 |
+
| 0.2794 | 8.0 | 116 | 0.3226 | 0.9032 |
|
77 |
+
| 0.2424 | 8.97 | 130 | 0.6426 | 0.7903 |
|
78 |
+
| 0.2875 | 10.0 | 145 | 0.4604 | 0.8710 |
|
79 |
+
| 0.226 | 10.97 | 159 | 0.3026 | 0.8548 |
|
80 |
+
| 0.1819 | 12.0 | 174 | 0.3875 | 0.8710 |
|
81 |
+
| 0.2354 | 12.97 | 188 | 0.3413 | 0.9032 |
|
82 |
+
| 0.2264 | 14.0 | 203 | 0.3948 | 0.8871 |
|
83 |
+
| 0.1652 | 14.97 | 217 | 0.3650 | 0.8710 |
|
84 |
+
| 0.1449 | 16.0 | 232 | 0.3611 | 0.8871 |
|
85 |
+
| 0.0993 | 16.97 | 246 | 0.4574 | 0.8710 |
|
86 |
+
| 0.1566 | 18.0 | 261 | 0.3924 | 0.8871 |
|
87 |
+
| 0.1399 | 18.97 | 275 | 0.4828 | 0.8548 |
|
88 |
+
| 0.1025 | 20.0 | 290 | 0.5377 | 0.8710 |
|
89 |
+
| 0.0855 | 20.97 | 304 | 0.4958 | 0.8548 |
|
90 |
+
| 0.1419 | 22.0 | 319 | 0.6156 | 0.8387 |
|
91 |
+
| 0.117 | 22.97 | 333 | 0.4915 | 0.8710 |
|
92 |
+
| 0.0905 | 24.0 | 348 | 0.5897 | 0.8710 |
|
93 |
+
| 0.1199 | 24.97 | 362 | 0.4871 | 0.8710 |
|
94 |
+
| 0.1246 | 26.0 | 377 | 0.4824 | 0.8548 |
|
95 |
+
| 0.0967 | 26.97 | 391 | 0.7484 | 0.8065 |
|
96 |
+
| 0.1025 | 28.0 | 406 | 0.6974 | 0.8387 |
|
97 |
+
| 0.1112 | 28.97 | 420 | 0.6391 | 0.8226 |
|
98 |
+
| 0.0715 | 30.0 | 435 | 0.6585 | 0.8226 |
|
99 |
+
| 0.085 | 30.97 | 449 | 0.7087 | 0.8065 |
|
100 |
+
| 0.1032 | 32.0 | 464 | 0.6094 | 0.8387 |
|
101 |
+
| 0.0836 | 32.97 | 478 | 0.5578 | 0.8065 |
|
102 |
+
| 0.0716 | 34.0 | 493 | 0.5497 | 0.8710 |
|
103 |
+
| 0.069 | 34.97 | 507 | 0.5093 | 0.8710 |
|
104 |
+
| 0.0577 | 36.0 | 522 | 0.5189 | 0.8710 |
|
105 |
+
| 0.0882 | 36.97 | 536 | 0.6531 | 0.8226 |
|
106 |
+
| 0.0563 | 38.0 | 551 | 0.6661 | 0.8226 |
|
107 |
+
| 0.0841 | 38.62 | 560 | 0.6616 | 0.8226 |
|
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:2c17d5a0d95884b861070413b5df9dc50bf66a08ad011ee4520f1f30624b048e
|
3 |
size 343086480
|
runs/Dec03_20-45-15_DESKTOP-SKBE9FB/events.out.tfevents.1733280317.DESKTOP-SKBE9FB.16984.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:64a5c6aaebb770fe786b207168aab82ed84592ddf2d183f1b93d65cf06d6c8a7
|
3 |
+
size 26935
|