Upload 8 files
Browse files- checkpoint-2858/config.json +32 -0
- checkpoint-2858/model.safetensors +3 -0
- checkpoint-2858/optimizer.pt +3 -0
- checkpoint-2858/preprocessor_config.json +23 -0
- checkpoint-2858/rng_state.pth +3 -0
- checkpoint-2858/scheduler.pt +3 -0
- checkpoint-2858/trainer_state.json +86 -0
- checkpoint-2858/training_args.bin +3 -0
checkpoint-2858/config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "CodyNeo/fined_tuned_deepfake_detection",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "real",
|
13 |
+
"1": "fake"
|
14 |
+
},
|
15 |
+
"image_size": 224,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"fake": 1,
|
20 |
+
"real": 0
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-12,
|
23 |
+
"model_type": "vit",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"patch_size": 16,
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.48.0"
|
32 |
+
}
|
checkpoint-2858/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cabb5e7f11e09633192848912d570476e4b23b690ab69f4d2a6934815da47f1d
|
3 |
+
size 343223968
|
checkpoint-2858/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d5f06f62b5a470472cf37fa35173a2d98feb304d959f53d6b13a019fd595f51
|
3 |
+
size 686568453
|
checkpoint-2858/preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"resample": 2,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
checkpoint-2858/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e04e3eeed861d8f9015a774e659afa6adcf421c233dfce6c95a12cccb1f2ed88
|
3 |
+
size 14575
|
checkpoint-2858/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56b3cc3faab82bfc6e024b190670a99700b60b46d6753c7284a8e4e0b3050307
|
3 |
+
size 627
|
checkpoint-2858/trainer_state.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.11455067247152328,
|
3 |
+
"best_model_checkpoint": "deepfake_vs_real_image_detection/checkpoint-2858",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2858,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.34989503149055284,
|
13 |
+
"grad_norm": 7.89410400390625,
|
14 |
+
"learning_rate": 9.547875012559027e-07,
|
15 |
+
"loss": 0.5936,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.6997900629811057,
|
20 |
+
"grad_norm": 4.5732245445251465,
|
21 |
+
"learning_rate": 9.04551391540239e-07,
|
22 |
+
"loss": 0.1297,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"eval_accuracy": 0.9451032491922124,
|
28 |
+
"eval_loss": 0.18114979565143585,
|
29 |
+
"eval_runtime": 594.0615,
|
30 |
+
"eval_samples_per_second": 102.631,
|
31 |
+
"eval_steps_per_second": 6.415,
|
32 |
+
"step": 1429
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.0496850944716585,
|
36 |
+
"grad_norm": 3.8437559604644775,
|
37 |
+
"learning_rate": 8.543152818245754e-07,
|
38 |
+
"loss": 0.1097,
|
39 |
+
"step": 1500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.3995801259622114,
|
43 |
+
"grad_norm": 4.3537492752075195,
|
44 |
+
"learning_rate": 8.040791721089118e-07,
|
45 |
+
"loss": 0.0952,
|
46 |
+
"step": 2000
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.749475157452764,
|
50 |
+
"grad_norm": 3.225085496902466,
|
51 |
+
"learning_rate": 7.538430623932482e-07,
|
52 |
+
"loss": 0.0889,
|
53 |
+
"step": 2500
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 2.0,
|
57 |
+
"eval_accuracy": 0.9680001312142236,
|
58 |
+
"eval_loss": 0.11455067247152328,
|
59 |
+
"eval_runtime": 594.856,
|
60 |
+
"eval_samples_per_second": 102.494,
|
61 |
+
"eval_steps_per_second": 6.407,
|
62 |
+
"step": 2858
|
63 |
+
}
|
64 |
+
],
|
65 |
+
"logging_steps": 500,
|
66 |
+
"max_steps": 10003,
|
67 |
+
"num_input_tokens_seen": 0,
|
68 |
+
"num_train_epochs": 7,
|
69 |
+
"save_steps": 500,
|
70 |
+
"stateful_callbacks": {
|
71 |
+
"TrainerControl": {
|
72 |
+
"args": {
|
73 |
+
"should_epoch_stop": false,
|
74 |
+
"should_evaluate": false,
|
75 |
+
"should_log": false,
|
76 |
+
"should_save": true,
|
77 |
+
"should_training_stop": false
|
78 |
+
},
|
79 |
+
"attributes": {}
|
80 |
+
}
|
81 |
+
},
|
82 |
+
"total_flos": 1.4173749852446564e+19,
|
83 |
+
"train_batch_size": 64,
|
84 |
+
"trial_name": null,
|
85 |
+
"trial_params": null
|
86 |
+
}
|
checkpoint-2858/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afceab4b0ba9e5600849d885a71a0153eb5a2992b6504d37ff03b0549e20e7b2
|
3 |
+
size 4859
|