shivank21 commited on
Commit
2b012a2
·
verified ·
1 Parent(s): 649c321

Upload folder using huggingface_hub

Browse files
checkpoint-1125/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-base-patch32",
3
+ "architectures": [
4
+ "CLIPForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "REAL",
8
+ "1": "FAKE"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "FAKE": 1,
13
+ "REAL": 0
14
+ },
15
+ "logit_scale_init_value": 2.6592,
16
+ "model_type": "clip",
17
+ "problem_type": "single_label_classification",
18
+ "projection_dim": 512,
19
+ "text_config": {
20
+ "bos_token_id": 0,
21
+ "dropout": 0.0,
22
+ "eos_token_id": 2,
23
+ "model_type": "clip_text_model"
24
+ },
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.46.3",
27
+ "vision_config": {
28
+ "dropout": 0.0,
29
+ "model_type": "clip_vision_model"
30
+ }
31
+ }
checkpoint-1125/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e3888ac461b2cc9241b0473d21cea9e32345a43fb014bc0cd0de6e2e6069574
3
+ size 349854120
checkpoint-1125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c3ab3c5825eb71bc54050f5cc6f7fcd482b48e369526558371b18eb031d9ac3
3
+ size 699814021
checkpoint-1125/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
checkpoint-1125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5fb9118965ed8d2af3b9e954108c67cc58d44e1d30f02a6a07fa12718ab0b1a
3
+ size 14575
checkpoint-1125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dc672e1edb3c8302344be3017bc9e684bedc7331dc8fe9e7dff2ee30364945f
3
+ size 627
checkpoint-1125/trainer_state.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.06769324094057083,
3
+ "best_model_checkpoint": "clip_base_4a_aug/checkpoint-1125",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1125,
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.9677083333333333,
14
+ "eval_loss": 0.08766181766986847,
15
+ "eval_runtime": 236.1218,
16
+ "eval_samples_per_second": 101.642,
17
+ "eval_steps_per_second": 1.588,
18
+ "step": 375
19
+ },
20
+ {
21
+ "epoch": 1.3333333333333333,
22
+ "grad_norm": 15.12252140045166,
23
+ "learning_rate": 5.813953488372093e-07,
24
+ "loss": 0.1764,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.973,
30
+ "eval_loss": 0.07185973972082138,
31
+ "eval_runtime": 104.3493,
32
+ "eval_samples_per_second": 229.997,
33
+ "eval_steps_per_second": 3.594,
34
+ "step": 750
35
+ },
36
+ {
37
+ "epoch": 2.6666666666666665,
38
+ "grad_norm": 13.257657051086426,
39
+ "learning_rate": 1.1627906976744186e-07,
40
+ "loss": 0.0644,
41
+ "step": 1000
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "eval_accuracy": 0.975,
46
+ "eval_loss": 0.06769324094057083,
47
+ "eval_runtime": 104.5633,
48
+ "eval_samples_per_second": 229.526,
49
+ "eval_steps_per_second": 3.586,
50
+ "step": 1125
51
+ }
52
+ ],
53
+ "logging_steps": 500,
54
+ "max_steps": 1125,
55
+ "num_input_tokens_seen": 0,
56
+ "num_train_epochs": 3,
57
+ "save_steps": 500,
58
+ "stateful_callbacks": {
59
+ "TrainerControl": {
60
+ "args": {
61
+ "should_epoch_stop": false,
62
+ "should_evaluate": false,
63
+ "should_log": false,
64
+ "should_save": true,
65
+ "should_training_stop": true
66
+ },
67
+ "attributes": {}
68
+ }
69
+ },
70
+ "total_flos": 2.273880039240499e+19,
71
+ "train_batch_size": 256,
72
+ "trial_name": null,
73
+ "trial_params": null
74
+ }
checkpoint-1125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f507f3fc764ddc49cba9187c8c18dfd6fb89226ab7d284d406aa70de8427770
3
+ size 4795
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-base-patch32",
3
+ "architectures": [
4
+ "CLIPForImageClassification"
5
+ ],
6
+ "id2label": {
7
+ "0": "REAL",
8
+ "1": "FAKE"
9
+ },
10
+ "initializer_factor": 1.0,
11
+ "label2id": {
12
+ "FAKE": 1,
13
+ "REAL": 0
14
+ },
15
+ "logit_scale_init_value": 2.6592,
16
+ "model_type": "clip",
17
+ "problem_type": "single_label_classification",
18
+ "projection_dim": 512,
19
+ "text_config": {
20
+ "bos_token_id": 0,
21
+ "dropout": 0.0,
22
+ "eos_token_id": 2,
23
+ "model_type": "clip_text_model"
24
+ },
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.46.3",
27
+ "vision_config": {
28
+ "dropout": 0.0,
29
+ "model_type": "clip_vision_model"
30
+ }
31
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e3888ac461b2cc9241b0473d21cea9e32345a43fb014bc0cd0de6e2e6069574
3
+ size 349854120
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f507f3fc764ddc49cba9187c8c18dfd6fb89226ab7d284d406aa70de8427770
3
+ size 4795