BilalMuftuoglu
commited on
Commit
•
6b4493d
1
Parent(s):
5fa6902
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-base-patch16-224-hasta-55-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: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.6388888888888888
|
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-base-patch16-224-hasta-55-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: 1.0629
|
36 |
+
- Accuracy: 0.6389
|
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: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 128
|
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: 100
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.5714 | 1 | 1.1041 | 0.3611 |
|
71 |
+
| No log | 1.7143 | 3 | 1.1063 | 0.4167 |
|
72 |
+
| No log | 2.8571 | 5 | 1.1169 | 0.4722 |
|
73 |
+
| No log | 4.0 | 7 | 1.0613 | 0.4444 |
|
74 |
+
| No log | 4.5714 | 8 | 1.0637 | 0.4167 |
|
75 |
+
| 1.0693 | 5.7143 | 10 | 1.0546 | 0.5 |
|
76 |
+
| 1.0693 | 6.8571 | 12 | 1.1360 | 0.3611 |
|
77 |
+
| 1.0693 | 8.0 | 14 | 1.0112 | 0.5 |
|
78 |
+
| 1.0693 | 8.5714 | 15 | 0.9729 | 0.5833 |
|
79 |
+
| 1.0693 | 9.7143 | 17 | 1.0749 | 0.4722 |
|
80 |
+
| 1.0693 | 10.8571 | 19 | 0.9543 | 0.5 |
|
81 |
+
| 0.8719 | 12.0 | 21 | 1.1289 | 0.3889 |
|
82 |
+
| 0.8719 | 12.5714 | 22 | 1.0727 | 0.5556 |
|
83 |
+
| 0.8719 | 13.7143 | 24 | 0.9727 | 0.6389 |
|
84 |
+
| 0.8719 | 14.8571 | 26 | 0.9647 | 0.6389 |
|
85 |
+
| 0.8719 | 16.0 | 28 | 0.9078 | 0.6111 |
|
86 |
+
| 0.8719 | 16.5714 | 29 | 0.9656 | 0.5833 |
|
87 |
+
| 0.7623 | 17.7143 | 31 | 0.9226 | 0.6111 |
|
88 |
+
| 0.7623 | 18.8571 | 33 | 0.9612 | 0.6667 |
|
89 |
+
| 0.7623 | 20.0 | 35 | 1.0379 | 0.5 |
|
90 |
+
| 0.7623 | 20.5714 | 36 | 0.9974 | 0.6111 |
|
91 |
+
| 0.7623 | 21.7143 | 38 | 0.9710 | 0.6667 |
|
92 |
+
| 0.6453 | 22.8571 | 40 | 1.0150 | 0.6667 |
|
93 |
+
| 0.6453 | 24.0 | 42 | 0.9738 | 0.6111 |
|
94 |
+
| 0.6453 | 24.5714 | 43 | 1.0280 | 0.6389 |
|
95 |
+
| 0.6453 | 25.7143 | 45 | 1.0642 | 0.6111 |
|
96 |
+
| 0.6453 | 26.8571 | 47 | 1.0238 | 0.5278 |
|
97 |
+
| 0.6453 | 28.0 | 49 | 1.0699 | 0.5556 |
|
98 |
+
| 0.5475 | 28.5714 | 50 | 1.1394 | 0.5278 |
|
99 |
+
| 0.5475 | 29.7143 | 52 | 0.9907 | 0.6111 |
|
100 |
+
| 0.5475 | 30.8571 | 54 | 1.0205 | 0.6111 |
|
101 |
+
| 0.5475 | 32.0 | 56 | 0.9423 | 0.6389 |
|
102 |
+
| 0.5475 | 32.5714 | 57 | 0.9201 | 0.6389 |
|
103 |
+
| 0.5475 | 33.7143 | 59 | 0.9101 | 0.6667 |
|
104 |
+
| 0.546 | 34.8571 | 61 | 0.9030 | 0.6111 |
|
105 |
+
| 0.546 | 36.0 | 63 | 0.9390 | 0.6111 |
|
106 |
+
| 0.546 | 36.5714 | 64 | 0.9516 | 0.6111 |
|
107 |
+
| 0.546 | 37.7143 | 66 | 0.9317 | 0.6667 |
|
108 |
+
| 0.546 | 38.8571 | 68 | 1.0006 | 0.6389 |
|
109 |
+
| 0.4129 | 40.0 | 70 | 1.0144 | 0.5556 |
|
110 |
+
| 0.4129 | 40.5714 | 71 | 1.0585 | 0.5833 |
|
111 |
+
| 0.4129 | 41.7143 | 73 | 1.0727 | 0.6111 |
|
112 |
+
| 0.4129 | 42.8571 | 75 | 1.0666 | 0.6389 |
|
113 |
+
| 0.4129 | 44.0 | 77 | 1.0368 | 0.6944 |
|
114 |
+
| 0.4129 | 44.5714 | 78 | 1.0238 | 0.6389 |
|
115 |
+
| 0.3913 | 45.7143 | 80 | 1.0247 | 0.6389 |
|
116 |
+
| 0.3913 | 46.8571 | 82 | 1.0485 | 0.6111 |
|
117 |
+
| 0.3913 | 48.0 | 84 | 1.0710 | 0.6389 |
|
118 |
+
| 0.3913 | 48.5714 | 85 | 1.0899 | 0.6111 |
|
119 |
+
| 0.3913 | 49.7143 | 87 | 1.0756 | 0.6389 |
|
120 |
+
| 0.3913 | 50.8571 | 89 | 1.0665 | 0.6389 |
|
121 |
+
| 0.3324 | 52.0 | 91 | 1.0853 | 0.6111 |
|
122 |
+
| 0.3324 | 52.5714 | 92 | 1.0898 | 0.6111 |
|
123 |
+
| 0.3324 | 53.7143 | 94 | 1.0802 | 0.6111 |
|
124 |
+
| 0.3324 | 54.8571 | 96 | 1.0720 | 0.6389 |
|
125 |
+
| 0.3324 | 56.0 | 98 | 1.0649 | 0.6389 |
|
126 |
+
| 0.3324 | 56.5714 | 99 | 1.0634 | 0.6389 |
|
127 |
+
| 0.3117 | 57.1429 | 100 | 1.0629 | 0.6389 |
|
128 |
+
|
129 |
+
|
130 |
+
### Framework versions
|
131 |
+
|
132 |
+
- Transformers 4.41.0
|
133 |
+
- Pytorch 2.3.0+cu121
|
134 |
+
- Datasets 2.19.1
|
135 |
+
- Tokenizers 0.19.1
|
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:52818dff54df43a350991efbcb7ed5f6a92aeea4c4290c569e1954a3def0f75f
|
3 |
size 343083404
|
runs/May23_13-02-13_2bc4f829fe52/events.out.tfevents.1716469334.2bc4f829fe52.989.2
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:db9809d238b0cc58ea11caa133f6f9dbc45ea2a30b71aa784189063b833ccd74
|
3 |
+
size 26586
|