rafimumtaz commited on
Commit
194fcb7
1 Parent(s): bfd75c6

Training in progress, epoch 3

Browse files
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b4041b832e1d62d87602abc5928e3175ebf3fddc0826bfff2b54773b121dcc1
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c166bd01fe477bd0ba2f0cf09f899378b0b8ca4ac2356363cf920cfaf46e4f89
3
  size 343242432
run-0/checkpoint-10/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-0/checkpoint-10/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1a566cbb6ff3a40afc4d650221abf2ba4fbf42b6a2906106767d6972016b1ec
3
+ size 343242432
run-0/checkpoint-10/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abdeaabf25ece61b530a801a1071fe42c258e577d43d0f63c9f636065519c535
3
+ size 686605754
run-0/checkpoint-10/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-0/checkpoint-10/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-0/checkpoint-10/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:428c7f2eb12c4b42e4575a3d3578451bfcb11004a0c7d2b87e69cb629824337c
3
+ size 1064
run-0/checkpoint-10/trainer_state.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.19375,
3
+ "best_model_checkpoint": "model/image_classification/run-0/checkpoint-10",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 10,
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
+ "eval_accuracy": 0.125,
14
+ "eval_loss": 2.0665345191955566,
15
+ "eval_runtime": 1.0008,
16
+ "eval_samples_per_second": 159.877,
17
+ "eval_steps_per_second": 9.992,
18
+ "step": 5
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "grad_norm": 0.5518031120300293,
23
+ "learning_rate": 1.2223590254554655e-05,
24
+ "loss": 2.0611,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.19375,
30
+ "eval_loss": 2.0526061058044434,
31
+ "eval_runtime": 1.6216,
32
+ "eval_samples_per_second": 98.67,
33
+ "eval_steps_per_second": 6.167,
34
+ "step": 10
35
+ }
36
+ ],
37
+ "logging_steps": 10,
38
+ "max_steps": 15,
39
+ "num_input_tokens_seen": 0,
40
+ "num_train_epochs": 3,
41
+ "save_steps": 500,
42
+ "stateful_callbacks": {
43
+ "TrainerControl": {
44
+ "args": {
45
+ "should_epoch_stop": false,
46
+ "should_evaluate": false,
47
+ "should_log": false,
48
+ "should_save": true,
49
+ "should_training_stop": false
50
+ },
51
+ "attributes": {}
52
+ }
53
+ },
54
+ "total_flos": 9.919508074463232e+16,
55
+ "train_batch_size": 64,
56
+ "trial_name": null,
57
+ "trial_params": {
58
+ "learning_rate": 3.17813346618421e-05,
59
+ "per_device_train_batch_size": 64
60
+ }
61
+ }
run-0/checkpoint-10/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:744d69b76e42dd7d056d0c6b75ff3bca8540bf6f116f8829f049bd31671fdf46
3
+ size 5176
run-0/checkpoint-15/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-0/checkpoint-15/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c166bd01fe477bd0ba2f0cf09f899378b0b8ca4ac2356363cf920cfaf46e4f89
3
+ size 343242432
run-0/checkpoint-15/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d862d8290404e6871c2a7d282bde8c3a56e02e4ff1c39dcd198f40bb46afaa8
3
+ size 686605754
run-0/checkpoint-15/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-0/checkpoint-15/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-0/checkpoint-15/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f06c6f07d43e2c650580df11ba68a2a432dc21d237c76d4cb04b878c2459654d
3
+ size 1064
run-0/checkpoint-15/trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.19375,
3
+ "best_model_checkpoint": "model/image_classification/run-0/checkpoint-10",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 15,
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
+ "eval_accuracy": 0.125,
14
+ "eval_loss": 2.0665345191955566,
15
+ "eval_runtime": 1.0008,
16
+ "eval_samples_per_second": 159.877,
17
+ "eval_steps_per_second": 9.992,
18
+ "step": 5
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "grad_norm": 0.5518031120300293,
23
+ "learning_rate": 1.2223590254554655e-05,
24
+ "loss": 2.0611,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.19375,
30
+ "eval_loss": 2.0526061058044434,
31
+ "eval_runtime": 1.6216,
32
+ "eval_samples_per_second": 98.67,
33
+ "eval_steps_per_second": 6.167,
34
+ "step": 10
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.19375,
39
+ "eval_loss": 2.046643018722534,
40
+ "eval_runtime": 1.5063,
41
+ "eval_samples_per_second": 106.223,
42
+ "eval_steps_per_second": 6.639,
43
+ "step": 15
44
+ }
45
+ ],
46
+ "logging_steps": 10,
47
+ "max_steps": 15,
48
+ "num_input_tokens_seen": 0,
49
+ "num_train_epochs": 3,
50
+ "save_steps": 500,
51
+ "stateful_callbacks": {
52
+ "TrainerControl": {
53
+ "args": {
54
+ "should_epoch_stop": false,
55
+ "should_evaluate": false,
56
+ "should_log": false,
57
+ "should_save": true,
58
+ "should_training_stop": true
59
+ },
60
+ "attributes": {}
61
+ }
62
+ },
63
+ "total_flos": 9.919508074463232e+16,
64
+ "train_batch_size": 64,
65
+ "trial_name": null,
66
+ "trial_params": {
67
+ "learning_rate": 3.17813346618421e-05,
68
+ "per_device_train_batch_size": 64
69
+ }
70
+ }
run-0/checkpoint-15/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:744d69b76e42dd7d056d0c6b75ff3bca8540bf6f116f8829f049bd31671fdf46
3
+ size 5176