shivank21 commited on
Commit
db3ea58
·
verified ·
1 Parent(s): 2bfa8db

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:837a91f1b5cbd7b6d374fa4c5227aa829a1c56b0e972c4a34f42875f090186d3
3
+ size 349854120
checkpoint-1125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30b91ebcd79ba25fa2ea3a9759ae471d38e2a36abbe1df264e8ac27c0a904b6b
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:ffd6a4edabc043aea184231cb042a091d622473c70842a6969ea4d41dc49efaf
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.07319068908691406,
3
+ "best_model_checkpoint": "clip_base_4b_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.962625,
14
+ "eval_loss": 0.10090840607881546,
15
+ "eval_runtime": 231.5826,
16
+ "eval_samples_per_second": 103.635,
17
+ "eval_steps_per_second": 1.619,
18
+ "step": 375
19
+ },
20
+ {
21
+ "epoch": 1.3333333333333333,
22
+ "grad_norm": 22.520030975341797,
23
+ "learning_rate": 5.813953488372093e-07,
24
+ "loss": 0.196,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.970625,
30
+ "eval_loss": 0.08056605607271194,
31
+ "eval_runtime": 109.1814,
32
+ "eval_samples_per_second": 219.818,
33
+ "eval_steps_per_second": 3.435,
34
+ "step": 750
35
+ },
36
+ {
37
+ "epoch": 2.6666666666666665,
38
+ "grad_norm": 20.832218170166016,
39
+ "learning_rate": 1.1627906976744186e-07,
40
+ "loss": 0.0755,
41
+ "step": 1000
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "eval_accuracy": 0.9736666666666667,
46
+ "eval_loss": 0.07319068908691406,
47
+ "eval_runtime": 105.3698,
48
+ "eval_samples_per_second": 227.769,
49
+ "eval_steps_per_second": 3.559,
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:3a41053fdc107659ff1f23e163ea956e681bff9198c0bb66130ce5cfafd05e3e
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:837a91f1b5cbd7b6d374fa4c5227aa829a1c56b0e972c4a34f42875f090186d3
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:3a41053fdc107659ff1f23e163ea956e681bff9198c0bb66130ce5cfafd05e3e
3
+ size 4795