Model save
Browse files
README.md
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Dhyey8/swin-tiny-patch4-window7-224-finetuned-teeth_dataset
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: swin-tiny-patch4-window7-224-finetuned-teeth_dataset-finetuned-teeth_dataset-V2
|
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.9173913043478261
|
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 |
+
# swin-tiny-patch4-window7-224-finetuned-teeth_dataset-finetuned-teeth_dataset-V2
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [Dhyey8/swin-tiny-patch4-window7-224-finetuned-teeth_dataset](https://huggingface.co/Dhyey8/swin-tiny-patch4-window7-224-finetuned-teeth_dataset) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3191
|
36 |
+
- Accuracy: 0.9174
|
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: 50
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.8 | 3 | 1.1267 | 0.8391 |
|
71 |
+
| No log | 1.87 | 7 | 1.0719 | 0.8304 |
|
72 |
+
| 0.5709 | 2.93 | 11 | 0.9447 | 0.8478 |
|
73 |
+
| 0.5709 | 4.0 | 15 | 0.8442 | 0.8652 |
|
74 |
+
| 0.5709 | 4.8 | 18 | 0.7065 | 0.8826 |
|
75 |
+
| 0.3317 | 5.87 | 22 | 0.6930 | 0.8891 |
|
76 |
+
| 0.3317 | 6.93 | 26 | 0.5630 | 0.8978 |
|
77 |
+
| 0.1576 | 8.0 | 30 | 0.5882 | 0.8826 |
|
78 |
+
| 0.1576 | 8.8 | 33 | 0.5198 | 0.9087 |
|
79 |
+
| 0.1576 | 9.87 | 37 | 0.4425 | 0.9043 |
|
80 |
+
| 0.0883 | 10.93 | 41 | 0.4727 | 0.8978 |
|
81 |
+
| 0.0883 | 12.0 | 45 | 0.4314 | 0.9022 |
|
82 |
+
| 0.0883 | 12.8 | 48 | 0.4011 | 0.9022 |
|
83 |
+
| 0.051 | 13.87 | 52 | 0.4045 | 0.9174 |
|
84 |
+
| 0.051 | 14.93 | 56 | 0.3745 | 0.9109 |
|
85 |
+
| 0.0415 | 16.0 | 60 | 0.3597 | 0.9152 |
|
86 |
+
| 0.0415 | 16.8 | 63 | 0.4016 | 0.9065 |
|
87 |
+
| 0.0415 | 17.87 | 67 | 0.3804 | 0.9152 |
|
88 |
+
| 0.0307 | 18.93 | 71 | 0.3519 | 0.9217 |
|
89 |
+
| 0.0307 | 20.0 | 75 | 0.4131 | 0.8935 |
|
90 |
+
| 0.0307 | 20.8 | 78 | 0.4047 | 0.9 |
|
91 |
+
| 0.0262 | 21.87 | 82 | 0.3450 | 0.9174 |
|
92 |
+
| 0.0262 | 22.93 | 86 | 0.3639 | 0.9109 |
|
93 |
+
| 0.0208 | 24.0 | 90 | 0.3843 | 0.9043 |
|
94 |
+
| 0.0208 | 24.8 | 93 | 0.3797 | 0.8978 |
|
95 |
+
| 0.0208 | 25.87 | 97 | 0.3660 | 0.9152 |
|
96 |
+
| 0.0141 | 26.93 | 101 | 0.3445 | 0.9152 |
|
97 |
+
| 0.0141 | 28.0 | 105 | 0.3131 | 0.9239 |
|
98 |
+
| 0.0141 | 28.8 | 108 | 0.3069 | 0.9196 |
|
99 |
+
| 0.0114 | 29.87 | 112 | 0.3006 | 0.9196 |
|
100 |
+
| 0.0114 | 30.93 | 116 | 0.3097 | 0.9239 |
|
101 |
+
| 0.014 | 32.0 | 120 | 0.3121 | 0.9174 |
|
102 |
+
| 0.014 | 32.8 | 123 | 0.3242 | 0.9174 |
|
103 |
+
| 0.014 | 33.87 | 127 | 0.3291 | 0.9217 |
|
104 |
+
| 0.016 | 34.93 | 131 | 0.3156 | 0.9217 |
|
105 |
+
| 0.016 | 36.0 | 135 | 0.3081 | 0.9261 |
|
106 |
+
| 0.016 | 36.8 | 138 | 0.3084 | 0.9261 |
|
107 |
+
| 0.0114 | 37.87 | 142 | 0.3148 | 0.9196 |
|
108 |
+
| 0.0114 | 38.93 | 146 | 0.3191 | 0.9174 |
|
109 |
+
| 0.0091 | 40.0 | 150 | 0.3191 | 0.9174 |
|
110 |
+
|
111 |
+
|
112 |
+
### Framework versions
|
113 |
+
|
114 |
+
- Transformers 4.38.2
|
115 |
+
- Pytorch 2.2.1+cu121
|
116 |
+
- Datasets 2.18.0
|
117 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110619696
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14993a13a44c9a98564dba94c3c91d254bcfff926c48f2b81405087ec34a52c2
|
3 |
size 110619696
|
runs/Apr10_05-09-05_baa961a2407f/events.out.tfevents.1712725765.baa961a2407f.812.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:56ef467ace0a1f519c38d7f1bdaa9f1ffddcf4f743311ffc989ab69c1ba9f9fd
|
3 |
+
size 24035
|