djbp commited on
Commit
d5f6a4c
1 Parent(s): 320b0d4

Model save

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swin-base-patch4-window7-224-in22k
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: swin-base-patch4-window7-224-in22k-construction_type
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: validation
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8804347826086957
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
+ # swin-base-patch4-window7-224-in22k-construction_type
33
+
34
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.3095
37
+ - Accuracy: 0.8804
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: 128
58
+ - eval_batch_size: 128
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 512
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: 7
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
71
+ | 0.9839 | 0.9836 | 15 | 0.4599 | 0.8183 |
72
+ | 0.4167 | 1.9672 | 30 | 0.3605 | 0.8628 |
73
+ | 0.3853 | 2.9508 | 45 | 0.3272 | 0.8799 |
74
+ | 0.3302 | 4.0 | 61 | 0.3227 | 0.8763 |
75
+ | 0.3302 | 4.9836 | 76 | 0.3269 | 0.8753 |
76
+ | 0.3049 | 5.9672 | 91 | 0.3138 | 0.8799 |
77
+ | 0.2951 | 6.8852 | 105 | 0.3095 | 0.8804 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.44.2
83
+ - Pytorch 1.13.1+cu117
84
+ - Datasets 2.20.0
85
+ - Tokenizers 0.19.1