Spaces:
Runtime error
Runtime error
Upload 7 files
Browse files
checkpoint-21000/config.json
ADDED
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"architectures": [
|
4 |
+
"VisionEncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "gpt2",
|
8 |
+
"activation_function": "gelu_new",
|
9 |
+
"add_cross_attention": true,
|
10 |
+
"architectures": [
|
11 |
+
"GPT2LMHeadModel"
|
12 |
+
],
|
13 |
+
"attn_pdrop": 0.1,
|
14 |
+
"bad_words_ids": null,
|
15 |
+
"begin_suppress_tokens": null,
|
16 |
+
"bos_token_id": 50256,
|
17 |
+
"chunk_size_feed_forward": 0,
|
18 |
+
"cross_attention_hidden_size": null,
|
19 |
+
"decoder_start_token_id": null,
|
20 |
+
"diversity_penalty": 0.0,
|
21 |
+
"do_sample": false,
|
22 |
+
"early_stopping": false,
|
23 |
+
"embd_pdrop": 0.1,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": 50256,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
+
"finetuning_task": null,
|
28 |
+
"forced_bos_token_id": null,
|
29 |
+
"forced_eos_token_id": null,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"is_decoder": true,
|
36 |
+
"is_encoder_decoder": false,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1
|
40 |
+
},
|
41 |
+
"layer_norm_epsilon": 1e-05,
|
42 |
+
"length_penalty": 1.0,
|
43 |
+
"max_length": 20,
|
44 |
+
"min_length": 0,
|
45 |
+
"model_type": "gpt2",
|
46 |
+
"n_ctx": 1024,
|
47 |
+
"n_embd": 768,
|
48 |
+
"n_head": 12,
|
49 |
+
"n_inner": null,
|
50 |
+
"n_layer": 12,
|
51 |
+
"n_positions": 1024,
|
52 |
+
"no_repeat_ngram_size": 0,
|
53 |
+
"num_beam_groups": 1,
|
54 |
+
"num_beams": 1,
|
55 |
+
"num_return_sequences": 1,
|
56 |
+
"output_attentions": false,
|
57 |
+
"output_hidden_states": false,
|
58 |
+
"output_scores": false,
|
59 |
+
"pad_token_id": null,
|
60 |
+
"prefix": null,
|
61 |
+
"problem_type": null,
|
62 |
+
"pruned_heads": {},
|
63 |
+
"remove_invalid_values": false,
|
64 |
+
"reorder_and_upcast_attn": false,
|
65 |
+
"repetition_penalty": 1.0,
|
66 |
+
"resid_pdrop": 0.1,
|
67 |
+
"return_dict": true,
|
68 |
+
"return_dict_in_generate": false,
|
69 |
+
"scale_attn_by_inverse_layer_idx": false,
|
70 |
+
"scale_attn_weights": true,
|
71 |
+
"sep_token_id": null,
|
72 |
+
"summary_activation": null,
|
73 |
+
"summary_first_dropout": 0.1,
|
74 |
+
"summary_proj_to_labels": true,
|
75 |
+
"summary_type": "cls_index",
|
76 |
+
"summary_use_proj": true,
|
77 |
+
"suppress_tokens": null,
|
78 |
+
"task_specific_params": {
|
79 |
+
"text-generation": {
|
80 |
+
"do_sample": true,
|
81 |
+
"max_length": 50
|
82 |
+
}
|
83 |
+
},
|
84 |
+
"temperature": 1.0,
|
85 |
+
"tf_legacy_loss": false,
|
86 |
+
"tie_encoder_decoder": false,
|
87 |
+
"tie_word_embeddings": true,
|
88 |
+
"tokenizer_class": null,
|
89 |
+
"top_k": 50,
|
90 |
+
"top_p": 1.0,
|
91 |
+
"torch_dtype": null,
|
92 |
+
"torchscript": false,
|
93 |
+
"transformers_version": "4.24.0",
|
94 |
+
"typical_p": 1.0,
|
95 |
+
"use_bfloat16": false,
|
96 |
+
"use_cache": true,
|
97 |
+
"vocab_size": 50257
|
98 |
+
},
|
99 |
+
"decoder_start_token_id": 50256,
|
100 |
+
"encoder": {
|
101 |
+
"_name_or_path": "microsoft/swin-large-patch4-window7-224",
|
102 |
+
"add_cross_attention": false,
|
103 |
+
"architectures": [
|
104 |
+
"SwinForImageClassification"
|
105 |
+
],
|
106 |
+
"attention_probs_dropout_prob": 0.0,
|
107 |
+
"bad_words_ids": null,
|
108 |
+
"begin_suppress_tokens": null,
|
109 |
+
"bos_token_id": null,
|
110 |
+
"chunk_size_feed_forward": 0,
|
111 |
+
"cross_attention_hidden_size": null,
|
112 |
+
"decoder_start_token_id": null,
|
113 |
+
"depths": [
|
114 |
+
2,
|
115 |
+
2,
|
116 |
+
18,
|
117 |
+
2
|
118 |
+
],
|
119 |
+
"diversity_penalty": 0.0,
|
120 |
+
"do_sample": false,
|
121 |
+
"drop_path_rate": 0.1,
|
122 |
+
"early_stopping": false,
|
123 |
+
"embed_dim": 192,
|
124 |
+
"encoder_no_repeat_ngram_size": 0,
|
125 |
+
"encoder_stride": 32,
|
126 |
+
"eos_token_id": null,
|
127 |
+
"exponential_decay_length_penalty": null,
|
128 |
+
"finetuning_task": null,
|
129 |
+
"forced_bos_token_id": null,
|
130 |
+
"forced_eos_token_id": null,
|
131 |
+
"hidden_act": "gelu",
|
132 |
+
"hidden_dropout_prob": 0.0,
|
133 |
+
"hidden_size": 1536,
|
134 |
+
"id2label": {
|
135 |
+
"0": "LABEL_0",
|
136 |
+
"1": "LABEL_1"
|
137 |
+
},
|
138 |
+
"image_size": 224,
|
139 |
+
"initializer_range": 0.02,
|
140 |
+
"is_decoder": false,
|
141 |
+
"is_encoder_decoder": false,
|
142 |
+
"label2id": {
|
143 |
+
"LABEL_0": 0,
|
144 |
+
"LABEL_1": 1
|
145 |
+
},
|
146 |
+
"layer_norm_eps": 1e-05,
|
147 |
+
"length_penalty": 1.0,
|
148 |
+
"max_length": 20,
|
149 |
+
"min_length": 0,
|
150 |
+
"mlp_ratio": 4.0,
|
151 |
+
"model_type": "swin",
|
152 |
+
"no_repeat_ngram_size": 0,
|
153 |
+
"num_beam_groups": 1,
|
154 |
+
"num_beams": 1,
|
155 |
+
"num_channels": 3,
|
156 |
+
"num_heads": [
|
157 |
+
6,
|
158 |
+
12,
|
159 |
+
24,
|
160 |
+
48
|
161 |
+
],
|
162 |
+
"num_layers": 4,
|
163 |
+
"num_return_sequences": 1,
|
164 |
+
"output_attentions": false,
|
165 |
+
"output_hidden_states": false,
|
166 |
+
"output_scores": false,
|
167 |
+
"pad_token_id": null,
|
168 |
+
"patch_size": 4,
|
169 |
+
"path_norm": true,
|
170 |
+
"prefix": null,
|
171 |
+
"problem_type": null,
|
172 |
+
"pruned_heads": {},
|
173 |
+
"qkv_bias": true,
|
174 |
+
"remove_invalid_values": false,
|
175 |
+
"repetition_penalty": 1.0,
|
176 |
+
"return_dict": true,
|
177 |
+
"return_dict_in_generate": false,
|
178 |
+
"sep_token_id": null,
|
179 |
+
"suppress_tokens": null,
|
180 |
+
"task_specific_params": null,
|
181 |
+
"temperature": 1.0,
|
182 |
+
"tf_legacy_loss": false,
|
183 |
+
"tie_encoder_decoder": false,
|
184 |
+
"tie_word_embeddings": true,
|
185 |
+
"tokenizer_class": null,
|
186 |
+
"top_k": 50,
|
187 |
+
"top_p": 1.0,
|
188 |
+
"torch_dtype": "float32",
|
189 |
+
"torchscript": false,
|
190 |
+
"transformers_version": "4.24.0",
|
191 |
+
"typical_p": 1.0,
|
192 |
+
"use_absolute_embeddings": false,
|
193 |
+
"use_bfloat16": false,
|
194 |
+
"window_size": 7
|
195 |
+
},
|
196 |
+
"eos_token_id": 50256,
|
197 |
+
"id2label": {
|
198 |
+
"0": "LABEL_0",
|
199 |
+
"1": "LABEL_1"
|
200 |
+
},
|
201 |
+
"is_encoder_decoder": true,
|
202 |
+
"model_type": "vision-encoder-decoder",
|
203 |
+
"pad_token_id": 50256,
|
204 |
+
"tie_word_embeddings": false,
|
205 |
+
"torch_dtype": "float32",
|
206 |
+
"transformers_version": null
|
207 |
+
}
|
checkpoint-21000/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b3e10d000f20a9a0c40cc0760a3232d22bbb10bf9de55199359e72ac9e05554
|
3 |
+
size 1421809655
|
checkpoint-21000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:511685412bc1112cfbfc048209401c538552e3a3d43331c5e056951d4b4b684f
|
3 |
+
size 14503
|
checkpoint-21000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c25d2250ccfcbfeb9ce1554127f5362a2dd904ef51e0b94eefe137957129a79
|
3 |
+
size 559
|
checkpoint-21000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ad98a991bac38e8a07b98a0da1f66f38cebadfb748b1c8ab9817f9872ffcca1
|
3 |
+
size 623
|
checkpoint-21000/trainer_state.json
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.03351227194070816,
|
3 |
+
"best_model_checkpoint": "/content/drive/MyDrive/Doutorado/Experimentos/colabs/trainer/checkpoint-21000",
|
4 |
+
"epoch": 7.18439958946288,
|
5 |
+
"global_step": 21000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.03,
|
12 |
+
"learning_rate": 1.91811152925077e-05,
|
13 |
+
"loss": 0.1619,
|
14 |
+
"step": 3000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.03,
|
18 |
+
"eval_loss": 0.05028245225548744,
|
19 |
+
"eval_runtime": 27.6275,
|
20 |
+
"eval_samples_per_second": 33.445,
|
21 |
+
"eval_steps_per_second": 4.199,
|
22 |
+
"step": 3000
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 2.05,
|
26 |
+
"learning_rate": 1.836004105371194e-05,
|
27 |
+
"loss": 0.0548,
|
28 |
+
"step": 6000
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 2.05,
|
32 |
+
"eval_loss": 0.04163406416773796,
|
33 |
+
"eval_runtime": 27.2823,
|
34 |
+
"eval_samples_per_second": 33.868,
|
35 |
+
"eval_steps_per_second": 4.252,
|
36 |
+
"step": 6000
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 3.08,
|
40 |
+
"learning_rate": 1.753896681491618e-05,
|
41 |
+
"loss": 0.0441,
|
42 |
+
"step": 9000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 3.08,
|
46 |
+
"eval_loss": 0.037465475499629974,
|
47 |
+
"eval_runtime": 26.8832,
|
48 |
+
"eval_samples_per_second": 34.371,
|
49 |
+
"eval_steps_per_second": 4.315,
|
50 |
+
"step": 9000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 4.11,
|
54 |
+
"learning_rate": 1.6717892576120426e-05,
|
55 |
+
"loss": 0.0391,
|
56 |
+
"step": 12000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 4.11,
|
60 |
+
"eval_loss": 0.03538713976740837,
|
61 |
+
"eval_runtime": 28.4361,
|
62 |
+
"eval_samples_per_second": 32.494,
|
63 |
+
"eval_steps_per_second": 4.079,
|
64 |
+
"step": 12000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 5.13,
|
68 |
+
"learning_rate": 1.589681833732467e-05,
|
69 |
+
"loss": 0.0335,
|
70 |
+
"step": 15000
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 5.13,
|
74 |
+
"eval_loss": 0.03461988642811775,
|
75 |
+
"eval_runtime": 28.0681,
|
76 |
+
"eval_samples_per_second": 32.92,
|
77 |
+
"eval_steps_per_second": 4.133,
|
78 |
+
"step": 15000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 6.16,
|
82 |
+
"learning_rate": 1.5075744098528911e-05,
|
83 |
+
"loss": 0.0304,
|
84 |
+
"step": 18000
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 6.16,
|
88 |
+
"eval_loss": 0.033533450216054916,
|
89 |
+
"eval_runtime": 27.7618,
|
90 |
+
"eval_samples_per_second": 33.283,
|
91 |
+
"eval_steps_per_second": 4.178,
|
92 |
+
"step": 18000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 7.18,
|
96 |
+
"learning_rate": 1.4254943551146082e-05,
|
97 |
+
"loss": 0.0273,
|
98 |
+
"step": 21000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 7.18,
|
102 |
+
"eval_loss": 0.03351227194070816,
|
103 |
+
"eval_runtime": 27.8867,
|
104 |
+
"eval_samples_per_second": 33.134,
|
105 |
+
"eval_steps_per_second": 4.16,
|
106 |
+
"step": 21000
|
107 |
+
}
|
108 |
+
],
|
109 |
+
"max_steps": 73075,
|
110 |
+
"num_train_epochs": 25,
|
111 |
+
"total_flos": 3.523012168812466e+19,
|
112 |
+
"trial_name": null,
|
113 |
+
"trial_params": null
|
114 |
+
}
|
checkpoint-21000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4573672c7313f2dc99708ae0234ccaea4f5d5d1bcbd2de34545b740c8496b9e7
|
3 |
+
size 3439
|