dima806 commited on
Commit
103b95b
1 Parent(s): a0424e5

Upload folder using huggingface_hub

Browse files
checkpoint-3162/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": "cats",
13
+ "1": "dogs"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "cats": 0,
20
+ "dogs": 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.32.1"
32
+ }
checkpoint-3162/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1a7a3f84481dee27238771c2c88e1177f324f2cbff7180dd7045ee8ed6f1ddd
3
+ size 686568453
checkpoint-3162/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-3162/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b426bb1b92ddbaab34a5bdc40e3da74202118e3ba5733600a664cf3fa007cbc6
3
+ size 343268717
checkpoint-3162/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a4da0f40d4c2bba69afeb62a83a188af9fc78755f128a92e24810472bad5bb
3
+ size 14575
checkpoint-3162/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af0b0457337765435d15a07b3a07390ef4a61b710c7f6f4e7cbe2089f278dd87
3
+ size 627
checkpoint-3162/trainer_state.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.019737759605050087,
3
+ "best_model_checkpoint": "dogs_cats_image_detection/checkpoint-3162",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3162,
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.47,
13
+ "learning_rate": 8.553984575835477e-06,
14
+ "loss": 0.1571,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.95,
19
+ "learning_rate": 6.947300771208226e-06,
20
+ "loss": 0.0298,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.9943955164131305,
26
+ "eval_loss": 0.024254532530903816,
27
+ "eval_runtime": 45.0659,
28
+ "eval_samples_per_second": 83.145,
29
+ "eval_steps_per_second": 20.792,
30
+ "step": 1054
31
+ },
32
+ {
33
+ "epoch": 1.42,
34
+ "learning_rate": 5.3406169665809774e-06,
35
+ "loss": 0.0171,
36
+ "step": 1500
37
+ },
38
+ {
39
+ "epoch": 1.9,
40
+ "learning_rate": 3.7339331619537276e-06,
41
+ "loss": 0.0162,
42
+ "step": 2000
43
+ },
44
+ {
45
+ "epoch": 2.0,
46
+ "eval_accuracy": 0.9941286362423272,
47
+ "eval_loss": 0.02243230864405632,
48
+ "eval_runtime": 43.5982,
49
+ "eval_samples_per_second": 85.944,
50
+ "eval_steps_per_second": 21.492,
51
+ "step": 2108
52
+ },
53
+ {
54
+ "epoch": 2.37,
55
+ "learning_rate": 2.127249357326478e-06,
56
+ "loss": 0.0135,
57
+ "step": 2500
58
+ },
59
+ {
60
+ "epoch": 2.85,
61
+ "learning_rate": 5.205655526992289e-07,
62
+ "loss": 0.0113,
63
+ "step": 3000
64
+ },
65
+ {
66
+ "epoch": 3.0,
67
+ "eval_accuracy": 0.9949292767547371,
68
+ "eval_loss": 0.019737759605050087,
69
+ "eval_runtime": 42.7715,
70
+ "eval_samples_per_second": 87.605,
71
+ "eval_steps_per_second": 21.907,
72
+ "step": 3162
73
+ }
74
+ ],
75
+ "logging_steps": 500,
76
+ "max_steps": 3162,
77
+ "num_train_epochs": 3,
78
+ "save_steps": 500,
79
+ "total_flos": 7.837694813599064e+18,
80
+ "trial_name": null,
81
+ "trial_params": null
82
+ }
checkpoint-3162/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:912f2ca8b32c6126a55be1ac71494c527bdfe49232c92e6a15720c9e359a025e
3
+ size 4027
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": "cats",
13
+ "1": "dogs"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "cats": 0,
20
+ "dogs": 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.32.1"
32
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b426bb1b92ddbaab34a5bdc40e3da74202118e3ba5733600a664cf3fa007cbc6
3
+ size 343268717
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:912f2ca8b32c6126a55be1ac71494c527bdfe49232c92e6a15720c9e359a025e
3
+ size 4027