rafimumtaz
commited on
Commit
•
6a5c101
1
Parent(s):
0551ba4
Training in progress, epoch 1
Browse files- model.safetensors +1 -1
- run-6/checkpoint-10/config.json +44 -0
- run-6/checkpoint-10/model.safetensors +3 -0
- run-6/checkpoint-10/optimizer.pt +3 -0
- run-6/checkpoint-10/preprocessor_config.json +22 -0
- run-6/checkpoint-10/rng_state.pth +3 -0
- run-6/checkpoint-10/scheduler.pt +3 -0
- run-6/checkpoint-10/trainer_state.json +61 -0
- run-6/checkpoint-10/training_args.bin +3 -0
- run-6/checkpoint-15/config.json +44 -0
- run-6/checkpoint-15/model.safetensors +3 -0
- run-6/checkpoint-15/optimizer.pt +3 -0
- run-6/checkpoint-15/preprocessor_config.json +22 -0
- run-6/checkpoint-15/rng_state.pth +3 -0
- run-6/checkpoint-15/scheduler.pt +3 -0
- run-6/checkpoint-15/trainer_state.json +70 -0
- run-6/checkpoint-15/training_args.bin +3 -0
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb390ac63d98196f3aacd274d8d11574fd32bf8cbf8c715254e2dec0c3a39f2c
|
3 |
size 343242432
|
run-6/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-6/checkpoint-10/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0013a1cc19d5793f108753ab8c45c581d694283b7831357bcfd0e1ab52a7485
|
3 |
+
size 343242432
|
run-6/checkpoint-10/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94d500c24bf74206359f7d212f4ecdf07e2f3ecff544f6ffa45d4c2d029404b5
|
3 |
+
size 686605754
|
run-6/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-6/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-6/checkpoint-10/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be28614e07bf31ffc91db9d38103ea1cdd432170a57604d3722c11be3320df22
|
3 |
+
size 1064
|
run-6/checkpoint-10/trainer_state.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.19375,
|
3 |
+
"best_model_checkpoint": "model/image_classification/run-6/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.06646728515625,
|
15 |
+
"eval_runtime": 0.9316,
|
16 |
+
"eval_samples_per_second": 171.744,
|
17 |
+
"eval_steps_per_second": 10.734,
|
18 |
+
"step": 5
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"grad_norm": 0.5571927428245544,
|
23 |
+
"learning_rate": 1.2331905886266802e-05,
|
24 |
+
"loss": 2.061,
|
25 |
+
"step": 10
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.19375,
|
30 |
+
"eval_loss": 2.0527405738830566,
|
31 |
+
"eval_runtime": 0.935,
|
32 |
+
"eval_samples_per_second": 171.114,
|
33 |
+
"eval_steps_per_second": 10.695,
|
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.2062955304293684e-05,
|
59 |
+
"per_device_train_batch_size": 64
|
60 |
+
}
|
61 |
+
}
|
run-6/checkpoint-10/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75b86acde117c0c1c895f3ec4337298a7f024b8e7cca877440e9323eae13e0c1
|
3 |
+
size 5176
|
run-6/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-6/checkpoint-15/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:741f9c583ec3f398ae1d34ef37d9dfd6fc034379ca2705f0e1a54b466db2cb50
|
3 |
+
size 343242432
|
run-6/checkpoint-15/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6489e7867701928df8be1365ed69502a370636581a4239ad00b8c99d73fc4563
|
3 |
+
size 686605754
|
run-6/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-6/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-6/checkpoint-15/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:caa933da66431fb260597230b1a681af8690dca4c5791ec50a0e70b65fac2fff
|
3 |
+
size 1064
|
run-6/checkpoint-15/trainer_state.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.20625,
|
3 |
+
"best_model_checkpoint": "model/image_classification/run-6/checkpoint-15",
|
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.06646728515625,
|
15 |
+
"eval_runtime": 0.9316,
|
16 |
+
"eval_samples_per_second": 171.744,
|
17 |
+
"eval_steps_per_second": 10.734,
|
18 |
+
"step": 5
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"grad_norm": 0.5571927428245544,
|
23 |
+
"learning_rate": 1.2331905886266802e-05,
|
24 |
+
"loss": 2.061,
|
25 |
+
"step": 10
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.19375,
|
30 |
+
"eval_loss": 2.0527405738830566,
|
31 |
+
"eval_runtime": 0.935,
|
32 |
+
"eval_samples_per_second": 171.114,
|
33 |
+
"eval_steps_per_second": 10.695,
|
34 |
+
"step": 10
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 3.0,
|
38 |
+
"eval_accuracy": 0.20625,
|
39 |
+
"eval_loss": 2.046679735183716,
|
40 |
+
"eval_runtime": 1.0699,
|
41 |
+
"eval_samples_per_second": 149.543,
|
42 |
+
"eval_steps_per_second": 9.346,
|
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.2062955304293684e-05,
|
68 |
+
"per_device_train_batch_size": 64
|
69 |
+
}
|
70 |
+
}
|
run-6/checkpoint-15/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75b86acde117c0c1c895f3ec4337298a7f024b8e7cca877440e9323eae13e0c1
|
3 |
+
size 5176
|