mikedata commited on
Commit
3476fb5
·
verified ·
1 Parent(s): c2c95ed

🍻 cheers

Browse files
Files changed (2) hide show
  1. README.md +91 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - image-classification
7
+ - fakevsreal
8
+ - generated_from_trainer
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: real_vs_fake_image_model_vit_base
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # real_vs_fake_image_model_vit_base
20
+
21
+ 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 None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0189
24
+ - Accuracy: 0.9953
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 3e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - gradient_accumulation_steps: 4
48
+ - total_train_batch_size: 128
49
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
57
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
58
+ | 0.0094 | 0.1883 | 100 | 0.0243 | 0.9941 |
59
+ | 0.0165 | 0.3766 | 200 | 0.0351 | 0.9901 |
60
+ | 0.0239 | 0.5650 | 300 | 0.0470 | 0.9876 |
61
+ | 0.0179 | 0.7533 | 400 | 0.0678 | 0.9856 |
62
+ | 0.0166 | 0.9416 | 500 | 0.0296 | 0.9920 |
63
+ | 0.0138 | 1.1299 | 600 | 0.0337 | 0.9926 |
64
+ | 0.0574 | 1.3183 | 700 | 0.1020 | 0.9772 |
65
+ | 0.0256 | 1.5066 | 800 | 0.0612 | 0.9847 |
66
+ | 0.0327 | 1.6949 | 900 | 0.0616 | 0.9846 |
67
+ | 0.0086 | 1.8832 | 1000 | 0.0272 | 0.9923 |
68
+ | 0.008 | 2.0716 | 1100 | 0.0329 | 0.9920 |
69
+ | 0.0014 | 2.2599 | 1200 | 0.0250 | 0.9939 |
70
+ | 0.0132 | 2.4482 | 1300 | 0.0248 | 0.9937 |
71
+ | 0.0189 | 2.6365 | 1400 | 0.0266 | 0.9936 |
72
+ | 0.0034 | 2.8249 | 1500 | 0.0225 | 0.9948 |
73
+ | 0.009 | 3.0132 | 1600 | 0.0240 | 0.9942 |
74
+ | 0.0009 | 3.2015 | 1700 | 0.0244 | 0.9942 |
75
+ | 0.0054 | 3.3898 | 1800 | 0.0339 | 0.9928 |
76
+ | 0.0046 | 3.5782 | 1900 | 0.0248 | 0.9945 |
77
+ | 0.0135 | 3.7665 | 2000 | 0.0245 | 0.9945 |
78
+ | 0.0274 | 3.9548 | 2100 | 0.0241 | 0.9947 |
79
+ | 0.0031 | 4.1431 | 2200 | 0.0225 | 0.9947 |
80
+ | 0.0121 | 4.3315 | 2300 | 0.0210 | 0.9952 |
81
+ | 0.0055 | 4.5198 | 2400 | 0.0209 | 0.9953 |
82
+ | 0.0183 | 4.7081 | 2500 | 0.0197 | 0.9955 |
83
+ | 0.0077 | 4.8964 | 2600 | 0.0189 | 0.9953 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.47.0
89
+ - Pytorch 2.5.1+cu121
90
+ - Datasets 3.2.0
91
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69dae37f0668651fe2521bee6f5c27e62c3f11ab80d4324f8f5160e18bf42508
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba90e2477e6780da18b967940709e5023dc76ffe7d694b3191801efb7a45470e
3
  size 343223968