dima806 commited on
Commit
1b2bcfc
1 Parent(s): c62575b

Upload folder using huggingface_hub

Browse files
checkpoint-1688/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/ai_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.37.2"
32
+ }
checkpoint-1688/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c411b38f7de85893c76751e7f3906aa2a3655aa996289733dde9b903f261b3e0
3
+ size 343223968
checkpoint-1688/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:085fb2cd97a795776950dfd6998d69db8bb59d01dfa5d3a6dd50003f8a0465b7
3
+ size 686568453
checkpoint-1688/preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
checkpoint-1688/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf795204b32f4c6056562ccf6f342d238d0f90128dbbd10c0a10fa195d0ca596
3
+ size 14575
checkpoint-1688/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c0f7e2a4c019b060ffa2f24bb208a708f92f1b2edbefba36ad4b688c7af9995
3
+ size 627
checkpoint-1688/trainer_state.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.044441111385822296,
3
+ "best_model_checkpoint": "ai_vs_real_image_detection/checkpoint-1688",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1688,
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.3,
13
+ "learning_rate": 2.175824175824176e-06,
14
+ "loss": 0.0503,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.59,
19
+ "learning_rate": 1.26007326007326e-06,
20
+ "loss": 0.0503,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.89,
25
+ "learning_rate": 3.443223443223443e-07,
26
+ "loss": 0.0462,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 1.0,
31
+ "eval_accuracy": 0.9835,
32
+ "eval_loss": 0.044441111385822296,
33
+ "eval_runtime": 108.1415,
34
+ "eval_samples_per_second": 110.966,
35
+ "eval_steps_per_second": 3.468,
36
+ "step": 1688
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 1688,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 1,
43
+ "save_steps": 500,
44
+ "total_flos": 8.369134878375936e+18,
45
+ "train_batch_size": 64,
46
+ "trial_name": null,
47
+ "trial_params": null
48
+ }
checkpoint-1688/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c327c74fe7f2a93efb958503eeb657d503490adcec573d9e4f68c637e270d911
3
+ size 4219
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e29987acb635c72bf0ddbf8e97d450100a659a7a3045868b39e0895e9ccd6886
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c411b38f7de85893c76751e7f3906aa2a3655aa996289733dde9b903f261b3e0
3
  size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b5751cc1b19de155113e80e3d15ea12b0526a24b463beafde117a2b3456046b
3
  size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c327c74fe7f2a93efb958503eeb657d503490adcec573d9e4f68c637e270d911
3
  size 4219