canadianjosieharrison commited on
Commit
f842cda
·
verified ·
1 Parent(s): fac06f1

End of training

Browse files
Files changed (2) hide show
  1. README.md +97 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swinv2-large-patch4-window12-192-22k
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swinv2-large-patch4-window12-192-22k-huggingface
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.9230769230769231
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
+ # swinv2-large-patch4-window12-192-22k-huggingface
32
+
33
+ This model is a fine-tuned version of [microsoft/swinv2-large-patch4-window12-192-22k](https://huggingface.co/microsoft/swinv2-large-patch4-window12-192-22k) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.6329
36
+ - Accuracy: 0.9231
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: 0.0001
56
+ - train_batch_size: 18
57
+ - eval_batch_size: 18
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 2
60
+ - total_train_batch_size: 36
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: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.781 | 0.97 | 16 | 0.7972 | 0.7385 |
71
+ | 0.5567 | 2.0 | 33 | 0.4750 | 0.8308 |
72
+ | 0.3648 | 2.97 | 49 | 0.5832 | 0.8308 |
73
+ | 0.4016 | 4.0 | 66 | 0.5669 | 0.8 |
74
+ | 0.2448 | 4.97 | 82 | 0.5883 | 0.8462 |
75
+ | 0.3382 | 6.0 | 99 | 0.8846 | 0.8 |
76
+ | 0.3042 | 6.97 | 115 | 0.5364 | 0.8769 |
77
+ | 0.2744 | 8.0 | 132 | 0.5159 | 0.8769 |
78
+ | 0.1859 | 8.97 | 148 | 0.5541 | 0.8462 |
79
+ | 0.1787 | 10.0 | 165 | 0.4850 | 0.8923 |
80
+ | 0.181 | 10.97 | 181 | 0.4529 | 0.9077 |
81
+ | 0.113 | 12.0 | 198 | 0.7836 | 0.8154 |
82
+ | 0.0806 | 12.97 | 214 | 0.7141 | 0.8769 |
83
+ | 0.0929 | 14.0 | 231 | 0.5765 | 0.9231 |
84
+ | 0.1208 | 14.97 | 247 | 0.5762 | 0.9231 |
85
+ | 0.0764 | 16.0 | 264 | 0.6146 | 0.9231 |
86
+ | 0.099 | 16.97 | 280 | 0.5736 | 0.9231 |
87
+ | 0.0972 | 18.0 | 297 | 0.6051 | 0.9231 |
88
+ | 0.0534 | 18.97 | 313 | 0.6302 | 0.9231 |
89
+ | 0.0754 | 19.39 | 320 | 0.6329 | 0.9231 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.35.0
95
+ - Pytorch 2.1.1+cu118
96
+ - Datasets 2.14.6
97
+ - Tokenizers 0.14.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:580639a231af5b98d9f3420f44bc865ed0f2b2791e6caeced8c9f67ee9a94d62
3
  size 780917028
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f85b5ddbf6f389582de520808075ec9f3a4d52255801a55cc0a71b74eb0acb
3
  size 780917028