manh08 commited on
Commit
2340505
·
verified ·
1 Parent(s): de2cc9e

Upload folder using huggingface_hub

Browse files
checkpoint-64/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/deepfake_vs_real_image_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.49.0"
32
+ }
checkpoint-64/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6db233869d729a1d13c0b9bb69244a14dc74496242a88e373178b838a3d75dcc
3
+ size 343223968
checkpoint-64/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d9ece7e588523fdfc6417070e2141820019ee4c040eadfd7eabde8d0350f518
3
+ size 686568890
checkpoint-64/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-64/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:012783e9b81b644f89ef05f980373eb5979e5d5de58866ba1da4b3e28ed71e94
3
+ size 14244
checkpoint-64/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc12c52385b63a4342627311cc36248a04c7b33d702554d64378b5b9f6e0e36e
3
+ size 1064
checkpoint-64/trainer_state.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.017134975641965866,
3
+ "best_model_checkpoint": "Manh_deepfake_vs_real_image_detection_Manh/checkpoint-64",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 64,
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.9948529411764706,
14
+ "eval_loss": 0.017134975641965866,
15
+ "eval_model_preparation_time": 0.0051,
16
+ "eval_runtime": 19.9802,
17
+ "eval_samples_per_second": 68.067,
18
+ "eval_steps_per_second": 8.508,
19
+ "step": 64
20
+ }
21
+ ],
22
+ "logging_steps": 500,
23
+ "max_steps": 128,
24
+ "num_input_tokens_seen": 0,
25
+ "num_train_epochs": 2,
26
+ "save_steps": 500,
27
+ "stateful_callbacks": {
28
+ "TrainerControl": {
29
+ "args": {
30
+ "should_epoch_stop": false,
31
+ "should_evaluate": false,
32
+ "should_log": false,
33
+ "should_save": true,
34
+ "should_training_stop": false
35
+ },
36
+ "attributes": {}
37
+ }
38
+ },
39
+ "total_flos": 1.579286748345385e+17,
40
+ "train_batch_size": 32,
41
+ "trial_name": null,
42
+ "trial_params": null
43
+ }
checkpoint-64/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0769d3119dfc9b346770178cb79d7d3d1733796fef8c3112ee11c48e9a1cee7
3
+ size 5304
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1029df707d2a91425cef10787fdc50f5f59b4afcde5fce5d132900d062f80751
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6db233869d729a1d13c0b9bb69244a14dc74496242a88e373178b838a3d75dcc
3
  size 343223968