ricardoSLabs commited on
Commit
02efe06
·
verified ·
1 Parent(s): a94e59f

End of training

Browse files
Files changed (2) hide show
  1. README.md +88 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: gender_mozilla_mel_spec_Vit_swin-tiny-patch4-window7-224_1
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.9533333333333334
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
+ # gender_mozilla_mel_spec_Vit_swin-tiny-patch4-window7-224_1
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.1463
37
+ - Accuracy: 0.9533
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: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 10
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
+ | 0.6887 | 1.0 | 11 | 0.5200 | 0.8367 |
72
+ | 0.3893 | 2.0 | 22 | 0.2368 | 0.92 |
73
+ | 0.2526 | 3.0 | 33 | 0.1906 | 0.94 |
74
+ | 0.1812 | 4.0 | 44 | 0.1990 | 0.93 |
75
+ | 0.158 | 5.0 | 55 | 0.2096 | 0.92 |
76
+ | 0.1333 | 6.0 | 66 | 0.1821 | 0.9333 |
77
+ | 0.1249 | 7.0 | 77 | 0.1546 | 0.95 |
78
+ | 0.0678 | 8.0 | 88 | 0.1535 | 0.9567 |
79
+ | 0.0524 | 9.0 | 99 | 0.1599 | 0.9433 |
80
+ | 0.0359 | 10.0 | 110 | 0.1463 | 0.9533 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.47.0
86
+ - Pytorch 2.5.1+cu121
87
+ - Datasets 3.3.1
88
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:72ff8d6bc0a790de0a43baff147b39c016d3eb7aeb53933a98b81e68180cb691
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1576b53b8fbc6e68d345d1805b2b88ae3583d4b8aadc3b5bb6f6f00a1751381
3
  size 110342832