HorcruxNo13 commited on
Commit
3aaba39
1 Parent(s): d575469

Model save

Browse files
Files changed (2) hide show
  1. README.md +35 -12
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -6,6 +6,8 @@ datasets:
6
  - imagefolder
7
  metrics:
8
  - accuracy
 
 
9
  model-index:
10
  - name: swiftformer-xs
11
  results:
@@ -21,7 +23,13 @@ model-index:
21
  metrics:
22
  - name: Accuracy
23
  type: accuracy
24
- value: 0.6533333333333333
 
 
 
 
 
 
25
  ---
26
 
27
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -31,8 +39,11 @@ should probably proofread and complete it, then remove this comment. -->
31
 
32
  This model is a fine-tuned version of [MBZUAI/swiftformer-xs](https://huggingface.co/MBZUAI/swiftformer-xs) on the imagefolder dataset.
33
  It achieves the following results on the evaluation set:
34
- - Loss: 0.6505
35
- - Accuracy: 0.6533
 
 
 
36
 
37
  ## Model description
38
 
@@ -52,23 +63,35 @@ More information needed
52
 
53
  The following hyperparameters were used during training:
54
  - learning_rate: 5e-05
55
- - train_batch_size: 32
56
- - eval_batch_size: 32
57
  - seed: 42
58
  - gradient_accumulation_steps: 4
59
- - total_train_batch_size: 128
60
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
  - lr_scheduler_type: linear
62
  - lr_scheduler_warmup_ratio: 0.1
63
- - num_epochs: 3
64
 
65
  ### Training results
66
 
67
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
- | No log | 1.0 | 8 | 0.6642 | 0.6208 |
70
- | 0.6913 | 2.0 | 16 | 0.6431 | 0.6958 |
71
- | 0.6806 | 3.0 | 24 | 0.6337 | 0.6875 |
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
 
74
  ### Framework versions
 
6
  - imagefolder
7
  metrics:
8
  - accuracy
9
+ - precision
10
+ - recall
11
  model-index:
12
  - name: swiftformer-xs
13
  results:
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.73
27
+ - name: Precision
28
+ type: precision
29
+ value: 0.5329
30
+ - name: Recall
31
+ type: recall
32
+ value: 0.73
33
  ---
34
 
35
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
39
 
40
  This model is a fine-tuned version of [MBZUAI/swiftformer-xs](https://huggingface.co/MBZUAI/swiftformer-xs) on the imagefolder dataset.
41
  It achieves the following results on the evaluation set:
42
+ - Loss: 0.5838
43
+ - Accuracy: 0.73
44
+ - Precision: 0.5329
45
+ - Recall: 0.73
46
+ - F1 Score: 0.6161
47
 
48
  ## Model description
49
 
 
63
 
64
  The following hyperparameters were used during training:
65
  - learning_rate: 5e-05
66
+ - train_batch_size: 64
67
+ - eval_batch_size: 64
68
  - seed: 42
69
  - gradient_accumulation_steps: 4
70
+ - total_train_batch_size: 256
71
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
72
  - lr_scheduler_type: linear
73
  - lr_scheduler_warmup_ratio: 0.1
74
+ - num_epochs: 15
75
 
76
  ### Training results
77
 
78
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
79
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|
80
+ | No log | 1.0 | 4 | 0.6209 | 0.7292 | 0.6273 | 0.7292 | 0.6259 |
81
+ | No log | 2.0 | 8 | 0.7514 | 0.3875 | 0.5947 | 0.3875 | 0.3910 |
82
+ | No log | 3.0 | 12 | 0.7574 | 0.3292 | 0.6284 | 0.3292 | 0.2679 |
83
+ | 0.6558 | 4.0 | 16 | 0.7080 | 0.5042 | 0.6591 | 0.5042 | 0.5279 |
84
+ | 0.6558 | 5.0 | 20 | 0.6566 | 0.6458 | 0.6859 | 0.6458 | 0.6604 |
85
+ | 0.6558 | 6.0 | 24 | 0.6509 | 0.65 | 0.6810 | 0.65 | 0.6621 |
86
+ | 0.6558 | 7.0 | 28 | 0.6438 | 0.6375 | 0.6639 | 0.6375 | 0.6484 |
87
+ | 0.5697 | 8.0 | 32 | 0.6455 | 0.65 | 0.6845 | 0.65 | 0.6631 |
88
+ | 0.5697 | 9.0 | 36 | 0.6480 | 0.6458 | 0.6823 | 0.6458 | 0.6596 |
89
+ | 0.5697 | 10.0 | 40 | 0.6438 | 0.6542 | 0.6867 | 0.6542 | 0.6667 |
90
+ | 0.5697 | 11.0 | 44 | 0.6366 | 0.6583 | 0.6924 | 0.6583 | 0.6711 |
91
+ | 0.5232 | 12.0 | 48 | 0.6391 | 0.6625 | 0.7016 | 0.6625 | 0.6764 |
92
+ | 0.5232 | 13.0 | 52 | 0.6386 | 0.6583 | 0.6924 | 0.6583 | 0.6711 |
93
+ | 0.5232 | 14.0 | 56 | 0.6403 | 0.6667 | 0.7038 | 0.6667 | 0.68 |
94
+ | 0.5068 | 15.0 | 60 | 0.6459 | 0.6708 | 0.7131 | 0.6708 | 0.6851 |
95
 
96
 
97
  ### Framework versions
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22c7f8721a1674449ea81e371850f8194f5e8ac11adc6b062dadbd2c600b1812
3
  size 12267645
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9412068a24357350d2d5252db1a1abdabee5f17395cd1bd8ac05d09aa0e91d08
3
  size 12267645