Upload folder using huggingface_hub
Browse files- checkpoint-1000/config.json +46 -0
- checkpoint-1000/model.safetensors +3 -0
- checkpoint-1000/optimizer.pt +3 -0
- checkpoint-1000/preprocessor_config.json +24 -0
- checkpoint-1000/rng_state.pth +3 -0
- checkpoint-1000/scheduler.pt +3 -0
- checkpoint-1000/trainer_state.json +88 -0
- checkpoint-1000/training_args.bin +3 -0
- checkpoint-250/config.json +46 -0
- checkpoint-250/model.safetensors +3 -0
- checkpoint-250/optimizer.pt +3 -0
- checkpoint-250/preprocessor_config.json +24 -0
- checkpoint-250/rng_state.pth +3 -0
- checkpoint-250/scheduler.pt +3 -0
- checkpoint-250/trainer_state.json +44 -0
- checkpoint-250/training_args.bin +3 -0
- checkpoint-500/config.json +46 -0
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/optimizer.pt +3 -0
- checkpoint-500/preprocessor_config.json +24 -0
- checkpoint-500/rng_state.pth +3 -0
- checkpoint-500/scheduler.pt +3 -0
- checkpoint-500/trainer_state.json +61 -0
- checkpoint-500/training_args.bin +3 -0
- checkpoint-750/config.json +46 -0
- checkpoint-750/model.safetensors +3 -0
- checkpoint-750/optimizer.pt +3 -0
- checkpoint-750/preprocessor_config.json +24 -0
- checkpoint-750/rng_state.pth +3 -0
- checkpoint-750/scheduler.pt +3 -0
- checkpoint-750/trainer_state.json +71 -0
- checkpoint-750/training_args.bin +3 -0
- config.json +46 -0
- model.safetensors +3 -0
- preprocessor_config.json +24 -0
- training_args.bin +3 -0
checkpoint-1000/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Deepfake",
|
7 |
+
"1": "Real one"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Deepfake": 0,
|
12 |
+
"Real one": 1
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 256000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.50.1",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
checkpoint-1000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b85909e1d09645e65a554022dd5dc11c1f68cce24769b17715ecdd203d1677c7
|
3 |
+
size 371567992
|
checkpoint-1000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af810d4433fc05027e767609c7fe29050a484fb087e54e46fb9c4cc65af6c92f
|
3 |
+
size 686555770
|
checkpoint-1000/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-1000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bb65b9641f9c77c43f10d226f6bc1a1cffed1b771de6516313f75147fd5e113
|
3 |
+
size 14244
|
checkpoint-1000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7b5bf190dc871967c45091d9f1ab233b2d2ed62baca21fee5dfedb5718ffa5d
|
3 |
+
size 1064
|
checkpoint-1000/trainer_state.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 1000,
|
3 |
+
"best_metric": 0.005398211535066366,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-1000",
|
5 |
+
"epoch": 4.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 1000,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 1.0,
|
14 |
+
"eval_accuracy": 0.979375,
|
15 |
+
"eval_loss": 0.07109048962593079,
|
16 |
+
"eval_model_preparation_time": 0.0025,
|
17 |
+
"eval_runtime": 204.2263,
|
18 |
+
"eval_samples_per_second": 39.172,
|
19 |
+
"eval_steps_per_second": 4.897,
|
20 |
+
"step": 250
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.0,
|
24 |
+
"grad_norm": 0.33399081230163574,
|
25 |
+
"learning_rate": 0.00010526315789473685,
|
26 |
+
"loss": 0.2184,
|
27 |
+
"step": 500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"eval_accuracy": 0.985125,
|
32 |
+
"eval_loss": 0.05313490703701973,
|
33 |
+
"eval_model_preparation_time": 0.0025,
|
34 |
+
"eval_runtime": 204.4851,
|
35 |
+
"eval_samples_per_second": 39.123,
|
36 |
+
"eval_steps_per_second": 4.89,
|
37 |
+
"step": 500
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 3.0,
|
41 |
+
"eval_accuracy": 0.994375,
|
42 |
+
"eval_loss": 0.022496230900287628,
|
43 |
+
"eval_model_preparation_time": 0.0025,
|
44 |
+
"eval_runtime": 200.0277,
|
45 |
+
"eval_samples_per_second": 39.994,
|
46 |
+
"eval_steps_per_second": 4.999,
|
47 |
+
"step": 750
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 4.0,
|
51 |
+
"grad_norm": 0.6032329201698303,
|
52 |
+
"learning_rate": 0.0,
|
53 |
+
"loss": 0.0257,
|
54 |
+
"step": 1000
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 4.0,
|
58 |
+
"eval_accuracy": 0.998125,
|
59 |
+
"eval_loss": 0.005398211535066366,
|
60 |
+
"eval_model_preparation_time": 0.0025,
|
61 |
+
"eval_runtime": 200.3982,
|
62 |
+
"eval_samples_per_second": 39.921,
|
63 |
+
"eval_steps_per_second": 4.99,
|
64 |
+
"step": 1000
|
65 |
+
}
|
66 |
+
],
|
67 |
+
"logging_steps": 500,
|
68 |
+
"max_steps": 1000,
|
69 |
+
"num_input_tokens_seen": 0,
|
70 |
+
"num_train_epochs": 4,
|
71 |
+
"save_steps": 500,
|
72 |
+
"stateful_callbacks": {
|
73 |
+
"TrainerControl": {
|
74 |
+
"args": {
|
75 |
+
"should_epoch_stop": false,
|
76 |
+
"should_evaluate": false,
|
77 |
+
"should_log": false,
|
78 |
+
"should_save": true,
|
79 |
+
"should_training_stop": true
|
80 |
+
},
|
81 |
+
"attributes": {}
|
82 |
+
}
|
83 |
+
},
|
84 |
+
"total_flos": 2.680175866281984e+18,
|
85 |
+
"train_batch_size": 32,
|
86 |
+
"trial_name": null,
|
87 |
+
"trial_params": null
|
88 |
+
}
|
checkpoint-1000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:204006bafac16586eef5c520416ddc231ccdf5a76f9bffe88756655e3676d429
|
3 |
+
size 5304
|
checkpoint-250/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Deepfake",
|
7 |
+
"1": "Real one"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Deepfake": 0,
|
12 |
+
"Real one": 1
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 256000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.50.1",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
checkpoint-250/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a820fbaa8f09590f2d55d76271abc700e33e7489747de8e43d2919b607973891
|
3 |
+
size 371567992
|
checkpoint-250/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a57e65194e0376f5c8a719979d05c64b918f284b56345360f969bda4b7747a95
|
3 |
+
size 686555770
|
checkpoint-250/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-250/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54d4fd8f59db3dde04b8ce82e5cab58faa0585dc1fbf6df449410d0014a09fc3
|
3 |
+
size 14244
|
checkpoint-250/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30419f1ebe06693722e900c3ad6269d212c62dc98f9a1619f53a5d415ad419bb
|
3 |
+
size 1064
|
checkpoint-250/trainer_state.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 250,
|
3 |
+
"best_metric": 0.07109048962593079,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-250",
|
5 |
+
"epoch": 1.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 250,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 1.0,
|
14 |
+
"eval_accuracy": 0.979375,
|
15 |
+
"eval_loss": 0.07109048962593079,
|
16 |
+
"eval_model_preparation_time": 0.0025,
|
17 |
+
"eval_runtime": 204.2263,
|
18 |
+
"eval_samples_per_second": 39.172,
|
19 |
+
"eval_steps_per_second": 4.897,
|
20 |
+
"step": 250
|
21 |
+
}
|
22 |
+
],
|
23 |
+
"logging_steps": 500,
|
24 |
+
"max_steps": 1000,
|
25 |
+
"num_input_tokens_seen": 0,
|
26 |
+
"num_train_epochs": 4,
|
27 |
+
"save_steps": 500,
|
28 |
+
"stateful_callbacks": {
|
29 |
+
"TrainerControl": {
|
30 |
+
"args": {
|
31 |
+
"should_epoch_stop": false,
|
32 |
+
"should_evaluate": false,
|
33 |
+
"should_log": false,
|
34 |
+
"should_save": true,
|
35 |
+
"should_training_stop": false
|
36 |
+
},
|
37 |
+
"attributes": {}
|
38 |
+
}
|
39 |
+
},
|
40 |
+
"total_flos": 6.70043966570496e+17,
|
41 |
+
"train_batch_size": 32,
|
42 |
+
"trial_name": null,
|
43 |
+
"trial_params": null
|
44 |
+
}
|
checkpoint-250/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:204006bafac16586eef5c520416ddc231ccdf5a76f9bffe88756655e3676d429
|
3 |
+
size 5304
|
checkpoint-500/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Deepfake",
|
7 |
+
"1": "Real one"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Deepfake": 0,
|
12 |
+
"Real one": 1
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 256000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.50.1",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
checkpoint-500/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bda7748cdc9a165e732a9f9a15b8a0bc69115d3266079f75df1c2ae67e085ee
|
3 |
+
size 371567992
|
checkpoint-500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1806139afa3c78f73e39ae5bd435c01e1be78e1f1e29b440499b47f46f58208c
|
3 |
+
size 686555770
|
checkpoint-500/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-500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93d90d15e2a70e932ff8ba985d12ef89d76689887a4662b71b47cc0114a3f071
|
3 |
+
size 14244
|
checkpoint-500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55839a6ed4407ab7082e86c852ec09edbd4ae02b200a10d34273158725aa97a9
|
3 |
+
size 1064
|
checkpoint-500/trainer_state.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 500,
|
3 |
+
"best_metric": 0.05313490703701973,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-500",
|
5 |
+
"epoch": 2.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 500,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 1.0,
|
14 |
+
"eval_accuracy": 0.979375,
|
15 |
+
"eval_loss": 0.07109048962593079,
|
16 |
+
"eval_model_preparation_time": 0.0025,
|
17 |
+
"eval_runtime": 204.2263,
|
18 |
+
"eval_samples_per_second": 39.172,
|
19 |
+
"eval_steps_per_second": 4.897,
|
20 |
+
"step": 250
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.0,
|
24 |
+
"grad_norm": 0.33399081230163574,
|
25 |
+
"learning_rate": 0.00010526315789473685,
|
26 |
+
"loss": 0.2184,
|
27 |
+
"step": 500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"eval_accuracy": 0.985125,
|
32 |
+
"eval_loss": 0.05313490703701973,
|
33 |
+
"eval_model_preparation_time": 0.0025,
|
34 |
+
"eval_runtime": 204.4851,
|
35 |
+
"eval_samples_per_second": 39.123,
|
36 |
+
"eval_steps_per_second": 4.89,
|
37 |
+
"step": 500
|
38 |
+
}
|
39 |
+
],
|
40 |
+
"logging_steps": 500,
|
41 |
+
"max_steps": 1000,
|
42 |
+
"num_input_tokens_seen": 0,
|
43 |
+
"num_train_epochs": 4,
|
44 |
+
"save_steps": 500,
|
45 |
+
"stateful_callbacks": {
|
46 |
+
"TrainerControl": {
|
47 |
+
"args": {
|
48 |
+
"should_epoch_stop": false,
|
49 |
+
"should_evaluate": false,
|
50 |
+
"should_log": false,
|
51 |
+
"should_save": true,
|
52 |
+
"should_training_stop": false
|
53 |
+
},
|
54 |
+
"attributes": {}
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"total_flos": 1.340087933140992e+18,
|
58 |
+
"train_batch_size": 32,
|
59 |
+
"trial_name": null,
|
60 |
+
"trial_params": null
|
61 |
+
}
|
checkpoint-500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:204006bafac16586eef5c520416ddc231ccdf5a76f9bffe88756655e3676d429
|
3 |
+
size 5304
|
checkpoint-750/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Deepfake",
|
7 |
+
"1": "Real one"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Deepfake": 0,
|
12 |
+
"Real one": 1
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 256000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.50.1",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
checkpoint-750/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4907f71dd6321d995fa46552569bcbabf44474a074565ecc5e18cdae5c8dda2a
|
3 |
+
size 371567992
|
checkpoint-750/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d352148288ceb6d0dc541de09a6c3ddf5191e203a6a1efe070454e992240a411
|
3 |
+
size 686555770
|
checkpoint-750/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-750/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2d6d45b4f20b7eb7d3cce5b23a58a8f2685e512b3e6a24098180adc8755354e
|
3 |
+
size 14244
|
checkpoint-750/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b44baa007c7a451768323ce9d1d92175d6d649ac1617931774e9e2f3d3dee55
|
3 |
+
size 1064
|
checkpoint-750/trainer_state.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 750,
|
3 |
+
"best_metric": 0.022496230900287628,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-750",
|
5 |
+
"epoch": 3.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 750,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 1.0,
|
14 |
+
"eval_accuracy": 0.979375,
|
15 |
+
"eval_loss": 0.07109048962593079,
|
16 |
+
"eval_model_preparation_time": 0.0025,
|
17 |
+
"eval_runtime": 204.2263,
|
18 |
+
"eval_samples_per_second": 39.172,
|
19 |
+
"eval_steps_per_second": 4.897,
|
20 |
+
"step": 250
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.0,
|
24 |
+
"grad_norm": 0.33399081230163574,
|
25 |
+
"learning_rate": 0.00010526315789473685,
|
26 |
+
"loss": 0.2184,
|
27 |
+
"step": 500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"eval_accuracy": 0.985125,
|
32 |
+
"eval_loss": 0.05313490703701973,
|
33 |
+
"eval_model_preparation_time": 0.0025,
|
34 |
+
"eval_runtime": 204.4851,
|
35 |
+
"eval_samples_per_second": 39.123,
|
36 |
+
"eval_steps_per_second": 4.89,
|
37 |
+
"step": 500
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 3.0,
|
41 |
+
"eval_accuracy": 0.994375,
|
42 |
+
"eval_loss": 0.022496230900287628,
|
43 |
+
"eval_model_preparation_time": 0.0025,
|
44 |
+
"eval_runtime": 200.0277,
|
45 |
+
"eval_samples_per_second": 39.994,
|
46 |
+
"eval_steps_per_second": 4.999,
|
47 |
+
"step": 750
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"logging_steps": 500,
|
51 |
+
"max_steps": 1000,
|
52 |
+
"num_input_tokens_seen": 0,
|
53 |
+
"num_train_epochs": 4,
|
54 |
+
"save_steps": 500,
|
55 |
+
"stateful_callbacks": {
|
56 |
+
"TrainerControl": {
|
57 |
+
"args": {
|
58 |
+
"should_epoch_stop": false,
|
59 |
+
"should_evaluate": false,
|
60 |
+
"should_log": false,
|
61 |
+
"should_save": true,
|
62 |
+
"should_training_stop": false
|
63 |
+
},
|
64 |
+
"attributes": {}
|
65 |
+
}
|
66 |
+
},
|
67 |
+
"total_flos": 2.010131899711488e+18,
|
68 |
+
"train_batch_size": 32,
|
69 |
+
"trial_name": null,
|
70 |
+
"trial_params": null
|
71 |
+
}
|
checkpoint-750/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:204006bafac16586eef5c520416ddc231ccdf5a76f9bffe88756655e3676d429
|
3 |
+
size 5304
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Deepfake",
|
7 |
+
"1": "Real one"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Deepfake": 0,
|
12 |
+
"Real one": 1
|
13 |
+
},
|
14 |
+
"model_type": "siglip",
|
15 |
+
"problem_type": "single_label_classification",
|
16 |
+
"text_config": {
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"hidden_act": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 768,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"layer_norm_eps": 1e-06,
|
22 |
+
"max_position_embeddings": 64,
|
23 |
+
"model_type": "siglip_text_model",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"projection_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"vocab_size": 256000
|
29 |
+
},
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.50.1",
|
32 |
+
"vision_config": {
|
33 |
+
"attention_dropout": 0.0,
|
34 |
+
"hidden_act": "gelu_pytorch_tanh",
|
35 |
+
"hidden_size": 768,
|
36 |
+
"image_size": 224,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"layer_norm_eps": 1e-06,
|
39 |
+
"model_type": "siglip_vision_model",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"torch_dtype": "float32"
|
45 |
+
}
|
46 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b85909e1d09645e65a554022dd5dc11c1f68cce24769b17715ecdd203d1677c7
|
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:204006bafac16586eef5c520416ddc231ccdf5a76f9bffe88756655e3676d429
|
3 |
+
size 5304
|