prithivMLmods commited on
Commit
088120e
·
verified ·
1 Parent(s): dfd5dd4

Upload folder using huggingface_hub

Browse files
checkpoint-376/config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip2-base-patch16-224",
3
+ "architectures": [
4
+ "SiglipForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "AI",
8
+ "1": "Deepfake",
9
+ "2": "Real"
10
+ },
11
+ "initializer_factor": 1.0,
12
+ "label2id": {
13
+ "AI": 0,
14
+ "Deepfake": 1,
15
+ "Real": 2
16
+ },
17
+ "model_type": "siglip",
18
+ "problem_type": "single_label_classification",
19
+ "text_config": {
20
+ "model_type": "siglip_text_model",
21
+ "torch_dtype": "float32",
22
+ "vocab_size": 256000
23
+ },
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.50.0.dev0",
26
+ "vision_config": {
27
+ "model_type": "siglip_vision_model",
28
+ "torch_dtype": "float32"
29
+ }
30
+ }
checkpoint-376/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b89f793630497d2d583924febd935d11a8bcae05270c4172d07c194ddb037079
3
+ size 371571068
checkpoint-376/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e79241cf916761a24955b310907c8c094c3caf9b1ff9dbf4890f69ec36bc6e2d
3
+ size 686561914
checkpoint-376/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-376/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e82f96b77a35761cfa17e364b44b3b766596ff201963b0dda148aa2e1b89fb
3
+ size 14244
checkpoint-376/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0188c83ca42b755b4d3ed1a57756c4add3805f362ba10b9588bea36cf817521
3
+ size 1064
checkpoint-376/trainer_state.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.03312784805893898,
3
+ "best_model_checkpoint": "deepfake_vit/checkpoint-376",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 376,
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.97675,
14
+ "eval_loss": 0.07850422710180283,
15
+ "eval_model_preparation_time": 0.0041,
16
+ "eval_runtime": 92.7556,
17
+ "eval_samples_per_second": 43.124,
18
+ "eval_steps_per_second": 5.391,
19
+ "step": 188
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.9905,
24
+ "eval_loss": 0.03312784805893898,
25
+ "eval_model_preparation_time": 0.0041,
26
+ "eval_runtime": 93.0749,
27
+ "eval_samples_per_second": 42.976,
28
+ "eval_steps_per_second": 5.372,
29
+ "step": 376
30
+ }
31
+ ],
32
+ "logging_steps": 500,
33
+ "max_steps": 376,
34
+ "num_input_tokens_seen": 0,
35
+ "num_train_epochs": 2,
36
+ "save_steps": 500,
37
+ "stateful_callbacks": {
38
+ "TrainerControl": {
39
+ "args": {
40
+ "should_epoch_stop": false,
41
+ "should_evaluate": false,
42
+ "should_log": false,
43
+ "should_save": true,
44
+ "should_training_stop": true
45
+ },
46
+ "attributes": {}
47
+ }
48
+ },
49
+ "total_flos": 1.004906771909333e+18,
50
+ "train_batch_size": 32,
51
+ "trial_name": null,
52
+ "trial_params": null
53
+ }
checkpoint-376/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e327fbb13b26fca49c2cf040cabbe949164fb3ac1b9250cdd17017081319ce
3
+ size 5304
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip2-base-patch16-224",
3
+ "architectures": [
4
+ "SiglipForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "AI",
8
+ "1": "Deepfake",
9
+ "2": "Real"
10
+ },
11
+ "initializer_factor": 1.0,
12
+ "label2id": {
13
+ "AI": 0,
14
+ "Deepfake": 1,
15
+ "Real": 2
16
+ },
17
+ "model_type": "siglip",
18
+ "problem_type": "single_label_classification",
19
+ "text_config": {
20
+ "model_type": "siglip_text_model",
21
+ "torch_dtype": "float32",
22
+ "vocab_size": 256000
23
+ },
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.50.0.dev0",
26
+ "vision_config": {
27
+ "model_type": "siglip_vision_model",
28
+ "torch_dtype": "float32"
29
+ }
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b89f793630497d2d583924febd935d11a8bcae05270c4172d07c194ddb037079
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:03e327fbb13b26fca49c2cf040cabbe949164fb3ac1b9250cdd17017081319ce
3
+ size 5304