prithivMLmods commited on
Commit
4ae2144
·
verified ·
1 Parent(s): 4436e9e

Upload folder using huggingface_hub

Browse files
checkpoint-376/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip2-base-patch16-224",
3
+ "architectures": [
4
+ "SiglipForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "Safe",
8
+ "1": "Unsafe"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Safe": 0,
13
+ "Unsafe": 1
14
+ },
15
+ "model_type": "siglip",
16
+ "problem_type": "single_label_classification",
17
+ "text_config": {
18
+ "model_type": "siglip_text_model",
19
+ "torch_dtype": "float32",
20
+ "vocab_size": 256000
21
+ },
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.50.0.dev0",
24
+ "vision_config": {
25
+ "model_type": "siglip_vision_model",
26
+ "torch_dtype": "float32"
27
+ }
28
+ }
checkpoint-376/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d45bdb9af0da3494da84355b043b144b002545ef3da11e1c48a2f5557f316dc
3
+ size 371567992
checkpoint-376/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e2cbffd859cc354afc8880d8dc312ab5c0647b42c80b1ac47e0e610457d55cd
3
+ size 686555770
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:a2878113ca0ac4b87f7de2cc7fbff5c260f28c557a50419814b5ca74f8986766
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.015183680690824986,
3
+ "best_model_checkpoint": "Deepfake-Detect-Siglip2/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.9835,
14
+ "eval_loss": 0.07407009601593018,
15
+ "eval_model_preparation_time": 0.0032,
16
+ "eval_runtime": 58.1517,
17
+ "eval_samples_per_second": 68.786,
18
+ "eval_steps_per_second": 8.598,
19
+ "step": 188
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.99575,
24
+ "eval_loss": 0.015183680690824986,
25
+ "eval_model_preparation_time": 0.0032,
26
+ "eval_runtime": 58.3432,
27
+ "eval_samples_per_second": 68.56,
28
+ "eval_steps_per_second": 8.57,
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.005065949855744e+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:e95c88e17c8bfec86809000b70e5f539155d7e8ba9e84900b836024adadbef02
3
+ size 5304
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/siglip2-base-patch16-224",
3
+ "architectures": [
4
+ "SiglipForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "Safe",
8
+ "1": "Unsafe"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "Safe": 0,
13
+ "Unsafe": 1
14
+ },
15
+ "model_type": "siglip",
16
+ "problem_type": "single_label_classification",
17
+ "text_config": {
18
+ "model_type": "siglip_text_model",
19
+ "torch_dtype": "float32",
20
+ "vocab_size": 256000
21
+ },
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.50.0.dev0",
24
+ "vision_config": {
25
+ "model_type": "siglip_vision_model",
26
+ "torch_dtype": "float32"
27
+ }
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d45bdb9af0da3494da84355b043b144b002545ef3da11e1c48a2f5557f316dc
3
+ size 371567992
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:e95c88e17c8bfec86809000b70e5f539155d7e8ba9e84900b836024adadbef02
3
+ size 5304