youssefabdelmottaleb commited on
Commit
ebf87dd
1 Parent(s): c340b68

Model save

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swin-tiny-patch4-window7-224
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Garbage-Classification-SWIN-Transformer
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # Garbage-Classification-SWIN-Transformer
17
+
18
+ This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0440
21
+ - Accuracy: 0.9900
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 64
42
+ - eval_batch_size: 64
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 256
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
55
+ | 0.1969 | 0.9973 | 280 | 0.1740 | 0.9409 |
56
+ | 0.1014 | 1.9982 | 561 | 0.0752 | 0.9755 |
57
+ | 0.0333 | 2.9991 | 842 | 0.0551 | 0.9824 |
58
+ | 0.0332 | 4.0 | 1123 | 0.0526 | 0.9845 |
59
+ | 0.0218 | 4.9973 | 1403 | 0.0511 | 0.9866 |
60
+ | 0.0086 | 5.9982 | 1684 | 0.0515 | 0.9873 |
61
+ | 0.0057 | 6.9991 | 1965 | 0.0462 | 0.9875 |
62
+ | 0.0043 | 8.0 | 2246 | 0.0453 | 0.9891 |
63
+ | 0.0012 | 8.9973 | 2526 | 0.0460 | 0.9888 |
64
+ | 0.0017 | 9.9733 | 2800 | 0.0440 | 0.9900 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.41.2
70
+ - Pytorch 2.1.2
71
+ - Datasets 2.19.2
72
+ - Tokenizers 0.19.1