Upload folder using huggingface_hub
Browse files- checkpoint-6147/config.json +34 -0
- checkpoint-6147/optimizer.pt +3 -0
- checkpoint-6147/preprocessor_config.json +22 -0
- checkpoint-6147/pytorch_model.bin +3 -0
- checkpoint-6147/rng_state.pth +3 -0
- checkpoint-6147/scheduler.pt +3 -0
- checkpoint-6147/trainer_state.json +100 -0
- checkpoint-6147/training_args.bin +3 -0
- config.json +34 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-6147/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "S",
|
13 |
+
"1": "SB",
|
14 |
+
"2": "E"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"E": 2,
|
21 |
+
"S": 0,
|
22 |
+
"SB": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.32.1"
|
34 |
+
}
|
checkpoint-6147/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21a69fc47c8b3226bfd3c758e27423c79c9823364d151723531b38927cbb0a9b
|
3 |
+
size 686574597
|
checkpoint-6147/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-6147/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3d40a3c7c7abb4add0e72ac786364f24ce47f7b34bcd1dbed694bccdf46a176
|
3 |
+
size 343271789
|
checkpoint-6147/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6b71f5e13cf27cfc0a54accef6a5f3d67597b2ede7c359491dd54b78f9ae1f1
|
3 |
+
size 14575
|
checkpoint-6147/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffd994673cce29cbea97673eb30228c3e7c84f880560fb172f1b6c9bfe16fc96
|
3 |
+
size 627
|
checkpoint-6147/trainer_state.json
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3337416648864746,
|
3 |
+
"best_model_checkpoint": "galaxy_type_image_detection/checkpoint-6147",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 6147,
|
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.08,
|
13 |
+
"learning_rate": 9.261932097752994e-06,
|
14 |
+
"loss": 0.5596,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.16,
|
19 |
+
"learning_rate": 8.441856650811876e-06,
|
20 |
+
"loss": 0.4161,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.24,
|
25 |
+
"learning_rate": 7.621781203870758e-06,
|
26 |
+
"loss": 0.3968,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.33,
|
31 |
+
"learning_rate": 6.801705756929639e-06,
|
32 |
+
"loss": 0.3757,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.41,
|
37 |
+
"learning_rate": 5.98163030998852e-06,
|
38 |
+
"loss": 0.3693,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.49,
|
43 |
+
"learning_rate": 5.161554863047401e-06,
|
44 |
+
"loss": 0.3699,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.57,
|
49 |
+
"learning_rate": 4.341479416106282e-06,
|
50 |
+
"loss": 0.3637,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.65,
|
55 |
+
"learning_rate": 3.5214039691651636e-06,
|
56 |
+
"loss": 0.3601,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.73,
|
61 |
+
"learning_rate": 2.7013285222240447e-06,
|
62 |
+
"loss": 0.3597,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.81,
|
67 |
+
"learning_rate": 1.8812530752829262e-06,
|
68 |
+
"loss": 0.3511,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.89,
|
73 |
+
"learning_rate": 1.0611776283418075e-06,
|
74 |
+
"loss": 0.3528,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.98,
|
79 |
+
"learning_rate": 2.4110218140068886e-07,
|
80 |
+
"loss": 0.3514,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 1.0,
|
85 |
+
"eval_accuracy": 0.8757005853780048,
|
86 |
+
"eval_loss": 0.3337416648864746,
|
87 |
+
"eval_runtime": 88.6859,
|
88 |
+
"eval_samples_per_second": 90.533,
|
89 |
+
"eval_steps_per_second": 2.83,
|
90 |
+
"step": 6147
|
91 |
+
}
|
92 |
+
],
|
93 |
+
"logging_steps": 500,
|
94 |
+
"max_steps": 6147,
|
95 |
+
"num_train_epochs": 1,
|
96 |
+
"save_steps": 500,
|
97 |
+
"total_flos": 3.048616439370748e+19,
|
98 |
+
"trial_name": null,
|
99 |
+
"trial_params": null
|
100 |
+
}
|
checkpoint-6147/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84330c3b6e1bac0306f601121d873a8d06d7a1eac19d3e58de78cde0aa8316db
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "S",
|
13 |
+
"1": "SB",
|
14 |
+
"2": "E"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"E": 2,
|
21 |
+
"S": 0,
|
22 |
+
"SB": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.32.1"
|
34 |
+
}
|
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:a3d40a3c7c7abb4add0e72ac786364f24ce47f7b34bcd1dbed694bccdf46a176
|
3 |
+
size 343271789
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84330c3b6e1bac0306f601121d873a8d06d7a1eac19d3e58de78cde0aa8316db
|
3 |
+
size 4027
|