Upload folder using huggingface_hub
Browse files- checkpoint-313/config.json +46 -0
- checkpoint-313/model.safetensors +3 -0
- checkpoint-313/optimizer.pt +3 -0
- checkpoint-313/preprocessor_config.json +24 -0
- checkpoint-313/rng_state.pth +3 -0
- checkpoint-313/scheduler.pt +3 -0
- checkpoint-313/trainer_state.json +44 -0
- checkpoint-313/training_args.bin +3 -0
- checkpoint-626/config.json +46 -0
- checkpoint-626/model.safetensors +3 -0
- checkpoint-626/optimizer.pt +3 -0
- checkpoint-626/preprocessor_config.json +24 -0
- checkpoint-626/rng_state.pth +3 -0
- checkpoint-626/scheduler.pt +3 -0
- checkpoint-626/trainer_state.json +61 -0
- checkpoint-626/training_args.bin +3 -0
- config.json +46 -0
- model.safetensors +3 -0
- preprocessor_config.json +24 -0
- training_args.bin +3 -0
checkpoint-313/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Real",
|
7 |
+
"1": "Fake"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Fake": 1,
|
12 |
+
"Real": 0
|
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.3",
|
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-313/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3fbaa5e2dcefd6f39250efbc5ebe03b26a6f1fb1748782af2a217ca15a9889f
|
3 |
+
size 371567992
|
checkpoint-313/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f1109fcd39b47d37837895d9200d3a2e47a1cf97cf100003a8e0a843e0a58c6
|
3 |
+
size 686555770
|
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:f5c71b2757636618af226054c8fcdcecbc3433ba8a10b80225be943f6ab9d97d
|
3 |
+
size 14244
|
checkpoint-313/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a86f83e408133b9e1d6c9fc0bfb3b153eeea7db14883fb57865a812673d240c1
|
3 |
+
size 1064
|
checkpoint-313/trainer_state.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 313,
|
3 |
+
"best_metric": 0.20901371538639069,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-313",
|
5 |
+
"epoch": 1.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 313,
|
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.9262,
|
15 |
+
"eval_loss": 0.20901371538639069,
|
16 |
+
"eval_model_preparation_time": 0.0039,
|
17 |
+
"eval_runtime": 162.5269,
|
18 |
+
"eval_samples_per_second": 61.528,
|
19 |
+
"eval_steps_per_second": 7.691,
|
20 |
+
"step": 313
|
21 |
+
}
|
22 |
+
],
|
23 |
+
"logging_steps": 500,
|
24 |
+
"max_steps": 626,
|
25 |
+
"num_input_tokens_seen": 0,
|
26 |
+
"num_train_epochs": 2,
|
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": 8.3755495821312e+17,
|
41 |
+
"train_batch_size": 32,
|
42 |
+
"trial_name": null,
|
43 |
+
"trial_params": null
|
44 |
+
}
|
checkpoint-313/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0
|
3 |
+
size 5304
|
checkpoint-626/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Real",
|
7 |
+
"1": "Fake"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Fake": 1,
|
12 |
+
"Real": 0
|
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.3",
|
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-626/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35a4b9cb98afd93afcf279fae9b1aaf2efdc5355ff43e93aeb602c9bef55ce97
|
3 |
+
size 371567992
|
checkpoint-626/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a38aa39603454fa7273ff8ea70703a799352fb2d93e5fa26d20ee1a94ea37666
|
3 |
+
size 686555770
|
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:af82d6208b626c8a56c5a50c572147ca8e3f620beaa54c6797f5e663add1c49b
|
3 |
+
size 14244
|
checkpoint-626/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b47d5740bbdda276fc0c607b24f837855954144bd0a088d9f317341a82edb48
|
3 |
+
size 1064
|
checkpoint-626/trainer_state.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 626,
|
3 |
+
"best_metric": 0.15110637247562408,
|
4 |
+
"best_model_checkpoint": "siglip2-finetune-full/checkpoint-626",
|
5 |
+
"epoch": 2.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 626,
|
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.9262,
|
15 |
+
"eval_loss": 0.20901371538639069,
|
16 |
+
"eval_model_preparation_time": 0.0039,
|
17 |
+
"eval_runtime": 162.5269,
|
18 |
+
"eval_samples_per_second": 61.528,
|
19 |
+
"eval_steps_per_second": 7.691,
|
20 |
+
"step": 313
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.5974440894568689,
|
24 |
+
"grad_norm": 21.657272338867188,
|
25 |
+
"learning_rate": 4.375e-07,
|
26 |
+
"loss": 0.2898,
|
27 |
+
"step": 500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"eval_accuracy": 0.9464,
|
32 |
+
"eval_loss": 0.15110637247562408,
|
33 |
+
"eval_model_preparation_time": 0.0039,
|
34 |
+
"eval_runtime": 161.9703,
|
35 |
+
"eval_samples_per_second": 61.74,
|
36 |
+
"eval_steps_per_second": 7.717,
|
37 |
+
"step": 626
|
38 |
+
}
|
39 |
+
],
|
40 |
+
"logging_steps": 500,
|
41 |
+
"max_steps": 626,
|
42 |
+
"num_input_tokens_seen": 0,
|
43 |
+
"num_train_epochs": 2,
|
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": true
|
53 |
+
},
|
54 |
+
"attributes": {}
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"total_flos": 1.67510991642624e+18,
|
58 |
+
"train_batch_size": 32,
|
59 |
+
"trial_name": null,
|
60 |
+
"trial_params": null
|
61 |
+
}
|
checkpoint-626/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0
|
3 |
+
size 5304
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SiglipForImageClassification"
|
4 |
+
],
|
5 |
+
"id2label": {
|
6 |
+
"0": "Real",
|
7 |
+
"1": "Fake"
|
8 |
+
},
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"label2id": {
|
11 |
+
"Fake": 1,
|
12 |
+
"Real": 0
|
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.3",
|
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:35a4b9cb98afd93afcf279fae9b1aaf2efdc5355ff43e93aeb602c9bef55ce97
|
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:b82b36bb262e454f8e5c5fe3efc83cadeb46f932ed1ecf2e64afcef391dc64f0
|
3 |
+
size 5304
|