Upload folder using huggingface_hub
Browse files- checkpoint-300/config.json +28 -0
- checkpoint-300/model.safetensors +3 -0
- checkpoint-300/optimizer.pt +3 -0
- checkpoint-300/preprocessor_config.json +24 -0
- checkpoint-300/rng_state.pth +3 -0
- checkpoint-300/scheduler.pt +3 -0
- checkpoint-300/trainer_state.json +53 -0
- checkpoint-300/training_args.bin +3 -0
- config.json +28 -0
- model.safetensors +3 -0
- preprocessor_config.json +24 -0
- training_args.bin +3 -0
checkpoint-300/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": "Fake",
|
8 |
+
"1": "Real"
|
9 |
+
},
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"label2id": {
|
12 |
+
"Fake": 0,
|
13 |
+
"Real": 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-300/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:695eadd307b1f81e97b4e36cd178b5e96100d2fe947ed1b144fb45b423761f99
|
3 |
+
size 371567992
|
checkpoint-300/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24a82f869026a574def7988b28798d0b3b58321887d268d7108bee9f96dbdfe5
|
3 |
+
size 686555770
|
checkpoint-300/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-300/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b0a7ea43dcd9424783073892d257087c7d70e122ec8f62b4079ecdc3898ce14
|
3 |
+
size 14244
|
checkpoint-300/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec7445dd881aa0e896fdc6ef61cf9c541f4299feaa6850ba7cac238afd6649f3
|
3 |
+
size 1064
|
checkpoint-300/trainer_state.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.01910737343132496,
|
3 |
+
"best_model_checkpoint": "Deepfake-Detect-Siglip2/checkpoint-300",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 300,
|
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.981875,
|
14 |
+
"eval_loss": 0.06593248248100281,
|
15 |
+
"eval_model_preparation_time": 0.0048,
|
16 |
+
"eval_runtime": 80.4339,
|
17 |
+
"eval_samples_per_second": 39.784,
|
18 |
+
"eval_steps_per_second": 4.973,
|
19 |
+
"step": 150
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 2.0,
|
23 |
+
"eval_accuracy": 0.9965625,
|
24 |
+
"eval_loss": 0.01910737343132496,
|
25 |
+
"eval_model_preparation_time": 0.0048,
|
26 |
+
"eval_runtime": 79.8268,
|
27 |
+
"eval_samples_per_second": 40.087,
|
28 |
+
"eval_steps_per_second": 5.011,
|
29 |
+
"step": 300
|
30 |
+
}
|
31 |
+
],
|
32 |
+
"logging_steps": 500,
|
33 |
+
"max_steps": 300,
|
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": 8.040527598845952e+17,
|
50 |
+
"train_batch_size": 32,
|
51 |
+
"trial_name": null,
|
52 |
+
"trial_params": null
|
53 |
+
}
|
checkpoint-300/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": "Fake",
|
8 |
+
"1": "Real"
|
9 |
+
},
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"label2id": {
|
12 |
+
"Fake": 0,
|
13 |
+
"Real": 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:695eadd307b1f81e97b4e36cd178b5e96100d2fe947ed1b144fb45b423761f99
|
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
|