BilalMuftuoglu
commited on
Commit
•
84d7b0f
1
Parent(s):
eb946c8
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-fold5
|
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.5833333333333334
|
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-fold5
|
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.3367
|
36 |
+
- Accuracy: 0.5833
|
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.2240 | 0.3056 |
|
71 |
+
| No log | 1.7143 | 3 | 1.2263 | 0.3056 |
|
72 |
+
| No log | 2.8571 | 5 | 1.2222 | 0.3889 |
|
73 |
+
| No log | 4.0 | 7 | 1.1690 | 0.3889 |
|
74 |
+
| No log | 4.5714 | 8 | 1.1691 | 0.3889 |
|
75 |
+
| 1.1249 | 5.7143 | 10 | 1.0999 | 0.3889 |
|
76 |
+
| 1.1249 | 6.8571 | 12 | 1.1605 | 0.4167 |
|
77 |
+
| 1.1249 | 8.0 | 14 | 1.1912 | 0.4167 |
|
78 |
+
| 1.1249 | 8.5714 | 15 | 1.1771 | 0.3889 |
|
79 |
+
| 1.1249 | 9.7143 | 17 | 1.2370 | 0.4722 |
|
80 |
+
| 1.1249 | 10.8571 | 19 | 1.2607 | 0.5 |
|
81 |
+
| 0.9274 | 12.0 | 21 | 1.2756 | 0.4722 |
|
82 |
+
| 0.9274 | 12.5714 | 22 | 1.2208 | 0.4722 |
|
83 |
+
| 0.9274 | 13.7143 | 24 | 1.3705 | 0.5 |
|
84 |
+
| 0.9274 | 14.8571 | 26 | 1.2191 | 0.5278 |
|
85 |
+
| 0.9274 | 16.0 | 28 | 1.3502 | 0.5278 |
|
86 |
+
| 0.9274 | 16.5714 | 29 | 1.2628 | 0.5278 |
|
87 |
+
| 0.7889 | 17.7143 | 31 | 1.0868 | 0.5 |
|
88 |
+
| 0.7889 | 18.8571 | 33 | 1.3983 | 0.5 |
|
89 |
+
| 0.7889 | 20.0 | 35 | 1.2537 | 0.5556 |
|
90 |
+
| 0.7889 | 20.5714 | 36 | 1.1540 | 0.4722 |
|
91 |
+
| 0.7889 | 21.7143 | 38 | 1.2135 | 0.5556 |
|
92 |
+
| 0.7027 | 22.8571 | 40 | 1.4271 | 0.5 |
|
93 |
+
| 0.7027 | 24.0 | 42 | 1.1828 | 0.5 |
|
94 |
+
| 0.7027 | 24.5714 | 43 | 1.2126 | 0.4444 |
|
95 |
+
| 0.7027 | 25.7143 | 45 | 1.4980 | 0.5556 |
|
96 |
+
| 0.7027 | 26.8571 | 47 | 1.3495 | 0.5556 |
|
97 |
+
| 0.7027 | 28.0 | 49 | 1.1969 | 0.5278 |
|
98 |
+
| 0.6037 | 28.5714 | 50 | 1.2063 | 0.5556 |
|
99 |
+
| 0.6037 | 29.7143 | 52 | 1.3115 | 0.5833 |
|
100 |
+
| 0.6037 | 30.8571 | 54 | 1.1726 | 0.5278 |
|
101 |
+
| 0.6037 | 32.0 | 56 | 1.1872 | 0.5556 |
|
102 |
+
| 0.6037 | 32.5714 | 57 | 1.2399 | 0.5556 |
|
103 |
+
| 0.6037 | 33.7143 | 59 | 1.2566 | 0.5278 |
|
104 |
+
| 0.5147 | 34.8571 | 61 | 1.1848 | 0.5278 |
|
105 |
+
| 0.5147 | 36.0 | 63 | 1.2614 | 0.5556 |
|
106 |
+
| 0.5147 | 36.5714 | 64 | 1.3975 | 0.5556 |
|
107 |
+
| 0.5147 | 37.7143 | 66 | 1.4708 | 0.6111 |
|
108 |
+
| 0.5147 | 38.8571 | 68 | 1.3233 | 0.5833 |
|
109 |
+
| 0.4004 | 40.0 | 70 | 1.2994 | 0.5556 |
|
110 |
+
| 0.4004 | 40.5714 | 71 | 1.3582 | 0.5278 |
|
111 |
+
| 0.4004 | 41.7143 | 73 | 1.3577 | 0.5278 |
|
112 |
+
| 0.4004 | 42.8571 | 75 | 1.1985 | 0.5833 |
|
113 |
+
| 0.4004 | 44.0 | 77 | 1.1448 | 0.5556 |
|
114 |
+
| 0.4004 | 44.5714 | 78 | 1.1714 | 0.6111 |
|
115 |
+
| 0.4323 | 45.7143 | 80 | 1.3707 | 0.6111 |
|
116 |
+
| 0.4323 | 46.8571 | 82 | 1.5477 | 0.5833 |
|
117 |
+
| 0.4323 | 48.0 | 84 | 1.4254 | 0.5833 |
|
118 |
+
| 0.4323 | 48.5714 | 85 | 1.3031 | 0.5833 |
|
119 |
+
| 0.4323 | 49.7143 | 87 | 1.1843 | 0.6111 |
|
120 |
+
| 0.4323 | 50.8571 | 89 | 1.1835 | 0.6111 |
|
121 |
+
| 0.3568 | 52.0 | 91 | 1.2399 | 0.6111 |
|
122 |
+
| 0.3568 | 52.5714 | 92 | 1.2606 | 0.6111 |
|
123 |
+
| 0.3568 | 53.7143 | 94 | 1.2997 | 0.5833 |
|
124 |
+
| 0.3568 | 54.8571 | 96 | 1.3184 | 0.5833 |
|
125 |
+
| 0.3568 | 56.0 | 98 | 1.3294 | 0.5833 |
|
126 |
+
| 0.3568 | 56.5714 | 99 | 1.3337 | 0.5833 |
|
127 |
+
| 0.3308 | 57.1429 | 100 | 1.3367 | 0.5833 |
|
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:52d8e3b9f3d926fe62a8a1eb7b58dc4f0183ec869fa3de9151445f6117623175
|
3 |
size 343083404
|
runs/May23_13-32-16_2bc4f829fe52/events.out.tfevents.1716471137.2bc4f829fe52.989.8
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:7f52dff079415e97082bc92873b360ab1cc8c82100384619f84feea65335b663
|
3 |
+
size 26586
|