prithivMLmods commited on
Commit
4a7f718
·
verified ·
1 Parent(s): f2506ff

Upload folder using huggingface_hub

Browse files
checkpoint-564/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Artificial",
13
+ "1": "Deepfake",
14
+ "2": "Real"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "Artificial": 0,
21
+ "Deepfake": 1,
22
+ "Real": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.48.3"
34
+ }
checkpoint-564/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8099e495bad46023cd2e5f293f9f90a716c96d3648dd6202d200af8873e735d5
3
+ size 343227052
checkpoint-564/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:590e5bced9b148bbdf766d344fa4c6c48f894bdcc63dcfcd1ce7793c544642b5
3
+ size 686575034
checkpoint-564/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-564/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74b353ceab33af34d958a5853dd8446e5dbd5378fd20d13cb24ab0b94e04b08b
3
+ size 14244
checkpoint-564/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d45294a1ca71699e0c646c5a433d8e5b74fae9bb754ce31ea4a0be801d06120e
3
+ size 1064
checkpoint-564/trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5879941582679749,
3
+ "best_model_checkpoint": "AI-vs-Deepfake-vs-Real/checkpoint-564",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 564,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.8195,
14
+ "eval_loss": 0.9633184671401978,
15
+ "eval_model_preparation_time": 0.0043,
16
+ "eval_runtime": 92.615,
17
+ "eval_samples_per_second": 43.19,
18
+ "eval_steps_per_second": 5.399,
19
+ "step": 188
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.96125,
24
+ "eval_loss": 0.7438851594924927,
25
+ "eval_model_preparation_time": 0.0043,
26
+ "eval_runtime": 93.1265,
27
+ "eval_samples_per_second": 42.952,
28
+ "eval_steps_per_second": 5.369,
29
+ "step": 376
30
+ },
31
+ {
32
+ "epoch": 2.6595744680851063,
33
+ "grad_norm": 1.5466415882110596,
34
+ "learning_rate": 7.179487179487179e-07,
35
+ "loss": 0.8098,
36
+ "step": 500
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "eval_accuracy": 0.974,
41
+ "eval_loss": 0.5879941582679749,
42
+ "eval_model_preparation_time": 0.0043,
43
+ "eval_runtime": 92.9279,
44
+ "eval_samples_per_second": 43.044,
45
+ "eval_steps_per_second": 5.381,
46
+ "step": 564
47
+ }
48
+ ],
49
+ "logging_steps": 500,
50
+ "max_steps": 752,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 4,
53
+ "save_steps": 500,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": false
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 1.3946358366616596e+18,
67
+ "train_batch_size": 32,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }
checkpoint-564/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3360ba4237fa5d6036b1a5e02fc90a5f4560937d9ef7fb2aaf691e5d6c7af539
3
+ size 5304
checkpoint-752/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Artificial",
13
+ "1": "Deepfake",
14
+ "2": "Real"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "Artificial": 0,
21
+ "Deepfake": 1,
22
+ "Real": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.48.3"
34
+ }
checkpoint-752/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dee169b6061d3a920cb063be8019ce6b45f75fe476e8478831d7d9c08e1a917
3
+ size 343227052
checkpoint-752/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:785bf27fcd7994c7ea997ff3596dce42eb4ee68bf37e61bfaec7fd9f318ef15f
3
+ size 686575034
checkpoint-752/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-752/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fba1ca94b44e4e4a1b4f9b82d10d6019eb9437e3c8e0ac1249502acb8cc9bc1b
3
+ size 14244
checkpoint-752/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8fd3b611bf0f3d5fa99904cefa185ce460289020f3c4b906a0eca7b8b66e792
3
+ size 1064
checkpoint-752/trainer_state.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5410182476043701,
3
+ "best_model_checkpoint": "AI-vs-Deepfake-vs-Real/checkpoint-752",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 752,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.8195,
14
+ "eval_loss": 0.9633184671401978,
15
+ "eval_model_preparation_time": 0.0043,
16
+ "eval_runtime": 92.615,
17
+ "eval_samples_per_second": 43.19,
18
+ "eval_steps_per_second": 5.399,
19
+ "step": 188
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.96125,
24
+ "eval_loss": 0.7438851594924927,
25
+ "eval_model_preparation_time": 0.0043,
26
+ "eval_runtime": 93.1265,
27
+ "eval_samples_per_second": 42.952,
28
+ "eval_steps_per_second": 5.369,
29
+ "step": 376
30
+ },
31
+ {
32
+ "epoch": 2.6595744680851063,
33
+ "grad_norm": 1.5466415882110596,
34
+ "learning_rate": 7.179487179487179e-07,
35
+ "loss": 0.8098,
36
+ "step": 500
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "eval_accuracy": 0.974,
41
+ "eval_loss": 0.5879941582679749,
42
+ "eval_model_preparation_time": 0.0043,
43
+ "eval_runtime": 92.9279,
44
+ "eval_samples_per_second": 43.044,
45
+ "eval_steps_per_second": 5.381,
46
+ "step": 564
47
+ },
48
+ {
49
+ "epoch": 4.0,
50
+ "eval_accuracy": 0.975,
51
+ "eval_loss": 0.5410182476043701,
52
+ "eval_model_preparation_time": 0.0043,
53
+ "eval_runtime": 93.7304,
54
+ "eval_samples_per_second": 42.676,
55
+ "eval_steps_per_second": 5.334,
56
+ "step": 752
57
+ }
58
+ ],
59
+ "logging_steps": 500,
60
+ "max_steps": 752,
61
+ "num_input_tokens_seen": 0,
62
+ "num_train_epochs": 4,
63
+ "save_steps": 500,
64
+ "stateful_callbacks": {
65
+ "TrainerControl": {
66
+ "args": {
67
+ "should_epoch_stop": false,
68
+ "should_evaluate": false,
69
+ "should_log": false,
70
+ "should_save": true,
71
+ "should_training_stop": true
72
+ },
73
+ "attributes": {}
74
+ }
75
+ },
76
+ "total_flos": 1.8595144488822129e+18,
77
+ "train_batch_size": 32,
78
+ "trial_name": null,
79
+ "trial_params": null
80
+ }
checkpoint-752/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3360ba4237fa5d6036b1a5e02fc90a5f4560937d9ef7fb2aaf691e5d6c7af539
3
+ size 5304
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Artificial",
13
+ "1": "Deepfake",
14
+ "2": "Real"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "Artificial": 0,
21
+ "Deepfake": 1,
22
+ "Real": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.48.3"
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dee169b6061d3a920cb063be8019ce6b45f75fe476e8478831d7d9c08e1a917
3
+ size 343227052
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:3360ba4237fa5d6036b1a5e02fc90a5f4560937d9ef7fb2aaf691e5d6c7af539
3
+ size 5304