vintage-lavender619 commited on
Commit
74c9fa8
·
verified ·
1 Parent(s): eba1952

Model save

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-tiny-patch4-window8-256
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: swinv2-tiny-patch4-window8-256-finalterm
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.878125
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-tiny-patch4-window8-256-finalterm
32
+
33
+ This model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window8-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window8-256) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.3239
36
+ - Accuracy: 0.8781
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: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.397 | 1.0 | 10 | 1.3486 | 0.3563 |
71
+ | 1.2224 | 2.0 | 20 | 1.0746 | 0.5094 |
72
+ | 0.8883 | 3.0 | 30 | 0.7386 | 0.7094 |
73
+ | 0.73 | 4.0 | 40 | 0.6787 | 0.7188 |
74
+ | 0.6132 | 5.0 | 50 | 0.5557 | 0.75 |
75
+ | 0.5297 | 6.0 | 60 | 0.4564 | 0.8281 |
76
+ | 0.4811 | 7.0 | 70 | 0.4000 | 0.8594 |
77
+ | 0.484 | 8.0 | 80 | 0.4082 | 0.8531 |
78
+ | 0.4525 | 9.0 | 90 | 0.3568 | 0.8906 |
79
+ | 0.429 | 10.0 | 100 | 0.3661 | 0.875 |
80
+ | 0.4383 | 11.0 | 110 | 0.4052 | 0.85 |
81
+ | 0.4586 | 12.0 | 120 | 0.3318 | 0.8812 |
82
+ | 0.4036 | 13.0 | 130 | 0.3540 | 0.8656 |
83
+ | 0.3652 | 14.0 | 140 | 0.3942 | 0.8719 |
84
+ | 0.3822 | 15.0 | 150 | 0.3421 | 0.8906 |
85
+ | 0.3564 | 16.0 | 160 | 0.3174 | 0.8969 |
86
+ | 0.3635 | 17.0 | 170 | 0.3357 | 0.8844 |
87
+ | 0.3645 | 18.0 | 180 | 0.3204 | 0.8938 |
88
+ | 0.3576 | 19.0 | 190 | 0.3307 | 0.8781 |
89
+ | 0.3532 | 20.0 | 200 | 0.3239 | 0.8781 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.41.2
95
+ - Pytorch 2.3.0+cu121
96
+ - Datasets 2.19.2
97
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93b81703b1402beb1afc304a425701db159b3008aba750cbc5b4a7e6102ff1a8
3
  size 110356296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c207f75b8296b655bb4adb99993f244d667d659abbcf6475cecc7be571b9d6c9
3
  size 110356296