prithivMLmods commited on
Commit
863c054
·
verified ·
1 Parent(s): e001be0

Add files using upload-large-folder tool

Browse files
checkpoint-7138/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Real",
13
+ "1": "Fake"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Fake": 1,
20
+ "Real": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.49.0.dev0"
32
+ }
checkpoint-7138/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c661f595427679179c85aa1feac10bea1b61f3a3e36d5c6900509afeef52067c
3
+ size 343223968
checkpoint-7138/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffc137f6a459fe53b3ed5008009c63e31ad8991e9b0c4608d47788248c17202a
3
+ size 686568890
checkpoint-7138/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
checkpoint-7138/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:534dde447741c9324e8fff53069cd84a9e52bbc0a8b0b0fa3b4cd57ed639117a
3
+ size 14244
checkpoint-7138/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2b1d6a44662ea5ad12033009fff599d4e7854237aadfac28e82f3c59b8f793
3
+ size 1064
checkpoint-7138/trainer_state.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.49518314003944397,
3
+ "best_model_checkpoint": "deepfake_vs_real_image_detection/checkpoint-7138",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7138,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.14009526478005044,
13
+ "grad_norm": 0.9985737800598145,
14
+ "learning_rate": 9.365124153498872e-07,
15
+ "loss": 0.672,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.2801905295601009,
20
+ "grad_norm": 1.7435837984085083,
21
+ "learning_rate": 8.659706546275395e-07,
22
+ "loss": 0.544,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.4202857943401513,
27
+ "grad_norm": 2.39518141746521,
28
+ "learning_rate": 7.954288939051918e-07,
29
+ "loss": 0.3963,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.5603810591202018,
34
+ "grad_norm": 3.065082550048828,
35
+ "learning_rate": 7.248871331828442e-07,
36
+ "loss": 0.3141,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.7004763239002522,
41
+ "grad_norm": 3.2442855834960938,
42
+ "learning_rate": 6.543453724604966e-07,
43
+ "loss": 0.2678,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.8405715886803026,
48
+ "grad_norm": 2.15069580078125,
49
+ "learning_rate": 5.83803611738149e-07,
50
+ "loss": 0.2495,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.9806668534603531,
55
+ "grad_norm": 6.248366355895996,
56
+ "learning_rate": 5.132618510158013e-07,
57
+ "loss": 0.2278,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_accuracy": 0.691609530564531,
63
+ "eval_loss": 0.5145022869110107,
64
+ "eval_model_preparation_time": 0.0053,
65
+ "eval_runtime": 381.2789,
66
+ "eval_samples_per_second": 199.681,
67
+ "eval_steps_per_second": 24.961,
68
+ "step": 3569
69
+ },
70
+ {
71
+ "epoch": 1.1207621182404035,
72
+ "grad_norm": 5.071241855621338,
73
+ "learning_rate": 4.427200902934537e-07,
74
+ "loss": 0.2198,
75
+ "step": 4000
76
+ },
77
+ {
78
+ "epoch": 1.260857383020454,
79
+ "grad_norm": 4.649421215057373,
80
+ "learning_rate": 3.7217832957110605e-07,
81
+ "loss": 0.2144,
82
+ "step": 4500
83
+ },
84
+ {
85
+ "epoch": 1.4009526478005043,
86
+ "grad_norm": 5.81755256652832,
87
+ "learning_rate": 3.0163656884875844e-07,
88
+ "loss": 0.2037,
89
+ "step": 5000
90
+ },
91
+ {
92
+ "epoch": 1.5410479125805547,
93
+ "grad_norm": 0.6763508915901184,
94
+ "learning_rate": 2.3109480812641084e-07,
95
+ "loss": 0.1985,
96
+ "step": 5500
97
+ },
98
+ {
99
+ "epoch": 1.6811431773606054,
100
+ "grad_norm": 4.193052291870117,
101
+ "learning_rate": 1.605530474040632e-07,
102
+ "loss": 0.1958,
103
+ "step": 6000
104
+ },
105
+ {
106
+ "epoch": 1.8212384421406558,
107
+ "grad_norm": 10.019765853881836,
108
+ "learning_rate": 9.001128668171557e-08,
109
+ "loss": 0.1859,
110
+ "step": 6500
111
+ },
112
+ {
113
+ "epoch": 1.9613337069207062,
114
+ "grad_norm": 4.139777660369873,
115
+ "learning_rate": 1.9469525959367945e-08,
116
+ "loss": 0.1865,
117
+ "step": 7000
118
+ },
119
+ {
120
+ "epoch": 2.0,
121
+ "eval_accuracy": 0.6998712795859932,
122
+ "eval_loss": 0.49518314003944397,
123
+ "eval_model_preparation_time": 0.0053,
124
+ "eval_runtime": 362.7947,
125
+ "eval_samples_per_second": 209.854,
126
+ "eval_steps_per_second": 26.232,
127
+ "step": 7138
128
+ }
129
+ ],
130
+ "logging_steps": 500,
131
+ "max_steps": 7138,
132
+ "num_input_tokens_seen": 0,
133
+ "num_train_epochs": 2,
134
+ "save_steps": 500,
135
+ "stateful_callbacks": {
136
+ "TrainerControl": {
137
+ "args": {
138
+ "should_epoch_stop": false,
139
+ "should_evaluate": false,
140
+ "should_log": false,
141
+ "should_save": true,
142
+ "should_training_stop": true
143
+ },
144
+ "attributes": {}
145
+ }
146
+ },
147
+ "total_flos": 1.7699325411952042e+19,
148
+ "train_batch_size": 32,
149
+ "trial_name": null,
150
+ "trial_params": null
151
+ }
checkpoint-7138/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48d52051e7f5cb2d72a3be9d9ee187fe357c8802d8b98f91546b27e04af64351
3
+ size 5304
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Real",
13
+ "1": "Fake"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Fake": 1,
20
+ "Real": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.49.0.dev0"
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c661f595427679179c85aa1feac10bea1b61f3a3e36d5c6900509afeef52067c
3
+ size 343223968
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48d52051e7f5cb2d72a3be9d9ee187fe357c8802d8b98f91546b27e04af64351
3
+ size 5304