prithivMLmods commited on
Commit
53d7e20
·
verified ·
1 Parent(s): e901606

Upload folder using huggingface_hub

Browse files
checkpoint-313/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Artificial",
7
+ "1": "Deepfake",
8
+ "2": "Real"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Artificial": 0,
13
+ "Deepfake": 1,
14
+ "Real": 2
15
+ },
16
+ "model_type": "siglip",
17
+ "problem_type": "single_label_classification",
18
+ "text_config": {
19
+ "attention_dropout": 0.0,
20
+ "hidden_act": "gelu_pytorch_tanh",
21
+ "hidden_size": 768,
22
+ "intermediate_size": 3072,
23
+ "layer_norm_eps": 1e-06,
24
+ "max_position_embeddings": 64,
25
+ "model_type": "siglip_text_model",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "projection_size": 768,
29
+ "torch_dtype": "float32",
30
+ "vocab_size": 256000
31
+ },
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.50.0.dev0",
34
+ "vision_config": {
35
+ "attention_dropout": 0.0,
36
+ "hidden_act": "gelu_pytorch_tanh",
37
+ "hidden_size": 768,
38
+ "image_size": 224,
39
+ "intermediate_size": 3072,
40
+ "layer_norm_eps": 1e-06,
41
+ "model_type": "siglip_vision_model",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "torch_dtype": "float32"
47
+ }
48
+ }
checkpoint-313/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:962bae726453a77b3f12782d7b3e4a364084734bf55ddf662ca2c370f7c9bbd1
3
+ size 371571068
checkpoint-313/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77dba97354f3d9352e4fbd2c2dcf0660f294a563d229c26fc939fdc75467b807
3
+ size 686561914
checkpoint-313/preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
checkpoint-313/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12877ac6b41225facf983fca57c59f15da84a89a9a0f188ef03bba8d8c5f0ccb
3
+ size 14244
checkpoint-313/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebc98b0b125d30ef474489d80724f2163b0d6f8530f1941ab1a1ecc093363f93
3
+ size 1064
checkpoint-313/trainer_state.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.0240725576877594,
3
+ "best_model_checkpoint": "AI-vs-Deepfake-vs-Real-v2.0/checkpoint-313",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 313,
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.9915991599159916,
14
+ "eval_loss": 0.0240725576877594,
15
+ "eval_model_preparation_time": 0.0023,
16
+ "eval_runtime": 248.0631,
17
+ "eval_samples_per_second": 40.308,
18
+ "eval_steps_per_second": 5.039,
19
+ "step": 313
20
+ }
21
+ ],
22
+ "logging_steps": 500,
23
+ "max_steps": 626,
24
+ "num_input_tokens_seen": 0,
25
+ "num_train_epochs": 2,
26
+ "save_steps": 500,
27
+ "stateful_callbacks": {
28
+ "TrainerControl": {
29
+ "args": {
30
+ "should_epoch_stop": false,
31
+ "should_evaluate": false,
32
+ "should_log": false,
33
+ "should_save": true,
34
+ "should_training_stop": false
35
+ },
36
+ "attributes": {}
37
+ }
38
+ },
39
+ "total_flos": 8.374781473846825e+17,
40
+ "train_batch_size": 32,
41
+ "trial_name": null,
42
+ "trial_params": null
43
+ }
checkpoint-313/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a5a21a64fdad9115d7d4f0c29748d79cd6166a9a77ebab77ad44800d06deb3
3
+ size 5304
checkpoint-626/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Artificial",
7
+ "1": "Deepfake",
8
+ "2": "Real"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Artificial": 0,
13
+ "Deepfake": 1,
14
+ "Real": 2
15
+ },
16
+ "model_type": "siglip",
17
+ "problem_type": "single_label_classification",
18
+ "text_config": {
19
+ "attention_dropout": 0.0,
20
+ "hidden_act": "gelu_pytorch_tanh",
21
+ "hidden_size": 768,
22
+ "intermediate_size": 3072,
23
+ "layer_norm_eps": 1e-06,
24
+ "max_position_embeddings": 64,
25
+ "model_type": "siglip_text_model",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "projection_size": 768,
29
+ "torch_dtype": "float32",
30
+ "vocab_size": 256000
31
+ },
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.50.0.dev0",
34
+ "vision_config": {
35
+ "attention_dropout": 0.0,
36
+ "hidden_act": "gelu_pytorch_tanh",
37
+ "hidden_size": 768,
38
+ "image_size": 224,
39
+ "intermediate_size": 3072,
40
+ "layer_norm_eps": 1e-06,
41
+ "model_type": "siglip_vision_model",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "torch_dtype": "float32"
47
+ }
48
+ }
checkpoint-626/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e9f69ae1ecda76cf6b67bec285c491d5af289171696ec43d93451e576131183
3
+ size 371571068
checkpoint-626/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c565ce6a70b126f404e697fc36899dd5063471717dc1051a630e00f933d5c28
3
+ size 686561914
checkpoint-626/preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
checkpoint-626/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1d2f3cda1ac1d92986f4082f6ef3641b09a367495bf727dcd825297f344bba
3
+ size 14244
checkpoint-626/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ac337373877a5b8f6ae2fa4b3b32063a20636f4524d1b61c1a9509da6a235f5
3
+ size 1064
checkpoint-626/trainer_state.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.006611587014049292,
3
+ "best_model_checkpoint": "AI-vs-Deepfake-vs-Real-v2.0/checkpoint-626",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 626,
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.9915991599159916,
14
+ "eval_loss": 0.0240725576877594,
15
+ "eval_model_preparation_time": 0.0023,
16
+ "eval_runtime": 248.0631,
17
+ "eval_samples_per_second": 40.308,
18
+ "eval_steps_per_second": 5.039,
19
+ "step": 313
20
+ },
21
+ {
22
+ "epoch": 1.5974440894568689,
23
+ "grad_norm": 0.011682664044201374,
24
+ "learning_rate": 2.1875e-05,
25
+ "loss": 0.1545,
26
+ "step": 500
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "eval_accuracy": 0.9981998199819982,
31
+ "eval_loss": 0.006611587014049292,
32
+ "eval_model_preparation_time": 0.0023,
33
+ "eval_runtime": 237.3908,
34
+ "eval_samples_per_second": 42.12,
35
+ "eval_steps_per_second": 5.266,
36
+ "step": 626
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 626,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 2,
43
+ "save_steps": 500,
44
+ "stateful_callbacks": {
45
+ "TrainerControl": {
46
+ "args": {
47
+ "should_epoch_stop": false,
48
+ "should_evaluate": false,
49
+ "should_log": false,
50
+ "should_save": true,
51
+ "should_training_stop": true
52
+ },
53
+ "attributes": {}
54
+ }
55
+ },
56
+ "total_flos": 1.674956294769365e+18,
57
+ "train_batch_size": 32,
58
+ "trial_name": null,
59
+ "trial_params": null
60
+ }
checkpoint-626/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a5a21a64fdad9115d7d4f0c29748d79cd6166a9a77ebab77ad44800d06deb3
3
+ size 5304
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipForImageClassification"
4
+ ],
5
+ "id2label": {
6
+ "0": "Artificial",
7
+ "1": "Deepfake",
8
+ "2": "Real"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Artificial": 0,
13
+ "Deepfake": 1,
14
+ "Real": 2
15
+ },
16
+ "model_type": "siglip",
17
+ "problem_type": "single_label_classification",
18
+ "text_config": {
19
+ "attention_dropout": 0.0,
20
+ "hidden_act": "gelu_pytorch_tanh",
21
+ "hidden_size": 768,
22
+ "intermediate_size": 3072,
23
+ "layer_norm_eps": 1e-06,
24
+ "max_position_embeddings": 64,
25
+ "model_type": "siglip_text_model",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "projection_size": 768,
29
+ "torch_dtype": "float32",
30
+ "vocab_size": 256000
31
+ },
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.50.0.dev0",
34
+ "vision_config": {
35
+ "attention_dropout": 0.0,
36
+ "hidden_act": "gelu_pytorch_tanh",
37
+ "hidden_size": 768,
38
+ "image_size": 224,
39
+ "intermediate_size": 3072,
40
+ "layer_norm_eps": 1e-06,
41
+ "model_type": "siglip_vision_model",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "torch_dtype": "float32"
47
+ }
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e9f69ae1ecda76cf6b67bec285c491d5af289171696ec43d93451e576131183
3
+ size 371571068
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "SiglipImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "processor_class": "SiglipProcessor",
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 224,
22
+ "width": 224
23
+ }
24
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a5a21a64fdad9115d7d4f0c29748d79cd6166a9a77ebab77ad44800d06deb3
3
+ size 5304