VanAnh commited on
Commit
bb0a666
·
verified ·
1 Parent(s): 7f63706

Model save

Browse files
Files changed (2) hide show
  1. README.md +107 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-small-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swin-small-patch4-window7-224-finetuned-isic217
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.45454545454545453
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-small-patch4-window7-224-finetuned-isic217
32
+
33
+ This model is a fine-tuned version of [microsoft/swin-small-patch4-window7-224](https://huggingface.co/microsoft/swin-small-patch4-window7-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 2.6902
36
+ - Accuracy: 0.4545
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: 2
57
+ - eval_batch_size: 2
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 8
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: 30
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
70
+ | 2.1844 | 0.9796 | 24 | 2.1103 | 0.1364 |
71
+ | 2.0018 | 2.0 | 49 | 1.8737 | 0.2727 |
72
+ | 1.6474 | 2.9796 | 73 | 1.9019 | 0.2727 |
73
+ | 1.3757 | 4.0 | 98 | 1.7487 | 0.3636 |
74
+ | 1.1526 | 4.9796 | 122 | 1.7576 | 0.4091 |
75
+ | 0.9161 | 6.0 | 147 | 1.5886 | 0.5 |
76
+ | 0.7568 | 6.9796 | 171 | 1.8935 | 0.4545 |
77
+ | 0.4024 | 8.0 | 196 | 1.6767 | 0.4545 |
78
+ | 0.814 | 8.9796 | 220 | 1.7112 | 0.3636 |
79
+ | 0.4346 | 10.0 | 245 | 1.9364 | 0.4091 |
80
+ | 0.3456 | 10.9796 | 269 | 1.9417 | 0.5455 |
81
+ | 0.228 | 12.0 | 294 | 2.1569 | 0.4091 |
82
+ | 0.1681 | 12.9796 | 318 | 2.0565 | 0.4545 |
83
+ | 0.1498 | 14.0 | 343 | 2.0701 | 0.3636 |
84
+ | 0.1599 | 14.9796 | 367 | 2.4973 | 0.5 |
85
+ | 0.3856 | 16.0 | 392 | 2.2473 | 0.4545 |
86
+ | 0.2529 | 16.9796 | 416 | 2.0918 | 0.4545 |
87
+ | 0.0557 | 18.0 | 441 | 1.9596 | 0.5455 |
88
+ | 0.0895 | 18.9796 | 465 | 2.5522 | 0.4545 |
89
+ | 0.0719 | 20.0 | 490 | 2.2938 | 0.5 |
90
+ | 0.0764 | 20.9796 | 514 | 2.6754 | 0.4545 |
91
+ | 0.1301 | 22.0 | 539 | 2.5287 | 0.4545 |
92
+ | 0.1205 | 22.9796 | 563 | 2.7532 | 0.4091 |
93
+ | 0.1013 | 24.0 | 588 | 2.6988 | 0.4545 |
94
+ | 0.0777 | 24.9796 | 612 | 2.9345 | 0.4091 |
95
+ | 0.1807 | 26.0 | 637 | 2.9981 | 0.4545 |
96
+ | 0.0298 | 26.9796 | 661 | 2.8549 | 0.4545 |
97
+ | 0.0589 | 28.0 | 686 | 2.6967 | 0.4545 |
98
+ | 0.0896 | 28.9796 | 710 | 2.6903 | 0.4545 |
99
+ | 0.0218 | 29.3878 | 720 | 2.6902 | 0.4545 |
100
+
101
+
102
+ ### Framework versions
103
+
104
+ - Transformers 4.42.0.dev0
105
+ - Pytorch 2.3.0+cu121
106
+ - Datasets 2.19.1
107
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d240ea0d99670828d28d8b2342ae4f869afc7d2ecc6cf93539c7e7c5506646ef
3
  size 195894092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f525fa437e3b8caffd698df03d5e05459b34f76ec46898d2104d5a1f2555915a
3
  size 195894092