mmanikanta commited on
Commit
9945536
1 Parent(s): c58c01f

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +71 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: SWIN-AI-Image-Detector
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # SWIN-AI-Image-Detector
16
+
17
+ 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.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0413
20
+ - Accuracy: 0.9844
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 4
44
+ - total_train_batch_size: 128
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
+ | 0.2432 | 1.0 | 703 | 0.1859 | 0.9267 |
55
+ | 0.1665 | 2.0 | 1406 | 0.1229 | 0.9514 |
56
+ | 0.1427 | 3.0 | 2109 | 0.0604 | 0.9761 |
57
+ | 0.143 | 4.0 | 2813 | 0.0807 | 0.97 |
58
+ | 0.1008 | 5.0 | 3516 | 0.0444 | 0.9824 |
59
+ | 0.1189 | 6.0 | 4219 | 0.0635 | 0.977 |
60
+ | 0.0936 | 7.0 | 4922 | 0.0535 | 0.9789 |
61
+ | 0.1201 | 8.0 | 5626 | 0.0376 | 0.9854 |
62
+ | 0.076 | 9.0 | 6329 | 0.0342 | 0.9874 |
63
+ | 0.0887 | 10.0 | 7030 | 0.0413 | 0.9844 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.30.0
69
+ - Pytorch 2.2.1+cu121
70
+ - Datasets 2.18.0
71
+ - Tokenizers 0.13.3