rishabh063 commited on
Commit
b4e368f
1 Parent(s): 98bb14f

Upload 8 files

Browse files
model/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "bad",
13
+ "1": "good"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "bad": "0",
20
+ "good": "1"
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.34.1"
32
+ }
model/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:586e71c4c91cc86ca436aa23db45a2b64b66355c6373c2fbde86d7d059db266f
3
+ size 686568890
model/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
+ }
model/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4736ae43ed1fb720e6baec465c8d82612b2047d4c76a8bd7003b5e01029bc93
3
+ size 343269162
model/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa04be111341874d8fd8959c19ab9fd8fc3cf6dddce932b3cee20e4d18b05800
3
+ size 14244
model/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed2e0e287e7ba003301dd69442559fdd784830b3241bdc71590fde32fdb70278
3
+ size 1064
model/trainer_state.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.926829268292683,
3
+ "best_model_checkpoint": "my_awesome_product_model/checkpoint-97",
4
+ "epoch": 1.9897435897435898,
5
+ "eval_steps": 500,
6
+ "global_step": 97,
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.21,
13
+ "learning_rate": 3.3333333333333335e-05,
14
+ "loss": 0.697,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.41,
19
+ "learning_rate": 4.8062015503875976e-05,
20
+ "loss": 0.6543,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.62,
25
+ "learning_rate": 4.418604651162791e-05,
26
+ "loss": 0.5675,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.82,
31
+ "learning_rate": 4.0310077519379843e-05,
32
+ "loss": 0.4375,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.98,
37
+ "eval_accuracy": 0.8690629011553274,
38
+ "eval_loss": 0.32008689641952515,
39
+ "eval_runtime": 47.4344,
40
+ "eval_samples_per_second": 16.423,
41
+ "eval_steps_per_second": 1.033,
42
+ "step": 48
43
+ },
44
+ {
45
+ "epoch": 1.03,
46
+ "learning_rate": 3.6434108527131784e-05,
47
+ "loss": 0.3455,
48
+ "step": 50
49
+ },
50
+ {
51
+ "epoch": 1.23,
52
+ "learning_rate": 3.2558139534883724e-05,
53
+ "loss": 0.2934,
54
+ "step": 60
55
+ },
56
+ {
57
+ "epoch": 1.44,
58
+ "learning_rate": 2.868217054263566e-05,
59
+ "loss": 0.2365,
60
+ "step": 70
61
+ },
62
+ {
63
+ "epoch": 1.64,
64
+ "learning_rate": 2.48062015503876e-05,
65
+ "loss": 0.2391,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 1.85,
70
+ "learning_rate": 2.0930232558139536e-05,
71
+ "loss": 0.2112,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.99,
76
+ "eval_accuracy": 0.926829268292683,
77
+ "eval_loss": 0.20997567474842072,
78
+ "eval_runtime": 50.4357,
79
+ "eval_samples_per_second": 15.445,
80
+ "eval_steps_per_second": 0.972,
81
+ "step": 97
82
+ }
83
+ ],
84
+ "logging_steps": 10,
85
+ "max_steps": 144,
86
+ "num_train_epochs": 3,
87
+ "save_steps": 500,
88
+ "total_flos": 4.824651273404498e+17,
89
+ "trial_name": null,
90
+ "trial_params": null
91
+ }
model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:299fefcc82cd7ec75eebd0c73a520d949fec45f320b9f0db13bcea8998bf2dab
3
+ size 4536