dima806 commited on
Commit
bc10fce
1 Parent(s): d6b4380

Upload folder using huggingface_hub

Browse files
checkpoint-2154/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.1"
128
+ }
checkpoint-2154/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1bfc160451062a1324c0bc2e5e718806c3badec308d5ff88422dda3ed611d4b
3
+ size 343371632
checkpoint-2154/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef79ad2aa2f11b30ecc9db4cf6c67d7b766bda554538f0291437541da7156763
3
+ size 686863749
checkpoint-2154/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-2154/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04946656b1f79d33b10b4c78d5133d929d302c1dcb26bbeae6facb9cbac53466
3
+ size 14575
checkpoint-2154/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a35089fc52e376695cdc1d6a0e5e1ba87f5e424194beeaa5fadafb0a4f3c0d2
3
+ size 627
checkpoint-2154/trainer_state.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.487314224243164,
3
+ "best_model_checkpoint": "military_aircraft_image_detection/checkpoint-2154",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2154,
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.345649242401123,
14
+ "learning_rate": 7.861216730038023e-07,
15
+ "loss": 3.5405,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.33558823529411763,
21
+ "eval_loss": 3.544484853744507,
22
+ "eval_runtime": 459.5288,
23
+ "eval_samples_per_second": 66.59,
24
+ "eval_steps_per_second": 2.083,
25
+ "step": 718
26
+ },
27
+ {
28
+ "epoch": 1.392757660167131,
29
+ "grad_norm": 1.4438351392745972,
30
+ "learning_rate": 5.484790874524715e-07,
31
+ "loss": 3.4891,
32
+ "step": 1000
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.3550326797385621,
37
+ "eval_loss": 3.5017125606536865,
38
+ "eval_runtime": 452.7613,
39
+ "eval_samples_per_second": 67.585,
40
+ "eval_steps_per_second": 2.114,
41
+ "step": 1436
42
+ },
43
+ {
44
+ "epoch": 2.0891364902506964,
45
+ "grad_norm": 1.3323419094085693,
46
+ "learning_rate": 3.108365019011407e-07,
47
+ "loss": 3.4594,
48
+ "step": 1500
49
+ },
50
+ {
51
+ "epoch": 2.785515320334262,
52
+ "grad_norm": 1.652476191520691,
53
+ "learning_rate": 7.319391634980989e-08,
54
+ "loss": 3.4382,
55
+ "step": 2000
56
+ },
57
+ {
58
+ "epoch": 3.0,
59
+ "eval_accuracy": 0.3614705882352941,
60
+ "eval_loss": 3.487314224243164,
61
+ "eval_runtime": 450.0547,
62
+ "eval_samples_per_second": 67.992,
63
+ "eval_steps_per_second": 2.126,
64
+ "step": 2154
65
+ }
66
+ ],
67
+ "logging_steps": 500,
68
+ "max_steps": 2154,
69
+ "num_input_tokens_seen": 0,
70
+ "num_train_epochs": 3,
71
+ "save_steps": 500,
72
+ "stateful_callbacks": {
73
+ "TrainerControl": {
74
+ "args": {
75
+ "should_epoch_stop": false,
76
+ "should_evaluate": false,
77
+ "should_log": false,
78
+ "should_save": true,
79
+ "should_training_stop": true
80
+ },
81
+ "attributes": {}
82
+ }
83
+ },
84
+ "total_flos": 1.0675237576343962e+19,
85
+ "train_batch_size": 64,
86
+ "trial_name": null,
87
+ "trial_params": null
88
+ }
checkpoint-2154/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95e4931d2d96f4471c2a54b9ca6e435bd4167fec1df23d03b98ff4a1060127e0
3
+ size 4603
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b54276558ae6957505749418156887b0100d8e700cb2100d71b75be02c69f484
3
  size 343371632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1bfc160451062a1324c0bc2e5e718806c3badec308d5ff88422dda3ed611d4b
3
  size 343371632
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:677fb377850527ee2457c1d4ca0a02a35dc245206e01c146226cdedfdcfd6799
3
  size 4603
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95e4931d2d96f4471c2a54b9ca6e435bd4167fec1df23d03b98ff4a1060127e0
3
  size 4603