BilalMuftuoglu
commited on
Commit
•
c193539
1
Parent(s):
c5cf106
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-fold1
|
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.6111111111111112
|
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-fold1
|
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.2154
|
36 |
+
- Accuracy: 0.6111
|
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.1111 | 0.4722 |
|
71 |
+
| No log | 1.7143 | 3 | 1.2067 | 0.2222 |
|
72 |
+
| No log | 2.8571 | 5 | 1.1273 | 0.3889 |
|
73 |
+
| No log | 4.0 | 7 | 1.0384 | 0.4444 |
|
74 |
+
| No log | 4.5714 | 8 | 1.1017 | 0.4167 |
|
75 |
+
| 1.0728 | 5.7143 | 10 | 1.1338 | 0.3889 |
|
76 |
+
| 1.0728 | 6.8571 | 12 | 0.9428 | 0.5 |
|
77 |
+
| 1.0728 | 8.0 | 14 | 1.0236 | 0.5 |
|
78 |
+
| 1.0728 | 8.5714 | 15 | 0.9506 | 0.6111 |
|
79 |
+
| 1.0728 | 9.7143 | 17 | 0.9171 | 0.6111 |
|
80 |
+
| 1.0728 | 10.8571 | 19 | 1.1098 | 0.4722 |
|
81 |
+
| 0.9628 | 12.0 | 21 | 0.9111 | 0.6111 |
|
82 |
+
| 0.9628 | 12.5714 | 22 | 0.9954 | 0.5556 |
|
83 |
+
| 0.9628 | 13.7143 | 24 | 1.1014 | 0.5833 |
|
84 |
+
| 0.9628 | 14.8571 | 26 | 0.9581 | 0.5556 |
|
85 |
+
| 0.9628 | 16.0 | 28 | 1.0735 | 0.5278 |
|
86 |
+
| 0.9628 | 16.5714 | 29 | 1.1480 | 0.5556 |
|
87 |
+
| 0.833 | 17.7143 | 31 | 1.0334 | 0.5833 |
|
88 |
+
| 0.833 | 18.8571 | 33 | 0.9554 | 0.5833 |
|
89 |
+
| 0.833 | 20.0 | 35 | 1.2890 | 0.5833 |
|
90 |
+
| 0.833 | 20.5714 | 36 | 1.3330 | 0.5 |
|
91 |
+
| 0.833 | 21.7143 | 38 | 1.0786 | 0.5556 |
|
92 |
+
| 0.7274 | 22.8571 | 40 | 1.1173 | 0.5 |
|
93 |
+
| 0.7274 | 24.0 | 42 | 1.1471 | 0.5 |
|
94 |
+
| 0.7274 | 24.5714 | 43 | 1.1779 | 0.5 |
|
95 |
+
| 0.7274 | 25.7143 | 45 | 1.2391 | 0.5278 |
|
96 |
+
| 0.7274 | 26.8571 | 47 | 1.2273 | 0.5556 |
|
97 |
+
| 0.7274 | 28.0 | 49 | 1.1947 | 0.4722 |
|
98 |
+
| 0.6321 | 28.5714 | 50 | 1.2452 | 0.5278 |
|
99 |
+
| 0.6321 | 29.7143 | 52 | 1.1783 | 0.4722 |
|
100 |
+
| 0.6321 | 30.8571 | 54 | 1.2355 | 0.5278 |
|
101 |
+
| 0.6321 | 32.0 | 56 | 1.1921 | 0.5 |
|
102 |
+
| 0.6321 | 32.5714 | 57 | 1.1682 | 0.5 |
|
103 |
+
| 0.6321 | 33.7143 | 59 | 1.2613 | 0.5556 |
|
104 |
+
| 0.5586 | 34.8571 | 61 | 1.2683 | 0.5833 |
|
105 |
+
| 0.5586 | 36.0 | 63 | 1.2235 | 0.5278 |
|
106 |
+
| 0.5586 | 36.5714 | 64 | 1.2214 | 0.5833 |
|
107 |
+
| 0.5586 | 37.7143 | 66 | 1.0498 | 0.5556 |
|
108 |
+
| 0.5586 | 38.8571 | 68 | 1.0474 | 0.5833 |
|
109 |
+
| 0.4814 | 40.0 | 70 | 1.2388 | 0.5833 |
|
110 |
+
| 0.4814 | 40.5714 | 71 | 1.2826 | 0.5556 |
|
111 |
+
| 0.4814 | 41.7143 | 73 | 1.1847 | 0.5556 |
|
112 |
+
| 0.4814 | 42.8571 | 75 | 1.0760 | 0.5278 |
|
113 |
+
| 0.4814 | 44.0 | 77 | 1.0788 | 0.5833 |
|
114 |
+
| 0.4814 | 44.5714 | 78 | 1.0894 | 0.5833 |
|
115 |
+
| 0.4638 | 45.7143 | 80 | 1.2232 | 0.6111 |
|
116 |
+
| 0.4638 | 46.8571 | 82 | 1.2743 | 0.5833 |
|
117 |
+
| 0.4638 | 48.0 | 84 | 1.2030 | 0.6111 |
|
118 |
+
| 0.4638 | 48.5714 | 85 | 1.1366 | 0.5833 |
|
119 |
+
| 0.4638 | 49.7143 | 87 | 1.0802 | 0.5833 |
|
120 |
+
| 0.4638 | 50.8571 | 89 | 1.1044 | 0.6111 |
|
121 |
+
| 0.3833 | 52.0 | 91 | 1.1679 | 0.6111 |
|
122 |
+
| 0.3833 | 52.5714 | 92 | 1.1905 | 0.6111 |
|
123 |
+
| 0.3833 | 53.7143 | 94 | 1.2243 | 0.6111 |
|
124 |
+
| 0.3833 | 54.8571 | 96 | 1.2445 | 0.5833 |
|
125 |
+
| 0.3833 | 56.0 | 98 | 1.2267 | 0.6111 |
|
126 |
+
| 0.3833 | 56.5714 | 99 | 1.2180 | 0.6111 |
|
127 |
+
| 0.3405 | 57.1429 | 100 | 1.2154 | 0.6111 |
|
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:80cf293f72e4cf3ed27549b4043f069f6477889ec6b78bcb4e0c92c20e67fcfb
|
3 |
size 343083404
|
runs/May23_12-52-07_2bc4f829fe52/events.out.tfevents.1716468728.2bc4f829fe52.989.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:67ebaa08a4f46ee7cdb70d61008b779e859ab994264f8b32b4f7c0ac12258b96
|
3 |
+
size 26586
|