Upload folder using huggingface_hub
Browse files- checkpoint-3590/config.json +128 -0
- checkpoint-3590/model.safetensors +3 -0
- checkpoint-3590/optimizer.pt +3 -0
- checkpoint-3590/preprocessor_config.json +36 -0
- checkpoint-3590/rng_state.pth +3 -0
- checkpoint-3590/scheduler.pt +3 -0
- checkpoint-3590/trainer_state.json +127 -0
- checkpoint-3590/training_args.bin +3 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-3590/config.json
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/military_aircraft_image_detection",
|
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": "A10",
|
13 |
+
"1": "A400M",
|
14 |
+
"2": "AG600",
|
15 |
+
"3": "AV8B",
|
16 |
+
"4": "B1",
|
17 |
+
"5": "B2",
|
18 |
+
"6": "B52",
|
19 |
+
"7": "Be200",
|
20 |
+
"8": "C130",
|
21 |
+
"9": "C17",
|
22 |
+
"10": "C2",
|
23 |
+
"11": "C5",
|
24 |
+
"12": "E2",
|
25 |
+
"13": "E7",
|
26 |
+
"14": "EF2000",
|
27 |
+
"15": "F117",
|
28 |
+
"16": "F14",
|
29 |
+
"17": "F15",
|
30 |
+
"18": "F16",
|
31 |
+
"19": "F18",
|
32 |
+
"20": "F22",
|
33 |
+
"21": "F35",
|
34 |
+
"22": "F4",
|
35 |
+
"23": "H6",
|
36 |
+
"24": "J10",
|
37 |
+
"25": "J20",
|
38 |
+
"26": "JAS39",
|
39 |
+
"27": "JF17",
|
40 |
+
"28": "KC135",
|
41 |
+
"29": "MQ9",
|
42 |
+
"30": "Mig31",
|
43 |
+
"31": "Mirage2000",
|
44 |
+
"32": "P3",
|
45 |
+
"33": "RQ4",
|
46 |
+
"34": "Rafale",
|
47 |
+
"35": "SR71",
|
48 |
+
"36": "Su24",
|
49 |
+
"37": "Su25",
|
50 |
+
"38": "Su34",
|
51 |
+
"39": "Su57",
|
52 |
+
"40": "Tornado",
|
53 |
+
"41": "Tu160",
|
54 |
+
"42": "Tu22M",
|
55 |
+
"43": "Tu95",
|
56 |
+
"44": "U2",
|
57 |
+
"45": "US2",
|
58 |
+
"46": "V22",
|
59 |
+
"47": "Vulcan",
|
60 |
+
"48": "XB70",
|
61 |
+
"49": "YF23"
|
62 |
+
},
|
63 |
+
"image_size": 224,
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"intermediate_size": 3072,
|
66 |
+
"label2id": {
|
67 |
+
"A10": 0,
|
68 |
+
"A400M": 1,
|
69 |
+
"AG600": 2,
|
70 |
+
"AV8B": 3,
|
71 |
+
"B1": 4,
|
72 |
+
"B2": 5,
|
73 |
+
"B52": 6,
|
74 |
+
"Be200": 7,
|
75 |
+
"C130": 8,
|
76 |
+
"C17": 9,
|
77 |
+
"C2": 10,
|
78 |
+
"C5": 11,
|
79 |
+
"E2": 12,
|
80 |
+
"E7": 13,
|
81 |
+
"EF2000": 14,
|
82 |
+
"F117": 15,
|
83 |
+
"F14": 16,
|
84 |
+
"F15": 17,
|
85 |
+
"F16": 18,
|
86 |
+
"F18": 19,
|
87 |
+
"F22": 20,
|
88 |
+
"F35": 21,
|
89 |
+
"F4": 22,
|
90 |
+
"H6": 23,
|
91 |
+
"J10": 24,
|
92 |
+
"J20": 25,
|
93 |
+
"JAS39": 26,
|
94 |
+
"JF17": 27,
|
95 |
+
"KC135": 28,
|
96 |
+
"MQ9": 29,
|
97 |
+
"Mig31": 30,
|
98 |
+
"Mirage2000": 31,
|
99 |
+
"P3": 32,
|
100 |
+
"RQ4": 33,
|
101 |
+
"Rafale": 34,
|
102 |
+
"SR71": 35,
|
103 |
+
"Su24": 36,
|
104 |
+
"Su25": 37,
|
105 |
+
"Su34": 38,
|
106 |
+
"Su57": 39,
|
107 |
+
"Tornado": 40,
|
108 |
+
"Tu160": 41,
|
109 |
+
"Tu22M": 42,
|
110 |
+
"Tu95": 43,
|
111 |
+
"U2": 44,
|
112 |
+
"US2": 45,
|
113 |
+
"V22": 46,
|
114 |
+
"Vulcan": 47,
|
115 |
+
"XB70": 48,
|
116 |
+
"YF23": 49
|
117 |
+
},
|
118 |
+
"layer_norm_eps": 1e-12,
|
119 |
+
"model_type": "vit",
|
120 |
+
"num_attention_heads": 12,
|
121 |
+
"num_channels": 3,
|
122 |
+
"num_hidden_layers": 12,
|
123 |
+
"patch_size": 16,
|
124 |
+
"problem_type": "single_label_classification",
|
125 |
+
"qkv_bias": true,
|
126 |
+
"torch_dtype": "float32",
|
127 |
+
"transformers_version": "4.41.2"
|
128 |
+
}
|
checkpoint-3590/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b2d6ff2fb6d145b5543cfe082d725b89ce8e5003e7ebca5ab4a47ef317abde4
|
3 |
+
size 343371632
|
checkpoint-3590/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:136cef3793d7104f42f0db3437d04f62ff41a41ad5e5f65be6bcae9a3304bfc9
|
3 |
+
size 686863749
|
checkpoint-3590/preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
checkpoint-3590/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3980798b1fe8689803a3c9d33f329064eec3ce82334a28cfc9de042c4e5c2864
|
3 |
+
size 14575
|
checkpoint-3590/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fd39f35f2424984c20a9c73fb8e6eb909fa743bf2e250ce9d972fefd045c7d7
|
3 |
+
size 627
|
checkpoint-3590/trainer_state.json
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 3.1942806243896484,
|
3 |
+
"best_model_checkpoint": "military_aircraft_image_detection/checkpoint-3590",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3590,
|
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.6963788300835655,
|
13 |
+
"grad_norm": 1.4897781610488892,
|
14 |
+
"learning_rate": 4.3644067796610167e-07,
|
15 |
+
"loss": 3.2193,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.44336601307189544,
|
21 |
+
"eval_loss": 3.2561681270599365,
|
22 |
+
"eval_runtime": 458.6133,
|
23 |
+
"eval_samples_per_second": 66.723,
|
24 |
+
"eval_steps_per_second": 2.087,
|
25 |
+
"step": 718
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 1.392757660167131,
|
29 |
+
"grad_norm": 1.6979775428771973,
|
30 |
+
"learning_rate": 3.65819209039548e-07,
|
31 |
+
"loss": 3.1867,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.4526143790849673,
|
37 |
+
"eval_loss": 3.228966474533081,
|
38 |
+
"eval_runtime": 466.3713,
|
39 |
+
"eval_samples_per_second": 65.613,
|
40 |
+
"eval_steps_per_second": 2.052,
|
41 |
+
"step": 1436
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 2.0891364902506964,
|
45 |
+
"grad_norm": 1.4007295370101929,
|
46 |
+
"learning_rate": 2.9519774011299436e-07,
|
47 |
+
"loss": 3.1713,
|
48 |
+
"step": 1500
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 2.785515320334262,
|
52 |
+
"grad_norm": 1.5756776332855225,
|
53 |
+
"learning_rate": 2.2457627118644068e-07,
|
54 |
+
"loss": 3.1532,
|
55 |
+
"step": 2000
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 3.0,
|
59 |
+
"eval_accuracy": 0.4599019607843137,
|
60 |
+
"eval_loss": 3.2091140747070312,
|
61 |
+
"eval_runtime": 460.9622,
|
62 |
+
"eval_samples_per_second": 66.383,
|
63 |
+
"eval_steps_per_second": 2.076,
|
64 |
+
"step": 2154
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 3.481894150417827,
|
68 |
+
"grad_norm": 2.0650792121887207,
|
69 |
+
"learning_rate": 1.53954802259887e-07,
|
70 |
+
"loss": 3.1422,
|
71 |
+
"step": 2500
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 4.0,
|
75 |
+
"eval_accuracy": 0.46290849673202616,
|
76 |
+
"eval_loss": 3.1979615688323975,
|
77 |
+
"eval_runtime": 459.6104,
|
78 |
+
"eval_samples_per_second": 66.578,
|
79 |
+
"eval_steps_per_second": 2.082,
|
80 |
+
"step": 2872
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 4.178272980501393,
|
84 |
+
"grad_norm": 1.5336718559265137,
|
85 |
+
"learning_rate": 8.333333333333333e-08,
|
86 |
+
"loss": 3.1327,
|
87 |
+
"step": 3000
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 4.874651810584958,
|
91 |
+
"grad_norm": 1.541466474533081,
|
92 |
+
"learning_rate": 1.2711864406779661e-08,
|
93 |
+
"loss": 3.1294,
|
94 |
+
"step": 3500
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 5.0,
|
98 |
+
"eval_accuracy": 0.4635947712418301,
|
99 |
+
"eval_loss": 3.1942806243896484,
|
100 |
+
"eval_runtime": 455.0739,
|
101 |
+
"eval_samples_per_second": 67.242,
|
102 |
+
"eval_steps_per_second": 2.103,
|
103 |
+
"step": 3590
|
104 |
+
}
|
105 |
+
],
|
106 |
+
"logging_steps": 500,
|
107 |
+
"max_steps": 3590,
|
108 |
+
"num_input_tokens_seen": 0,
|
109 |
+
"num_train_epochs": 5,
|
110 |
+
"save_steps": 500,
|
111 |
+
"stateful_callbacks": {
|
112 |
+
"TrainerControl": {
|
113 |
+
"args": {
|
114 |
+
"should_epoch_stop": false,
|
115 |
+
"should_evaluate": false,
|
116 |
+
"should_log": false,
|
117 |
+
"should_save": true,
|
118 |
+
"should_training_stop": true
|
119 |
+
},
|
120 |
+
"attributes": {}
|
121 |
+
}
|
122 |
+
},
|
123 |
+
"total_flos": 1.7792062627239936e+19,
|
124 |
+
"train_batch_size": 64,
|
125 |
+
"trial_name": null,
|
126 |
+
"trial_params": null
|
127 |
+
}
|
checkpoint-3590/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab48627bd39ca06ba94d0883fd45d01200c857ed4db9e3fa506497cfbc99faad
|
3 |
+
size 4603
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343371632
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b2d6ff2fb6d145b5543cfe082d725b89ce8e5003e7ebca5ab4a47ef317abde4
|
3 |
size 343371632
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4603
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab48627bd39ca06ba94d0883fd45d01200c857ed4db9e3fa506497cfbc99faad
|
3 |
size 4603
|