NYUAD-ComNets commited on
Commit
7487e3f
·
verified ·
1 Parent(s): 8328251

Model save

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: AI-generated_images_detector
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: validation
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9735697557711609
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
+ # AI-generated_images_detector
32
+
33
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.0987
36
+ - Accuracy: 0.9736
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: 0.0002
56
+ - train_batch_size: 32
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 3
62
+ - mixed_precision_training: Native AMP
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | 0.0431 | 0.55 | 100 | 0.1672 | 0.9568 |
69
+ | 0.0139 | 1.1 | 200 | 0.2338 | 0.9398 |
70
+ | 0.0201 | 1.66 | 300 | 0.1291 | 0.9655 |
71
+ | 0.0023 | 2.21 | 400 | 0.1147 | 0.9709 |
72
+ | 0.0033 | 2.76 | 500 | 0.0987 | 0.9736 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.39.3
78
+ - Pytorch 2.2.2+cu121
79
+ - Datasets 2.18.0
80
+ - Tokenizers 0.15.2
runs/Apr10_14-17-45_8bad3805cc35/events.out.tfevents.1712758675.8bad3805cc35.1004.5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6827f22480a0f6edaa7603010589f7a00fd9b4c46743c57aa9bf35c1d26118e
3
- size 16855
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cf8e218e76979e3e9fe8cca7aa8e4e9e0e1d359b915fa5792e7ba63e56fff47
3
+ size 18053