bombshelll commited on
Commit
89b024d
·
verified ·
1 Parent(s): 6864147

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
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swin-tiny-patch4-window7-224
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: 2D_hgg_lgg_classification
13
+ results:
14
+ - task:
15
+ name: Image Classification
16
+ type: image-classification
17
+ dataset:
18
+ name: imagefolder
19
+ type: imagefolder
20
+ config: default
21
+ split: train
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.796875
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # 2D_hgg_lgg_classification
33
+
34
+ This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.5088
37
+ - Accuracy: 0.7969
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 32
58
+ - eval_batch_size: 32
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 128
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 30
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
71
+ | 0.6381 | 0.9655 | 7 | 0.5358 | 0.7812 |
72
+ | 0.5538 | 1.9310 | 14 | 0.5186 | 0.7812 |
73
+ | 0.5046 | 2.8966 | 21 | 0.5115 | 0.7812 |
74
+ | 0.4162 | 4.0 | 29 | 0.4877 | 0.7344 |
75
+ | 0.4193 | 4.9655 | 36 | 0.4512 | 0.8047 |
76
+ | 0.3897 | 5.9310 | 43 | 0.4098 | 0.7969 |
77
+ | 0.3605 | 6.8966 | 50 | 0.3844 | 0.7891 |
78
+ | 0.3091 | 8.0 | 58 | 0.3819 | 0.8125 |
79
+ | 0.3058 | 8.9655 | 65 | 0.3914 | 0.7969 |
80
+ | 0.3363 | 9.9310 | 72 | 0.4284 | 0.8125 |
81
+ | 0.3077 | 10.8966 | 79 | 0.3902 | 0.8047 |
82
+ | 0.2812 | 12.0 | 87 | 0.3666 | 0.8047 |
83
+ | 0.2905 | 12.9655 | 94 | 0.3778 | 0.7969 |
84
+ | 0.2518 | 13.9310 | 101 | 0.3879 | 0.7969 |
85
+ | 0.2326 | 14.8966 | 108 | 0.4155 | 0.7891 |
86
+ | 0.2084 | 16.0 | 116 | 0.4968 | 0.7812 |
87
+ | 0.194 | 16.9655 | 123 | 0.4423 | 0.7969 |
88
+ | 0.1994 | 17.9310 | 130 | 0.4206 | 0.7969 |
89
+ | 0.1999 | 18.8966 | 137 | 0.4231 | 0.7734 |
90
+ | 0.1818 | 20.0 | 145 | 0.4296 | 0.7891 |
91
+ | 0.1941 | 20.9655 | 152 | 0.4669 | 0.7734 |
92
+ | 0.1908 | 21.9310 | 159 | 0.5078 | 0.7891 |
93
+ | 0.2101 | 22.8966 | 166 | 0.4540 | 0.7969 |
94
+ | 0.1483 | 24.0 | 174 | 0.4606 | 0.8125 |
95
+ | 0.181 | 24.9655 | 181 | 0.4973 | 0.7969 |
96
+ | 0.1744 | 25.9310 | 188 | 0.4852 | 0.8125 |
97
+ | 0.1724 | 26.8966 | 195 | 0.5032 | 0.8047 |
98
+ | 0.1399 | 28.0 | 203 | 0.5112 | 0.8047 |
99
+ | 0.1598 | 28.9655 | 210 | 0.5088 | 0.7969 |
100
+
101
+
102
+ ### Framework versions
103
+
104
+ - Transformers 4.45.1
105
+ - Pytorch 2.4.0
106
+ - Datasets 3.0.1
107
+ - Tokenizers 0.20.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9f2fa56f653d25cc85d906a50ee2f70202673ea21363511c8e4a08dfc03e572
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23117b37e98bf5201c02d04824f4892e6365777d1de36182dc789cd1dc047e35
3
  size 110342832