AashishKumar commited on
Commit
e6a4626
·
verified ·
1 Parent(s): 4f7dba7

Upload folder using huggingface_hub

Browse files
checkpoint-1688/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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.38.2"
32
+ }
checkpoint-1688/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cfcc6e286766f1059272320f33e888f10a442ca4e0ab4cf221320fd87c13b4
3
+ size 343223968
checkpoint-1688/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c41ae29bdf0643ea83f24dd03a45416fb6a5cd75c6d46e5f5b596bd64b19dbd
3
+ size 686568890
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:337f80e2d0d34a9284444d55672774bbbfc95146aa2e09eba76b1b465dde18ea
3
+ size 14244
checkpoint-1688/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5b5fcd50b57c530802f7e18e03e50d150c4d805d77ae101cf3163f64847126d
3
+ size 1064
checkpoint-1688/trainer_state.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.598137617111206,
3
+ "best_model_checkpoint": "AIvisionGuard-v2/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
+ "grad_norm": 4.43463659286499,
14
+ "learning_rate": 2.175824175824176e-06,
15
+ "loss": 0.387,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.59,
20
+ "grad_norm": 2.798928737640381,
21
+ "learning_rate": 1.26007326007326e-06,
22
+ "loss": 0.1963,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.89,
27
+ "grad_norm": 2.8228600025177,
28
+ "learning_rate": 3.443223443223443e-07,
29
+ "loss": 0.1714,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.6831666666666667,
35
+ "eval_loss": 0.598137617111206,
36
+ "eval_runtime": 109.7752,
37
+ "eval_samples_per_second": 109.314,
38
+ "eval_steps_per_second": 3.416,
39
+ "step": 1688
40
+ }
41
+ ],
42
+ "logging_steps": 500,
43
+ "max_steps": 1688,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 1,
46
+ "save_steps": 500,
47
+ "total_flos": 8.369134878375936e+18,
48
+ "train_batch_size": 64,
49
+ "trial_name": null,
50
+ "trial_params": null
51
+ }
checkpoint-1688/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab92aa86f470edd6e83d67521b19069445f0a61dad24871cb242fe65474c3c7f
3
+ size 4856
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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.38.2"
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cfcc6e286766f1059272320f33e888f10a442ca4e0ab4cf221320fd87c13b4
3
+ size 343223968
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab92aa86f470edd6e83d67521b19069445f0a61dad24871cb242fe65474c3c7f
3
+ size 4856