rafimumtaz commited on
Commit
9678488
1 Parent(s): 9ce302e

Training in progress, epoch 1

Browse files
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b348e1a4f66bdcef233a2a203dbe1cd2b2907bc994c21608fbf3bf1d92130aa
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d7ea09d3f819964c751cdc9d2cdab371fbdffd74ba249593d52221f18d2bc7b
3
  size 343242432
run-3/checkpoint-20/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "anger",
13
+ "1": "contempt",
14
+ "2": "disgust",
15
+ "3": "fear",
16
+ "4": "happy",
17
+ "5": "neutral",
18
+ "6": "sad",
19
+ "7": "surprise"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "anger": "0",
26
+ "contempt": "1",
27
+ "disgust": "2",
28
+ "fear": "3",
29
+ "happy": "4",
30
+ "neutral": "5",
31
+ "sad": "6",
32
+ "surprise": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.44.2"
44
+ }
run-3/checkpoint-20/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50e11d788c48ad12252fa88228c8464ea0c6334c08c85f1a1eed49a21158bf63
3
+ size 343242432
run-3/checkpoint-20/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abcda00f31fc5b419bef54eab1293ba712f7aa22e58fe9b0d651e99bdb4df5d5
3
+ size 686605754
run-3/checkpoint-20/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
+ }
run-3/checkpoint-20/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83f925d90a08b776e0ab30d6b04595c492e66b69f5a47c1cd5f0b86dddfe5873
3
+ size 14244
run-3/checkpoint-20/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:148e6cb85a170183c5c2f95fca83421a6c447f3cd473aedf432de6730e37b951
3
+ size 1064
run-3/checkpoint-20/trainer_state.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.1375,
3
+ "best_model_checkpoint": "model/image_classification/run-3/checkpoint-20",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 20,
7
+ "is_hyper_param_search": true,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 0.8163558840751648,
14
+ "learning_rate": 1.96917647162269e-06,
15
+ "loss": 2.0789,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.11875,
21
+ "eval_loss": 2.078460693359375,
22
+ "eval_runtime": 0.7985,
23
+ "eval_samples_per_second": 200.371,
24
+ "eval_steps_per_second": 12.523,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 0.6774879693984985,
30
+ "learning_rate": 9.84588235811345e-07,
31
+ "loss": 2.074,
32
+ "step": 20
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.1375,
37
+ "eval_loss": 2.078967332839966,
38
+ "eval_runtime": 0.9313,
39
+ "eval_samples_per_second": 171.797,
40
+ "eval_steps_per_second": 10.737,
41
+ "step": 20
42
+ }
43
+ ],
44
+ "logging_steps": 10,
45
+ "max_steps": 30,
46
+ "num_input_tokens_seen": 0,
47
+ "num_train_epochs": 3,
48
+ "save_steps": 500,
49
+ "stateful_callbacks": {
50
+ "TrainerControl": {
51
+ "args": {
52
+ "should_epoch_stop": false,
53
+ "should_evaluate": false,
54
+ "should_log": false,
55
+ "should_save": true,
56
+ "should_training_stop": false
57
+ },
58
+ "attributes": {}
59
+ }
60
+ },
61
+ "total_flos": 9.919508074463232e+16,
62
+ "train_batch_size": 32,
63
+ "trial_name": null,
64
+ "trial_params": {
65
+ "learning_rate": 2.6583882366906316e-06,
66
+ "per_device_train_batch_size": 32
67
+ }
68
+ }
run-3/checkpoint-20/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bacc069379f9a76a0421661769f4154c4f2fafc76fc9b7073cda486d359056fa
3
+ size 5176
run-3/checkpoint-30/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "anger",
13
+ "1": "contempt",
14
+ "2": "disgust",
15
+ "3": "fear",
16
+ "4": "happy",
17
+ "5": "neutral",
18
+ "6": "sad",
19
+ "7": "surprise"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "anger": "0",
26
+ "contempt": "1",
27
+ "disgust": "2",
28
+ "fear": "3",
29
+ "happy": "4",
30
+ "neutral": "5",
31
+ "sad": "6",
32
+ "surprise": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.44.2"
44
+ }
run-3/checkpoint-30/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82c0b1c4586ec4ea2e96ecf59d51ad5f631b788c8445c78133061c52860c526
3
+ size 343242432
run-3/checkpoint-30/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:564f8537b5c24b9956c342519c9d24627af7a06e8965031765c6fb8f47e75f24
3
+ size 686605754
run-3/checkpoint-30/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
+ }
run-3/checkpoint-30/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c6adff979f9014b2454268eddca4e8037130bba68679c8fdb4378cbee10cdd0
3
+ size 14244
run-3/checkpoint-30/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d68c87e4bcdf1897991d9ec1467f65521fd724d80e9e74b25fb8f76195c12d71
3
+ size 1064
run-3/checkpoint-30/trainer_state.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.1375,
3
+ "best_model_checkpoint": "model/image_classification/run-3/checkpoint-20",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 30,
7
+ "is_hyper_param_search": true,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 0.8163558840751648,
14
+ "learning_rate": 1.96917647162269e-06,
15
+ "loss": 2.0789,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.11875,
21
+ "eval_loss": 2.078460693359375,
22
+ "eval_runtime": 0.7985,
23
+ "eval_samples_per_second": 200.371,
24
+ "eval_steps_per_second": 12.523,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 0.6774879693984985,
30
+ "learning_rate": 9.84588235811345e-07,
31
+ "loss": 2.074,
32
+ "step": 20
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.1375,
37
+ "eval_loss": 2.078967332839966,
38
+ "eval_runtime": 0.9313,
39
+ "eval_samples_per_second": 171.797,
40
+ "eval_steps_per_second": 10.737,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "grad_norm": 0.8743719458580017,
46
+ "learning_rate": 0.0,
47
+ "loss": 2.0732,
48
+ "step": 30
49
+ },
50
+ {
51
+ "epoch": 3.0,
52
+ "eval_accuracy": 0.09375,
53
+ "eval_loss": 2.0778565406799316,
54
+ "eval_runtime": 1.6395,
55
+ "eval_samples_per_second": 97.588,
56
+ "eval_steps_per_second": 6.099,
57
+ "step": 30
58
+ }
59
+ ],
60
+ "logging_steps": 10,
61
+ "max_steps": 30,
62
+ "num_input_tokens_seen": 0,
63
+ "num_train_epochs": 3,
64
+ "save_steps": 500,
65
+ "stateful_callbacks": {
66
+ "TrainerControl": {
67
+ "args": {
68
+ "should_epoch_stop": false,
69
+ "should_evaluate": false,
70
+ "should_log": false,
71
+ "should_save": true,
72
+ "should_training_stop": true
73
+ },
74
+ "attributes": {}
75
+ }
76
+ },
77
+ "total_flos": 1.4879262111694848e+17,
78
+ "train_batch_size": 32,
79
+ "trial_name": null,
80
+ "trial_params": {
81
+ "learning_rate": 2.6583882366906316e-06,
82
+ "per_device_train_batch_size": 32
83
+ }
84
+ }
run-3/checkpoint-30/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bacc069379f9a76a0421661769f4154c4f2fafc76fc9b7073cda486d359056fa
3
+ size 5176
run-4/checkpoint-20/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "anger",
13
+ "1": "contempt",
14
+ "2": "disgust",
15
+ "3": "fear",
16
+ "4": "happy",
17
+ "5": "neutral",
18
+ "6": "sad",
19
+ "7": "surprise"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "anger": "0",
26
+ "contempt": "1",
27
+ "disgust": "2",
28
+ "fear": "3",
29
+ "happy": "4",
30
+ "neutral": "5",
31
+ "sad": "6",
32
+ "surprise": "7"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.44.2"
44
+ }
run-4/checkpoint-20/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d7ea09d3f819964c751cdc9d2cdab371fbdffd74ba249593d52221f18d2bc7b
3
+ size 343242432
run-4/checkpoint-20/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af74cf582a8f00a1835f9e5fad3fe75c731cb9ac0869962e6977f48c7cdb245c
3
+ size 686605754
run-4/checkpoint-20/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
+ }
run-4/checkpoint-20/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827048ccfd9536f41a4f2cb3f515c1457a5168650a4a7030e7df9eae593d1b5c
3
+ size 14244
run-4/checkpoint-20/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e17a96617e94c2e38260317c359e9c8eb9af8b3a3154b01c80aa1af31493fe1
3
+ size 1064
run-4/checkpoint-20/trainer_state.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.13125,
3
+ "best_model_checkpoint": "model/image_classification/run-4/checkpoint-20",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 20,
7
+ "is_hyper_param_search": true,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "grad_norm": 1.0558984279632568,
14
+ "learning_rate": 1.1573843762670946e-05,
15
+ "loss": 2.0691,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 1.9791191816329956,
21
+ "learning_rate": 9.259075010136756e-06,
22
+ "loss": 2.0787,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.13125,
28
+ "eval_loss": 2.066149950027466,
29
+ "eval_runtime": 0.8295,
30
+ "eval_samples_per_second": 192.878,
31
+ "eval_steps_per_second": 12.055,
32
+ "step": 20
33
+ }
34
+ ],
35
+ "logging_steps": 10,
36
+ "max_steps": 60,
37
+ "num_input_tokens_seen": 0,
38
+ "num_train_epochs": 3,
39
+ "save_steps": 500,
40
+ "stateful_callbacks": {
41
+ "TrainerControl": {
42
+ "args": {
43
+ "should_epoch_stop": false,
44
+ "should_evaluate": false,
45
+ "should_log": false,
46
+ "should_save": true,
47
+ "should_training_stop": false
48
+ },
49
+ "attributes": {}
50
+ }
51
+ },
52
+ "total_flos": 4.959754037231616e+16,
53
+ "train_batch_size": 16,
54
+ "trial_name": null,
55
+ "trial_params": {
56
+ "learning_rate": 1.2499751263684622e-05,
57
+ "per_device_train_batch_size": 16
58
+ }
59
+ }
run-4/checkpoint-20/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82ed6666d931a5598f0a45acdc17365e7e100844132b2632459ef561b790720
3
+ size 5176
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bacc069379f9a76a0421661769f4154c4f2fafc76fc9b7073cda486d359056fa
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82ed6666d931a5598f0a45acdc17365e7e100844132b2632459ef561b790720
3
  size 5176