Commit
•
d404255
1
Parent(s):
dc19a5f
Training in progress, step 1500
Browse files- .gitattributes +1 -0
- .gitignore +1 -0
- config.json +252 -0
- create_model.py +57 -0
- decoder/config.json +26 -0
- decoder/pytorch_model.bin +3 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- run_librispeech.sh +36 -0
- run_speech_recognition_seq2seq.py +539 -0
- runs/Mar08_10-20-58_sanchit--v100/1646734887.1129148/events.out.tfevents.1646734887.sanchit--v100.1584958.1 +3 -0
- runs/Mar08_10-20-58_sanchit--v100/events.out.tfevents.1646734887.sanchit--v100.1584958.0 +3 -0
- runs/Mar08_10-22-25_sanchit--v100/1646734967.8329628/events.out.tfevents.1646734967.sanchit--v100.1586051.1 +3 -0
- runs/Mar08_10-22-25_sanchit--v100/events.out.tfevents.1646734967.sanchit--v100.1586051.0 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
- wandb/debug-internal.log +1 -0
- wandb/debug.log +1 -0
- wandb/latest-run +1 -0
- wandb/run-20220308_102127-2todcy4h/files/config.yaml +708 -0
- wandb/run-20220308_102127-2todcy4h/files/output.log +30 -0
- wandb/run-20220308_102127-2todcy4h/files/requirements.txt +184 -0
- wandb/run-20220308_102127-2todcy4h/files/wandb-metadata.json +59 -0
- wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json +1 -0
- wandb/run-20220308_102127-2todcy4h/logs/debug-internal.log +92 -0
- wandb/run-20220308_102127-2todcy4h/logs/debug.log +29 -0
- wandb/run-20220308_102127-2todcy4h/run-2todcy4h.wandb +0 -0
- wandb/run-20220308_102248-3h7e1p8o/files/config.yaml +0 -0
- wandb/run-20220308_102248-3h7e1p8o/files/output.log +0 -0
- wandb/run-20220308_102248-3h7e1p8o/files/requirements.txt +184 -0
- wandb/run-20220308_102248-3h7e1p8o/files/wandb-metadata.json +59 -0
- wandb/run-20220308_102248-3h7e1p8o/files/wandb-summary.json +0 -0
- wandb/run-20220308_102248-3h7e1p8o/logs/debug-internal.log +0 -0
- wandb/run-20220308_102248-3h7e1p8o/logs/debug.log +27 -0
- wandb/run-20220308_102248-3h7e1p8o/run-3h7e1p8o.wandb +3 -0
.gitattributes
CHANGED
@@ -25,3 +25,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
wandb/run-20220308_102248-3h7e1p8o/run-3h7e1p8o.wandb filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./",
|
3 |
+
"architectures": [
|
4 |
+
"SpeechEncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "decoder",
|
8 |
+
"add_cross_attention": true,
|
9 |
+
"architectures": [
|
10 |
+
"BertLMHeadModel"
|
11 |
+
],
|
12 |
+
"attention_probs_dropout_prob": 0.0,
|
13 |
+
"bad_words_ids": null,
|
14 |
+
"bos_token_id": null,
|
15 |
+
"chunk_size_feed_forward": 0,
|
16 |
+
"classifier_dropout": null,
|
17 |
+
"cross_attention_hidden_size": null,
|
18 |
+
"decoder_start_token_id": null,
|
19 |
+
"diversity_penalty": 0.0,
|
20 |
+
"do_sample": false,
|
21 |
+
"early_stopping": false,
|
22 |
+
"encoder_no_repeat_ngram_size": 0,
|
23 |
+
"eos_token_id": null,
|
24 |
+
"finetuning_task": null,
|
25 |
+
"forced_bos_token_id": null,
|
26 |
+
"forced_eos_token_id": null,
|
27 |
+
"gradient_checkpointing": false,
|
28 |
+
"hidden_act": "gelu",
|
29 |
+
"hidden_dropout_prob": 0.1,
|
30 |
+
"hidden_size": 1024,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1"
|
34 |
+
},
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 4096,
|
37 |
+
"is_decoder": true,
|
38 |
+
"is_encoder_decoder": false,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"length_penalty": 1.0,
|
45 |
+
"max_length": 20,
|
46 |
+
"max_position_embeddings": 512,
|
47 |
+
"min_length": 0,
|
48 |
+
"model_type": "bert",
|
49 |
+
"no_repeat_ngram_size": 0,
|
50 |
+
"num_attention_heads": 16,
|
51 |
+
"num_beam_groups": 1,
|
52 |
+
"num_beams": 1,
|
53 |
+
"num_hidden_layers": 2,
|
54 |
+
"num_return_sequences": 1,
|
55 |
+
"output_attentions": false,
|
56 |
+
"output_hidden_states": false,
|
57 |
+
"output_scores": false,
|
58 |
+
"pad_token_id": 0,
|
59 |
+
"position_embedding_type": "absolute",
|
60 |
+
"prefix": null,
|
61 |
+
"problem_type": null,
|
62 |
+
"pruned_heads": {},
|
63 |
+
"remove_invalid_values": false,
|
64 |
+
"repetition_penalty": 1.0,
|
65 |
+
"return_dict": true,
|
66 |
+
"return_dict_in_generate": false,
|
67 |
+
"sep_token_id": null,
|
68 |
+
"task_specific_params": null,
|
69 |
+
"temperature": 1.0,
|
70 |
+
"tie_encoder_decoder": false,
|
71 |
+
"tie_word_embeddings": true,
|
72 |
+
"tokenizer_class": null,
|
73 |
+
"top_k": 50,
|
74 |
+
"top_p": 1.0,
|
75 |
+
"torch_dtype": "float32",
|
76 |
+
"torchscript": false,
|
77 |
+
"transformers_version": "4.17.0.dev0",
|
78 |
+
"type_vocab_size": 2,
|
79 |
+
"use_bfloat16": false,
|
80 |
+
"use_cache": false,
|
81 |
+
"vocab_size": 30522
|
82 |
+
},
|
83 |
+
"decoder_start_token_id": 101,
|
84 |
+
"encoder": {
|
85 |
+
"_name_or_path": "facebook/wav2vec2-large-lv60",
|
86 |
+
"activation_dropout": 0.0,
|
87 |
+
"adapter_kernel_size": 3,
|
88 |
+
"adapter_stride": 2,
|
89 |
+
"add_adapter": true,
|
90 |
+
"add_cross_attention": false,
|
91 |
+
"apply_spec_augment": false,
|
92 |
+
"architectures": [
|
93 |
+
"Wav2Vec2ForPreTraining"
|
94 |
+
],
|
95 |
+
"attention_dropout": 0.0,
|
96 |
+
"bad_words_ids": null,
|
97 |
+
"bos_token_id": 1,
|
98 |
+
"chunk_size_feed_forward": 0,
|
99 |
+
"classifier_proj_size": 256,
|
100 |
+
"codevector_dim": 768,
|
101 |
+
"contrastive_logits_temperature": 0.1,
|
102 |
+
"conv_bias": true,
|
103 |
+
"conv_dim": [
|
104 |
+
512,
|
105 |
+
512,
|
106 |
+
512,
|
107 |
+
512,
|
108 |
+
512,
|
109 |
+
512,
|
110 |
+
512
|
111 |
+
],
|
112 |
+
"conv_kernel": [
|
113 |
+
10,
|
114 |
+
3,
|
115 |
+
3,
|
116 |
+
3,
|
117 |
+
3,
|
118 |
+
2,
|
119 |
+
2
|
120 |
+
],
|
121 |
+
"conv_stride": [
|
122 |
+
5,
|
123 |
+
2,
|
124 |
+
2,
|
125 |
+
2,
|
126 |
+
2,
|
127 |
+
2,
|
128 |
+
2
|
129 |
+
],
|
130 |
+
"cross_attention_hidden_size": null,
|
131 |
+
"ctc_loss_reduction": "sum",
|
132 |
+
"ctc_zero_infinity": false,
|
133 |
+
"decoder_start_token_id": null,
|
134 |
+
"diversity_loss_weight": 0.1,
|
135 |
+
"diversity_penalty": 0.0,
|
136 |
+
"do_sample": false,
|
137 |
+
"do_stable_layer_norm": true,
|
138 |
+
"early_stopping": false,
|
139 |
+
"encoder_no_repeat_ngram_size": 0,
|
140 |
+
"eos_token_id": 2,
|
141 |
+
"feat_extract_activation": "gelu",
|
142 |
+
"feat_extract_dropout": 0.0,
|
143 |
+
"feat_extract_norm": "layer",
|
144 |
+
"feat_proj_dropout": 0.0,
|
145 |
+
"feat_quantizer_dropout": 0.0,
|
146 |
+
"final_dropout": 0.0,
|
147 |
+
"finetuning_task": null,
|
148 |
+
"forced_bos_token_id": null,
|
149 |
+
"forced_eos_token_id": null,
|
150 |
+
"gradient_checkpointing": false,
|
151 |
+
"hidden_act": "gelu",
|
152 |
+
"hidden_dropout": 0.0,
|
153 |
+
"hidden_dropout_prob": 0.0,
|
154 |
+
"hidden_size": 1024,
|
155 |
+
"id2label": {
|
156 |
+
"0": "LABEL_0",
|
157 |
+
"1": "LABEL_1"
|
158 |
+
},
|
159 |
+
"initializer_range": 0.02,
|
160 |
+
"intermediate_size": 4096,
|
161 |
+
"is_decoder": false,
|
162 |
+
"is_encoder_decoder": false,
|
163 |
+
"label2id": {
|
164 |
+
"LABEL_0": 0,
|
165 |
+
"LABEL_1": 1
|
166 |
+
},
|
167 |
+
"layer_norm_eps": 1e-05,
|
168 |
+
"layerdrop": 0.0,
|
169 |
+
"length_penalty": 1.0,
|
170 |
+
"mask_feature_length": 10,
|
171 |
+
"mask_feature_min_masks": 0,
|
172 |
+
"mask_feature_prob": 0.0,
|
173 |
+
"mask_time_length": 10,
|
174 |
+
"mask_time_min_masks": 2,
|
175 |
+
"mask_time_prob": 0.0,
|
176 |
+
"max_length": 20,
|
177 |
+
"min_length": 0,
|
178 |
+
"model_type": "wav2vec2",
|
179 |
+
"no_repeat_ngram_size": 0,
|
180 |
+
"num_adapter_layers": 3,
|
181 |
+
"num_attention_heads": 16,
|
182 |
+
"num_beam_groups": 1,
|
183 |
+
"num_beams": 1,
|
184 |
+
"num_codevector_groups": 2,
|
185 |
+
"num_codevectors_per_group": 320,
|
186 |
+
"num_conv_pos_embedding_groups": 16,
|
187 |
+
"num_conv_pos_embeddings": 128,
|
188 |
+
"num_feat_extract_layers": 7,
|
189 |
+
"num_hidden_layers": 24,
|
190 |
+
"num_negatives": 100,
|
191 |
+
"num_return_sequences": 1,
|
192 |
+
"output_attentions": false,
|
193 |
+
"output_hidden_size": 1024,
|
194 |
+
"output_hidden_states": false,
|
195 |
+
"output_scores": false,
|
196 |
+
"pad_token_id": 0,
|
197 |
+
"prefix": null,
|
198 |
+
"problem_type": null,
|
199 |
+
"proj_codevector_dim": 768,
|
200 |
+
"pruned_heads": {},
|
201 |
+
"remove_invalid_values": false,
|
202 |
+
"repetition_penalty": 1.0,
|
203 |
+
"return_dict": true,
|
204 |
+
"return_dict_in_generate": false,
|
205 |
+
"sep_token_id": null,
|
206 |
+
"task_specific_params": null,
|
207 |
+
"tdnn_dilation": [
|
208 |
+
1,
|
209 |
+
2,
|
210 |
+
3,
|
211 |
+
1,
|
212 |
+
1
|
213 |
+
],
|
214 |
+
"tdnn_dim": [
|
215 |
+
512,
|
216 |
+
512,
|
217 |
+
512,
|
218 |
+
512,
|
219 |
+
1500
|
220 |
+
],
|
221 |
+
"tdnn_kernel": [
|
222 |
+
5,
|
223 |
+
3,
|
224 |
+
3,
|
225 |
+
1,
|
226 |
+
1
|
227 |
+
],
|
228 |
+
"temperature": 1.0,
|
229 |
+
"tie_encoder_decoder": false,
|
230 |
+
"tie_word_embeddings": true,
|
231 |
+
"tokenizer_class": null,
|
232 |
+
"top_k": 50,
|
233 |
+
"top_p": 1.0,
|
234 |
+
"torch_dtype": null,
|
235 |
+
"torchscript": false,
|
236 |
+
"transformers_version": "4.17.0.dev0",
|
237 |
+
"use_bfloat16": false,
|
238 |
+
"use_weighted_layer_sum": false,
|
239 |
+
"vocab_size": 32,
|
240 |
+
"xvector_output_dim": 512
|
241 |
+
},
|
242 |
+
"eos_token_id": 102,
|
243 |
+
"is_encoder_decoder": true,
|
244 |
+
"max_length": 50,
|
245 |
+
"model_type": "speech-encoder-decoder",
|
246 |
+
"pad_token_id": 0,
|
247 |
+
"processor_class": "Wav2Vec2Processor",
|
248 |
+
"tie_word_embeddings": false,
|
249 |
+
"torch_dtype": "float32",
|
250 |
+
"transformers_version": null,
|
251 |
+
"use_cache": false
|
252 |
+
}
|
create_model.py
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import SpeechEncoderDecoderModel, AutoFeatureExtractor, AutoTokenizer, Wav2Vec2Processor, BertConfig, BertLMHeadModel
|
2 |
+
import torch
|
3 |
+
|
4 |
+
# checkpoints to leverage
|
5 |
+
encoder_id = "facebook/wav2vec2-large-lv60"
|
6 |
+
decoder_id = "bert-large-uncased"
|
7 |
+
|
8 |
+
feature_extractor = AutoFeatureExtractor.from_pretrained(encoder_id)
|
9 |
+
feature_extractor.save_pretrained("./")
|
10 |
+
tokenizer = AutoTokenizer.from_pretrained(decoder_id)
|
11 |
+
tokenizer.save_pretrained("./")
|
12 |
+
|
13 |
+
decoder_config = BertConfig.from_pretrained(decoder_id, is_decoder=True)
|
14 |
+
decoder_config.num_hidden_layers = 2
|
15 |
+
decoder = BertLMHeadModel(decoder_config)
|
16 |
+
decoder.save_pretrained("decoder") # save the decoder
|
17 |
+
|
18 |
+
model = SpeechEncoderDecoderModel.from_encoder_decoder_pretrained(encoder_id, "decoder", encoder_add_adapter=True)
|
19 |
+
|
20 |
+
# verify the decoder
|
21 |
+
model.decoder.config.is_decoder
|
22 |
+
model.decoder.config.add_cross_attention
|
23 |
+
|
24 |
+
# set all encoder regularisation to zero
|
25 |
+
model.config.encoder.feat_proj_dropout = 0.0
|
26 |
+
model.config.encoder.final_dropout = 0.0
|
27 |
+
model.config.encoder.activation_dropout = 0.0
|
28 |
+
model.config.encoder.apply_spec_augment = False
|
29 |
+
model.config.encoder.attention_dropout = 0.0
|
30 |
+
model.config.encoder.feat_extract_dropout = 0.0
|
31 |
+
model.config.encoder.feat_proj_dropout = 0.0
|
32 |
+
model.config.encoder.hidden_dropout = 0.0
|
33 |
+
model.config.encoder.hidden_dropout_prob = 0.0
|
34 |
+
model.config.encoder.layerdrop = 0.0
|
35 |
+
model.config.encoder.mask_feature_prob = 0.0
|
36 |
+
model.config.encoder.mask_time_prob = 0.0
|
37 |
+
|
38 |
+
# set all decoder regularisation to zero
|
39 |
+
model.config.decoder.attention_probs_dropout_prob = 0.0
|
40 |
+
|
41 |
+
# set special token ids
|
42 |
+
model.config.decoder_start_token_id = tokenizer.cls_token_id
|
43 |
+
model.config.pad_token_id = tokenizer.pad_token_id
|
44 |
+
model.config.eos_token_id = tokenizer.sep_token_id
|
45 |
+
model.config.max_length = 50
|
46 |
+
model.config.num_beams = 1
|
47 |
+
model.config.use_cache = False
|
48 |
+
model.config.decoder.use_cache = False
|
49 |
+
model.config.processor_class = "Wav2Vec2Processor"
|
50 |
+
|
51 |
+
# check if generation works
|
52 |
+
out = model.generate(torch.ones((1, 2000)))
|
53 |
+
|
54 |
+
model.save_pretrained("./")
|
55 |
+
|
56 |
+
|
57 |
+
|
decoder/config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertLMHeadModel"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_dropout": null,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4096,
|
13 |
+
"is_decoder": true,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 2,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.17.0.dev0",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
decoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08e952bd7ce8c58af9176e9ca0d5dbd0000f8cec52144a1c4c1d6f1ec837515e
|
3 |
+
size 232250084
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f3a7260c97b2a7fe59e2961a806b5870cd20da57098aabe1b950586c95a4396
|
3 |
+
size 1603306797
|
run_librispeech.sh
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
CUDA_VISIBLE_DEVICES=1 python run_speech_recognition_seq2seq.py \
|
3 |
+
--dataset_name="librispeech_asr" \
|
4 |
+
--model_name_or_path="./" \
|
5 |
+
--tokenizer_name="./" \
|
6 |
+
--dataset_config_name="clean" \
|
7 |
+
--train_split_name="train.100" \
|
8 |
+
--eval_split_name="validation" \
|
9 |
+
--output_dir="./" \
|
10 |
+
--preprocessing_num_workers="1" \
|
11 |
+
--length_column_name="input_length" \
|
12 |
+
--overwrite_output_dir \
|
13 |
+
--num_train_epochs="20" \
|
14 |
+
--per_device_train_batch_size="16" \
|
15 |
+
--per_device_eval_batch_size="16" \
|
16 |
+
--gradient_accumulation_steps="8" \
|
17 |
+
--generation_max_length="40" \
|
18 |
+
--generation_num_beams="1" \
|
19 |
+
--learning_rate="3e-5" \
|
20 |
+
--warmup_steps="1000" \
|
21 |
+
--evaluation_strategy="steps" \
|
22 |
+
--text_column_name="text" \
|
23 |
+
--save_steps="1500" \
|
24 |
+
--eval_steps="1500" \
|
25 |
+
--logging_steps="1" \
|
26 |
+
--save_total_limit="1" \
|
27 |
+
--freeze_feature_encoder \
|
28 |
+
--gradient_checkpointing \
|
29 |
+
--fp16 \
|
30 |
+
--group_by_length \
|
31 |
+
--predict_with_generate \
|
32 |
+
--do_lower_case \
|
33 |
+
--do_eval --do_train \
|
34 |
+
--push_to_hub \
|
35 |
+
--use_auth_token
|
36 |
+
|
run_speech_recognition_seq2seq.py
ADDED
@@ -0,0 +1,539 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python
|
2 |
+
# coding=utf-8
|
3 |
+
# Copyright 2021 The HuggingFace Team. All rights reserved.
|
4 |
+
#
|
5 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6 |
+
# you may not use this file except in compliance with the License.
|
7 |
+
# You may obtain a copy of the License at
|
8 |
+
#
|
9 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10 |
+
#
|
11 |
+
# Unless required by applicable law or agreed to in writing, software
|
12 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 |
+
# See the License for the specific language governing permissions and
|
15 |
+
# limitations under the License.
|
16 |
+
"""
|
17 |
+
Fine-tuning the library models for sequence to sequence speech recognition.
|
18 |
+
"""
|
19 |
+
# You can also adapt this script on your own sequence to sequence speech
|
20 |
+
# recognition task. Pointers for this are left as comments.
|
21 |
+
|
22 |
+
import logging
|
23 |
+
import os
|
24 |
+
import sys
|
25 |
+
from dataclasses import dataclass, field
|
26 |
+
from typing import Any, Dict, List, Optional, Union
|
27 |
+
|
28 |
+
import datasets
|
29 |
+
import torch
|
30 |
+
from datasets import DatasetDict, load_dataset, load_metric
|
31 |
+
|
32 |
+
import bitsandbytes as bnb
|
33 |
+
import transformers
|
34 |
+
from transformers import (
|
35 |
+
AutoConfig,
|
36 |
+
AutoFeatureExtractor,
|
37 |
+
AutoModelForSpeechSeq2Seq,
|
38 |
+
AutoProcessor,
|
39 |
+
AutoTokenizer,
|
40 |
+
HfArgumentParser,
|
41 |
+
Seq2SeqTrainer,
|
42 |
+
Seq2SeqTrainingArguments,
|
43 |
+
set_seed,
|
44 |
+
)
|
45 |
+
from transformers.trainer_pt_utils import get_parameter_names
|
46 |
+
from transformers.trainer_utils import get_last_checkpoint, is_main_process
|
47 |
+
from transformers.utils import check_min_version
|
48 |
+
from transformers.utils.versions import require_version
|
49 |
+
from transformers.optimization import Adafactor
|
50 |
+
|
51 |
+
|
52 |
+
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
|
53 |
+
check_min_version("4.17.0.dev0")
|
54 |
+
|
55 |
+
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")
|
56 |
+
|
57 |
+
logger = logging.getLogger(__name__)
|
58 |
+
|
59 |
+
|
60 |
+
@dataclass
|
61 |
+
class ModelArguments:
|
62 |
+
"""
|
63 |
+
Arguments pertaining to which model/config/tokenizer we are going to fine-tune from.
|
64 |
+
"""
|
65 |
+
|
66 |
+
model_name_or_path: str = field(
|
67 |
+
metadata={"help": "Path to pretrained model or model identifier from huggingface.co/models"}
|
68 |
+
)
|
69 |
+
config_name: Optional[str] = field(
|
70 |
+
default=None, metadata={"help": "Pretrained config name or path if not the same as model_name"}
|
71 |
+
)
|
72 |
+
tokenizer_name: Optional[str] = field(
|
73 |
+
default=None, metadata={"help": "Pretrained tokenizer name or path if not the same as model_name"}
|
74 |
+
)
|
75 |
+
feature_extractor_name: Optional[str] = field(
|
76 |
+
default=None, metadata={"help": "feature extractor name or path if not the same as model_name"}
|
77 |
+
)
|
78 |
+
cache_dir: Optional[str] = field(
|
79 |
+
default=None,
|
80 |
+
metadata={"help": "Where to store the pretrained models downloaded from huggingface.co"},
|
81 |
+
)
|
82 |
+
use_fast_tokenizer: bool = field(
|
83 |
+
default=True,
|
84 |
+
metadata={"help": "Whether to use one of the fast tokenizer (backed by the tokenizers library) or not."},
|
85 |
+
)
|
86 |
+
model_revision: str = field(
|
87 |
+
default="main",
|
88 |
+
metadata={"help": "The specific model version to use (can be a branch name, tag name or commit id)."},
|
89 |
+
)
|
90 |
+
use_auth_token: bool = field(
|
91 |
+
default=False,
|
92 |
+
metadata={
|
93 |
+
"help": "Will use the token generated when running `transformers-cli login` (necessary to use this script "
|
94 |
+
"with private models)."
|
95 |
+
},
|
96 |
+
)
|
97 |
+
freeze_feature_encoder: bool = field(
|
98 |
+
default=True, metadata={"help": "Whether to freeze the feature encoder layers of the model."}
|
99 |
+
)
|
100 |
+
|
101 |
+
|
102 |
+
@dataclass
|
103 |
+
class DataTrainingArguments:
|
104 |
+
"""
|
105 |
+
Arguments pertaining to what data we are going to input our model for training and eval.
|
106 |
+
"""
|
107 |
+
|
108 |
+
dataset_name: str = field(
|
109 |
+
default=None, metadata={"help": "The name of the dataset to use (via the datasets library)."}
|
110 |
+
)
|
111 |
+
dataset_config_name: Optional[str] = field(
|
112 |
+
default=None, metadata={"help": "The configuration name of the dataset to use (via the datasets library)."}
|
113 |
+
)
|
114 |
+
text_column: Optional[str] = field(
|
115 |
+
default=None,
|
116 |
+
metadata={"help": "The name of the column in the datasets containing the full texts (for summarization)."},
|
117 |
+
)
|
118 |
+
overwrite_cache: bool = field(
|
119 |
+
default=False, metadata={"help": "Overwrite the cached training and evaluation sets"}
|
120 |
+
)
|
121 |
+
preprocessing_num_workers: Optional[int] = field(
|
122 |
+
default=None,
|
123 |
+
metadata={"help": "The number of processes to use for the preprocessing."},
|
124 |
+
)
|
125 |
+
max_train_samples: Optional[int] = field(
|
126 |
+
default=None,
|
127 |
+
metadata={
|
128 |
+
"help": "For debugging purposes or quicker training, truncate the number of training examples to this "
|
129 |
+
"value if set."
|
130 |
+
},
|
131 |
+
)
|
132 |
+
max_eval_samples: Optional[int] = field(
|
133 |
+
default=None,
|
134 |
+
metadata={
|
135 |
+
"help": "For debugging purposes or quicker training, truncate the number of evaluation examples to this "
|
136 |
+
"value if set."
|
137 |
+
},
|
138 |
+
)
|
139 |
+
audio_column_name: str = field(
|
140 |
+
default="audio",
|
141 |
+
metadata={"help": "The name of the dataset column containing the audio data. Defaults to 'audio'"},
|
142 |
+
)
|
143 |
+
text_column_name: str = field(
|
144 |
+
default="text",
|
145 |
+
metadata={"help": "The name of the dataset column containing the text data. Defaults to 'text'"},
|
146 |
+
)
|
147 |
+
max_duration_in_seconds: float = field(
|
148 |
+
default=20.0,
|
149 |
+
metadata={
|
150 |
+
"help": "Truncate audio files that are longer than `max_duration_in_seconds` seconds to 'max_duration_in_seconds`"
|
151 |
+
},
|
152 |
+
)
|
153 |
+
min_duration_in_seconds: float = field(
|
154 |
+
default=0.0, metadata={"help": "Filter audio files that are shorter than `min_duration_in_seconds` seconds"}
|
155 |
+
)
|
156 |
+
preprocessing_only: bool = field(
|
157 |
+
default=False,
|
158 |
+
metadata={
|
159 |
+
"help": "Whether to only do data preprocessing and skip training. "
|
160 |
+
"This is especially useful when data preprocessing errors out in distributed training due to timeout. "
|
161 |
+
"In this case, one should run the preprocessing in a non-distributed setup with `preprocessing_only=True` "
|
162 |
+
"so that the cached datasets can consequently be loaded in distributed training"
|
163 |
+
},
|
164 |
+
)
|
165 |
+
train_split_name: str = field(
|
166 |
+
default="train",
|
167 |
+
metadata={
|
168 |
+
"help": "The name of the training data set split to use (via the datasets library). Defaults to 'train'"
|
169 |
+
},
|
170 |
+
)
|
171 |
+
eval_split_name: str = field(
|
172 |
+
default="test",
|
173 |
+
metadata={
|
174 |
+
"help": "The name of the training data set split to use (via the datasets library). Defaults to 'train'"
|
175 |
+
},
|
176 |
+
)
|
177 |
+
do_lower_case: bool = field(
|
178 |
+
default=True,
|
179 |
+
metadata={"help": "Whether the target text should be lower cased."},
|
180 |
+
)
|
181 |
+
|
182 |
+
|
183 |
+
@dataclass
|
184 |
+
class DataCollatorSpeechSeq2SeqWithPadding:
|
185 |
+
"""
|
186 |
+
Data collator that will dynamically pad the inputs received.
|
187 |
+
Args:
|
188 |
+
processor ([`Wav2Vec2Processor`])
|
189 |
+
The processor used for proccessing the data.
|
190 |
+
decoder_start_token_id (`int`)
|
191 |
+
The begin-of-sentence of the decoder.
|
192 |
+
"""
|
193 |
+
|
194 |
+
processor: Any
|
195 |
+
decoder_start_token_id: int
|
196 |
+
|
197 |
+
def __call__(self, features: List[Dict[str, Union[List[int], torch.Tensor]]]) -> Dict[str, torch.Tensor]:
|
198 |
+
# split inputs and labels since they have to be of different lenghts and need
|
199 |
+
# different padding methods
|
200 |
+
input_features = [{"input_values": feature["input_values"]} for feature in features]
|
201 |
+
label_features = [{"input_ids": feature["labels"]} for feature in features]
|
202 |
+
|
203 |
+
batch = self.processor.feature_extractor.pad(input_features, return_tensors="pt")
|
204 |
+
|
205 |
+
labels_batch = self.processor.tokenizer.pad(label_features, return_tensors="pt")
|
206 |
+
|
207 |
+
# replace padding with -100 to ignore loss correctly
|
208 |
+
labels = labels_batch["input_ids"].masked_fill(labels_batch.attention_mask.ne(1), -100)
|
209 |
+
|
210 |
+
# if bos token is appended in previous tokenization step,
|
211 |
+
# cut bos token here as it's append later anyways
|
212 |
+
if (labels[:, 0] == self.decoder_start_token_id).all().cpu().item():
|
213 |
+
labels = labels[:, 1:]
|
214 |
+
|
215 |
+
batch["labels"] = labels
|
216 |
+
|
217 |
+
return batch
|
218 |
+
|
219 |
+
|
220 |
+
def main():
|
221 |
+
# 1. Parse input arguments
|
222 |
+
# See all possible arguments in src/transformers/training_args.py
|
223 |
+
# or by passing the --help flag to this script.
|
224 |
+
# We now keep distinct sets of args, for a cleaner separation of concerns.
|
225 |
+
parser = HfArgumentParser((ModelArguments, DataTrainingArguments, Seq2SeqTrainingArguments))
|
226 |
+
|
227 |
+
if len(sys.argv) == 2 and sys.argv[1].endswith(".json"):
|
228 |
+
# If we pass only one argument to the script and it's the path to a json file,
|
229 |
+
# let's parse it to get our arguments.
|
230 |
+
model_args, data_args, training_args = parser.parse_json_file(json_file=os.path.abspath(sys.argv[1]))
|
231 |
+
else:
|
232 |
+
model_args, data_args, training_args = parser.parse_args_into_dataclasses()
|
233 |
+
|
234 |
+
# 2. Setup logging
|
235 |
+
logging.basicConfig(
|
236 |
+
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|
237 |
+
datefmt="%m/%d/%Y %H:%M:%S",
|
238 |
+
handlers=[logging.StreamHandler(sys.stdout)],
|
239 |
+
)
|
240 |
+
log_level = training_args.get_process_log_level()
|
241 |
+
logger.setLevel(log_level)
|
242 |
+
datasets.utils.logging.set_verbosity(log_level)
|
243 |
+
transformers.utils.logging.set_verbosity(log_level)
|
244 |
+
transformers.utils.logging.enable_default_handler()
|
245 |
+
transformers.utils.logging.enable_explicit_format()
|
246 |
+
|
247 |
+
logger.setLevel(logging.INFO if is_main_process(training_args.local_rank) else logging.WARN)
|
248 |
+
|
249 |
+
# Log on each process the small summary:
|
250 |
+
logger.warning(
|
251 |
+
f"Process rank: {training_args.local_rank}, device: {training_args.device}, n_gpu: {training_args.n_gpu}"
|
252 |
+
f"distributed training: {bool(training_args.local_rank != -1)}, 16-bits training: {training_args.fp16}"
|
253 |
+
)
|
254 |
+
logger.info(f"Training/evaluation parameters {training_args}")
|
255 |
+
|
256 |
+
# Set the verbosity to info of the Transformers logger (on main process only):
|
257 |
+
if is_main_process(training_args.local_rank):
|
258 |
+
transformers.utils.logging.set_verbosity_info()
|
259 |
+
logger.info("Training/evaluation parameters %s", training_args)
|
260 |
+
|
261 |
+
# 3. Detecting last checkpoint and eventualy continue from last checkpoint
|
262 |
+
last_checkpoint = None
|
263 |
+
if os.path.isdir(training_args.output_dir) and training_args.do_train and not training_args.overwrite_output_dir:
|
264 |
+
last_checkpoint = get_last_checkpoint(training_args.output_dir)
|
265 |
+
if last_checkpoint is None and len(os.listdir(training_args.output_dir)) > 0:
|
266 |
+
raise ValueError(
|
267 |
+
f"Output directory ({training_args.output_dir}) already exists and is not empty. "
|
268 |
+
"Use --overwrite_output_dir to overcome."
|
269 |
+
)
|
270 |
+
elif last_checkpoint is not None and training_args.resume_from_checkpoint is None:
|
271 |
+
logger.info(
|
272 |
+
f"Checkpoint detected, resuming training at {last_checkpoint}. To avoid this behavior, change "
|
273 |
+
"the `--output_dir` or add `--overwrite_output_dir` to train from scratch."
|
274 |
+
)
|
275 |
+
|
276 |
+
# Set seed before initializing model.
|
277 |
+
set_seed(training_args.seed)
|
278 |
+
|
279 |
+
# 4. Load dataset
|
280 |
+
raw_datasets = DatasetDict()
|
281 |
+
|
282 |
+
if training_args.do_train:
|
283 |
+
raw_datasets["train"] = load_dataset(
|
284 |
+
data_args.dataset_name, data_args.dataset_config_name, split=data_args.train_split_name
|
285 |
+
)
|
286 |
+
|
287 |
+
if training_args.do_eval:
|
288 |
+
raw_datasets["eval"] = load_dataset(
|
289 |
+
data_args.dataset_name, data_args.dataset_config_name, split=data_args.eval_split_name
|
290 |
+
)
|
291 |
+
|
292 |
+
if data_args.audio_column_name not in next(iter(raw_datasets.values())).column_names:
|
293 |
+
raise ValueError(
|
294 |
+
f"--audio_column_name '{data_args.audio_column_name}' not found in dataset '{data_args.dataset_name}'. "
|
295 |
+
"Make sure to set `--audio_column_name` to the correct audio column - one of "
|
296 |
+
f"{', '.join(next(iter(raw_datasets.values())).column_names)}."
|
297 |
+
)
|
298 |
+
|
299 |
+
if data_args.text_column_name not in next(iter(raw_datasets.values())).column_names:
|
300 |
+
raise ValueError(
|
301 |
+
f"--text_column_name {data_args.text_column_name} not found in dataset '{data_args.dataset_name}'. "
|
302 |
+
"Make sure to set `--text_column_name` to the correct text column - one of "
|
303 |
+
f"{', '.join(next(iter(raw_datasets.values())).column_names)}."
|
304 |
+
)
|
305 |
+
|
306 |
+
# 5. Load pretrained model, tokenizer, and feature extractor
|
307 |
+
#
|
308 |
+
# Distributed training:
|
309 |
+
# The .from_pretrained methods guarantee that only one local process can concurrently
|
310 |
+
config = AutoConfig.from_pretrained(
|
311 |
+
model_args.config_name if model_args.config_name else model_args.model_name_or_path,
|
312 |
+
cache_dir=model_args.cache_dir,
|
313 |
+
revision=model_args.model_revision,
|
314 |
+
use_auth_token=True if model_args.use_auth_token else None,
|
315 |
+
)
|
316 |
+
|
317 |
+
feature_extractor = AutoFeatureExtractor.from_pretrained(
|
318 |
+
model_args.feature_extractor_name if model_args.feature_extractor_name else model_args.model_name_or_path,
|
319 |
+
cache_dir=model_args.cache_dir,
|
320 |
+
revision=model_args.model_revision,
|
321 |
+
use_auth_token=True if model_args.use_auth_token else None,
|
322 |
+
)
|
323 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
324 |
+
model_args.tokenizer_name if model_args.tokenizer_name else model_args.model_name_or_path,
|
325 |
+
cache_dir=model_args.cache_dir,
|
326 |
+
use_fast=model_args.use_fast_tokenizer,
|
327 |
+
revision=model_args.model_revision,
|
328 |
+
use_auth_token=True if model_args.use_auth_token else None,
|
329 |
+
)
|
330 |
+
model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
331 |
+
model_args.model_name_or_path,
|
332 |
+
config=config,
|
333 |
+
cache_dir=model_args.cache_dir,
|
334 |
+
revision=model_args.model_revision,
|
335 |
+
use_auth_token=True if model_args.use_auth_token else None,
|
336 |
+
)
|
337 |
+
|
338 |
+
if model.config.decoder_start_token_id is None:
|
339 |
+
raise ValueError("Make sure that `config.decoder_start_token_id` is correctly defined")
|
340 |
+
|
341 |
+
if model_args.freeze_feature_encoder:
|
342 |
+
model.freeze_feature_encoder()
|
343 |
+
|
344 |
+
# 6. Resample speech dataset if necassary
|
345 |
+
dataset_sampling_rate = next(iter(raw_datasets.values())).features[data_args.audio_column_name].sampling_rate
|
346 |
+
if dataset_sampling_rate != feature_extractor.sampling_rate:
|
347 |
+
raw_datasets = raw_datasets.cast_column(
|
348 |
+
data_args.audio_column_name, datasets.features.Audio(sampling_rate=feature_extractor.sampling_rate)
|
349 |
+
)
|
350 |
+
|
351 |
+
# 7. Preprocessing the datasets.
|
352 |
+
# We need to read the audio files as arrays and tokenize the targets.
|
353 |
+
max_input_length = data_args.max_duration_in_seconds * feature_extractor.sampling_rate
|
354 |
+
min_input_length = data_args.min_duration_in_seconds * feature_extractor.sampling_rate
|
355 |
+
audio_column_name = data_args.audio_column_name
|
356 |
+
num_workers = data_args.preprocessing_num_workers
|
357 |
+
text_column_name = data_args.text_column_name
|
358 |
+
model_input_name = feature_extractor.model_input_names[0]
|
359 |
+
do_lower_case = data_args.do_lower_case
|
360 |
+
|
361 |
+
if data_args.max_train_samples is not None:
|
362 |
+
raw_datasets["train"] = raw_datasets["train"].select(range(data_args.max_train_samples))
|
363 |
+
|
364 |
+
if data_args.max_eval_samples is not None:
|
365 |
+
raw_datasets["eval"] = raw_datasets["eval"].select(range(data_args.max_eval_samples))
|
366 |
+
|
367 |
+
def prepare_dataset(batch):
|
368 |
+
# process audio
|
369 |
+
sample = batch[audio_column_name]
|
370 |
+
inputs = feature_extractor(sample["array"], sampling_rate=sample["sampling_rate"])
|
371 |
+
# process audio length
|
372 |
+
batch[model_input_name] = inputs.input_values[0]
|
373 |
+
batch["input_length"] = len(batch["input_values"])
|
374 |
+
|
375 |
+
# process targets
|
376 |
+
input_str = batch[text_column_name].lower() if do_lower_case else batch[text_column_name]
|
377 |
+
batch["labels"] = tokenizer(input_str).input_ids
|
378 |
+
return batch
|
379 |
+
|
380 |
+
with training_args.main_process_first(desc="dataset map pre-processing"):
|
381 |
+
vectorized_datasets = raw_datasets.map(
|
382 |
+
prepare_dataset,
|
383 |
+
remove_columns=next(iter(raw_datasets.values())).column_names,
|
384 |
+
num_proc=data_args.preprocessing_num_workers,
|
385 |
+
desc="preprocess train dataset",
|
386 |
+
)
|
387 |
+
|
388 |
+
# filter data that is shorter than min_input_length or longer than
|
389 |
+
# max_input_length
|
390 |
+
def is_audio_in_length_range(length):
|
391 |
+
return length > min_input_length and length < max_input_length
|
392 |
+
|
393 |
+
vectorized_datasets = vectorized_datasets.filter(
|
394 |
+
is_audio_in_length_range,
|
395 |
+
num_proc=num_workers,
|
396 |
+
input_columns=["input_length"],
|
397 |
+
)
|
398 |
+
|
399 |
+
# for large datasets it is advised to run the preprocessing on a
|
400 |
+
# single machine first with `args.preprocessing_only` since there will mostly likely
|
401 |
+
# be a timeout when running the script in distributed mode.
|
402 |
+
# In a second step `args.preprocessing_only` can then be set to `False` to load the
|
403 |
+
# cached dataset
|
404 |
+
if data_args.preprocessing_only:
|
405 |
+
cache = {k: v.cache_files for k, v in vectorized_datasets.items()}
|
406 |
+
logger.info(f"Data preprocessing finished. Files cached at {cache}.")
|
407 |
+
return
|
408 |
+
|
409 |
+
# 8. Load Metric
|
410 |
+
metric = load_metric("wer")
|
411 |
+
|
412 |
+
def compute_metrics(pred):
|
413 |
+
pred_ids = pred.predictions
|
414 |
+
|
415 |
+
pred.label_ids[pred.label_ids == -100] = tokenizer.pad_token_id
|
416 |
+
|
417 |
+
pred_str = tokenizer.batch_decode(pred_ids, skip_special_tokens=True)
|
418 |
+
# we do not want to group tokens when computing the metrics
|
419 |
+
label_str = tokenizer.batch_decode(pred.label_ids, skip_special_tokens=True)
|
420 |
+
|
421 |
+
wer = metric.compute(predictions=pred_str, references=label_str)
|
422 |
+
|
423 |
+
return {"wer": wer}
|
424 |
+
|
425 |
+
# 9. Create a single speech processor
|
426 |
+
if is_main_process(training_args.local_rank):
|
427 |
+
# save feature extractor, tokenizer and config
|
428 |
+
feature_extractor.save_pretrained(training_args.output_dir)
|
429 |
+
tokenizer.save_pretrained(training_args.output_dir)
|
430 |
+
config.save_pretrained(training_args.output_dir)
|
431 |
+
|
432 |
+
processor = AutoProcessor.from_pretrained(training_args.output_dir)
|
433 |
+
|
434 |
+
# 10. Define data collator
|
435 |
+
data_collator = DataCollatorSpeechSeq2SeqWithPadding(
|
436 |
+
processor=processor, decoder_start_token_id=model.config.decoder_start_token_id
|
437 |
+
)
|
438 |
+
|
439 |
+
decay_parameters = get_parameter_names(model, [torch.nn.LayerNorm])
|
440 |
+
decay_parameters = [name for name in decay_parameters if "bias" not in name]
|
441 |
+
optimizer_grouped_parameters = [
|
442 |
+
{
|
443 |
+
"params": [p for n, p in model.named_parameters() if n in decay_parameters],
|
444 |
+
"weight_decay": training_args.weight_decay,
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"params": [p for n, p in model.named_parameters() if n not in decay_parameters],
|
448 |
+
"weight_decay": 0.0,
|
449 |
+
},
|
450 |
+
]
|
451 |
+
|
452 |
+
optimizer = bnb.optim.Adam8bit(
|
453 |
+
params=optimizer_grouped_parameters,
|
454 |
+
lr=training_args.learning_rate,
|
455 |
+
betas=(training_args.adam_beta1, training_args.adam_beta2),
|
456 |
+
eps=training_args.adam_epsilon,
|
457 |
+
)
|
458 |
+
|
459 |
+
"""optimizer = Adafactor(
|
460 |
+
params=optimizer_grouped_parameters,
|
461 |
+
lr=training_args.learning_rate,
|
462 |
+
beta1=training_args.adam_beta1,
|
463 |
+
eps=training_args.adam_epsilon,
|
464 |
+
relative_step=False,
|
465 |
+
)"""
|
466 |
+
|
467 |
+
|
468 |
+
optimizers = (optimizer, None)
|
469 |
+
|
470 |
+
|
471 |
+
#11. Initialize Trainer
|
472 |
+
|
473 |
+
trainer = Seq2SeqTrainer(
|
474 |
+
model=model,
|
475 |
+
args=training_args,
|
476 |
+
train_dataset=vectorized_datasets["train"] if training_args.do_train else None,
|
477 |
+
eval_dataset=vectorized_datasets["eval"] if training_args.do_eval else None,
|
478 |
+
tokenizer=feature_extractor,
|
479 |
+
data_collator=data_collator,
|
480 |
+
compute_metrics=compute_metrics if training_args.predict_with_generate else None,
|
481 |
+
optimizers=optimizers,
|
482 |
+
)
|
483 |
+
|
484 |
+
# 12. Training
|
485 |
+
if training_args.do_train:
|
486 |
+
checkpoint = None
|
487 |
+
if training_args.resume_from_checkpoint is not None:
|
488 |
+
checkpoint = training_args.resume_from_checkpoint
|
489 |
+
elif last_checkpoint is not None:
|
490 |
+
checkpoint = last_checkpoint
|
491 |
+
train_result = trainer.train(resume_from_checkpoint=checkpoint)
|
492 |
+
trainer.save_model() # Saves the feature extractor too for easy upload
|
493 |
+
|
494 |
+
metrics = train_result.metrics
|
495 |
+
max_train_samples = (
|
496 |
+
data_args.max_train_samples
|
497 |
+
if data_args.max_train_samples is not None
|
498 |
+
else len(vectorized_datasets["train"])
|
499 |
+
)
|
500 |
+
metrics["train_samples"] = min(max_train_samples, len(vectorized_datasets["train"]))
|
501 |
+
trainer.log_metrics("train", metrics)
|
502 |
+
trainer.save_metrics("train", metrics)
|
503 |
+
trainer.save_state()
|
504 |
+
|
505 |
+
# 13. Evaluation
|
506 |
+
results = {}
|
507 |
+
if training_args.do_eval:
|
508 |
+
logger.info("*** Evaluate ***")
|
509 |
+
metrics = trainer.evaluate(
|
510 |
+
metric_key_prefix="eval", max_length=model.config.max_length, num_beams=model.config.num_beams
|
511 |
+
)
|
512 |
+
max_eval_samples = (
|
513 |
+
data_args.max_eval_samples if data_args.max_eval_samples is not None else len(vectorized_datasets["eval"])
|
514 |
+
)
|
515 |
+
metrics["eval_samples"] = min(max_eval_samples, len(vectorized_datasets["eval"]))
|
516 |
+
|
517 |
+
trainer.log_metrics("eval", metrics)
|
518 |
+
trainer.save_metrics("eval", metrics)
|
519 |
+
|
520 |
+
# 14. Write Training Stats
|
521 |
+
kwargs = {"finetuned_from": model_args.model_name_or_path, "tasks": "speech recognition"}
|
522 |
+
if data_args.dataset_name is not None:
|
523 |
+
kwargs["dataset_tags"] = data_args.dataset_name
|
524 |
+
if data_args.dataset_config_name is not None:
|
525 |
+
kwargs["dataset_args"] = data_args.dataset_config_name
|
526 |
+
kwargs["dataset"] = f"{data_args.dataset_name} {data_args.dataset_config_name}"
|
527 |
+
else:
|
528 |
+
kwargs["dataset"] = data_args.dataset_name
|
529 |
+
|
530 |
+
if training_args.push_to_hub:
|
531 |
+
trainer.push_to_hub(**kwargs)
|
532 |
+
else:
|
533 |
+
trainer.create_model_card(**kwargs)
|
534 |
+
|
535 |
+
return results
|
536 |
+
|
537 |
+
|
538 |
+
if __name__ == "__main__":
|
539 |
+
main()
|
runs/Mar08_10-20-58_sanchit--v100/1646734887.1129148/events.out.tfevents.1646734887.sanchit--v100.1584958.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6172cf4ba2b22d9e1131c5eed4704444f81feebe9a63f8298ea4b73d6a67f8d
|
3 |
+
size 4973
|
runs/Mar08_10-20-58_sanchit--v100/events.out.tfevents.1646734887.sanchit--v100.1584958.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6926e685d5f451f5d400822a71d866d2a99aeee6721bcb625391d3edb4d4d81c
|
3 |
+
size 9822
|
runs/Mar08_10-22-25_sanchit--v100/1646734967.8329628/events.out.tfevents.1646734967.sanchit--v100.1586051.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfec89e6027d2720d4bba75b5e9ce57669928d1b53e22d2a02608115a0307378
|
3 |
+
size 4973
|
runs/Mar08_10-22-25_sanchit--v100/events.out.tfevents.1646734967.sanchit--v100.1586051.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdde1fff2be605c39ac9aa8e42b02d1a5c8e489d82994cba36540ec379451225
|
3 |
+
size 244337
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "./", "tokenizer_class": "BertTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:273c599674abc4f492178d278fe9451f7ef368bc7a4b89d6b6d78ce4cdb3ae3c
|
3 |
+
size 3119
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
wandb/debug-internal.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
run-20220308_102248-3h7e1p8o/logs/debug-internal.log
|
wandb/debug.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
run-20220308_102248-3h7e1p8o/logs/debug.log
|
wandb/latest-run
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
run-20220308_102248-3h7e1p8o
|
wandb/run-20220308_102127-2todcy4h/files/config.yaml
ADDED
@@ -0,0 +1,708 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
wandb_version: 1
|
2 |
+
|
3 |
+
_n_gpu:
|
4 |
+
desc: null
|
5 |
+
value: 1
|
6 |
+
_name_or_path:
|
7 |
+
desc: null
|
8 |
+
value: ./
|
9 |
+
_wandb:
|
10 |
+
desc: null
|
11 |
+
value:
|
12 |
+
cli_version: 0.12.10
|
13 |
+
framework: huggingface
|
14 |
+
huggingface_version: 4.17.0.dev0
|
15 |
+
is_jupyter_run: false
|
16 |
+
is_kaggle_kernel: false
|
17 |
+
m:
|
18 |
+
- 1: train/global_step
|
19 |
+
6:
|
20 |
+
- 3
|
21 |
+
- 1: train/loss
|
22 |
+
5: 1
|
23 |
+
6:
|
24 |
+
- 1
|
25 |
+
- 1: train/learning_rate
|
26 |
+
5: 1
|
27 |
+
6:
|
28 |
+
- 1
|
29 |
+
- 1: train/epoch
|
30 |
+
5: 1
|
31 |
+
6:
|
32 |
+
- 1
|
33 |
+
python_version: 3.9.5
|
34 |
+
start_time: 1646734887
|
35 |
+
t:
|
36 |
+
1:
|
37 |
+
- 1
|
38 |
+
- 5
|
39 |
+
- 11
|
40 |
+
3:
|
41 |
+
- 13
|
42 |
+
4: 3.9.5
|
43 |
+
5: 0.12.10
|
44 |
+
6: 4.17.0.dev0
|
45 |
+
8:
|
46 |
+
- 5
|
47 |
+
adafactor:
|
48 |
+
desc: null
|
49 |
+
value: false
|
50 |
+
adam_beta1:
|
51 |
+
desc: null
|
52 |
+
value: 0.9
|
53 |
+
adam_beta2:
|
54 |
+
desc: null
|
55 |
+
value: 0.999
|
56 |
+
adam_epsilon:
|
57 |
+
desc: null
|
58 |
+
value: 1.0e-08
|
59 |
+
add_cross_attention:
|
60 |
+
desc: null
|
61 |
+
value: false
|
62 |
+
architectures:
|
63 |
+
desc: null
|
64 |
+
value:
|
65 |
+
- SpeechEncoderDecoderModel
|
66 |
+
bad_words_ids:
|
67 |
+
desc: null
|
68 |
+
value: null
|
69 |
+
bf16:
|
70 |
+
desc: null
|
71 |
+
value: false
|
72 |
+
bf16_full_eval:
|
73 |
+
desc: null
|
74 |
+
value: false
|
75 |
+
bos_token_id:
|
76 |
+
desc: null
|
77 |
+
value: null
|
78 |
+
chunk_size_feed_forward:
|
79 |
+
desc: null
|
80 |
+
value: 0
|
81 |
+
cross_attention_hidden_size:
|
82 |
+
desc: null
|
83 |
+
value: null
|
84 |
+
dataloader_drop_last:
|
85 |
+
desc: null
|
86 |
+
value: false
|
87 |
+
dataloader_num_workers:
|
88 |
+
desc: null
|
89 |
+
value: 0
|
90 |
+
dataloader_pin_memory:
|
91 |
+
desc: null
|
92 |
+
value: true
|
93 |
+
ddp_bucket_cap_mb:
|
94 |
+
desc: null
|
95 |
+
value: None
|
96 |
+
ddp_find_unused_parameters:
|
97 |
+
desc: null
|
98 |
+
value: None
|
99 |
+
debug:
|
100 |
+
desc: null
|
101 |
+
value: '[]'
|
102 |
+
decoder:
|
103 |
+
desc: null
|
104 |
+
value:
|
105 |
+
_name_or_path: decoder
|
106 |
+
add_cross_attention: true
|
107 |
+
architectures:
|
108 |
+
- BertLMHeadModel
|
109 |
+
attention_probs_dropout_prob: 0.0
|
110 |
+
bad_words_ids: null
|
111 |
+
bos_token_id: null
|
112 |
+
chunk_size_feed_forward: 0
|
113 |
+
classifier_dropout: null
|
114 |
+
cross_attention_hidden_size: null
|
115 |
+
decoder_start_token_id: null
|
116 |
+
diversity_penalty: 0.0
|
117 |
+
do_sample: false
|
118 |
+
early_stopping: false
|
119 |
+
encoder_no_repeat_ngram_size: 0
|
120 |
+
eos_token_id: null
|
121 |
+
finetuning_task: null
|
122 |
+
forced_bos_token_id: null
|
123 |
+
forced_eos_token_id: null
|
124 |
+
gradient_checkpointing: false
|
125 |
+
hidden_act: gelu
|
126 |
+
hidden_dropout_prob: 0.1
|
127 |
+
hidden_size: 1024
|
128 |
+
id2label:
|
129 |
+
'0': LABEL_0
|
130 |
+
'1': LABEL_1
|
131 |
+
initializer_range: 0.02
|
132 |
+
intermediate_size: 4096
|
133 |
+
is_decoder: true
|
134 |
+
is_encoder_decoder: false
|
135 |
+
label2id:
|
136 |
+
LABEL_0: 0
|
137 |
+
LABEL_1: 1
|
138 |
+
layer_norm_eps: 1.0e-12
|
139 |
+
length_penalty: 1.0
|
140 |
+
max_length: 20
|
141 |
+
max_position_embeddings: 512
|
142 |
+
min_length: 0
|
143 |
+
model_type: bert
|
144 |
+
no_repeat_ngram_size: 0
|
145 |
+
num_attention_heads: 16
|
146 |
+
num_beam_groups: 1
|
147 |
+
num_beams: 1
|
148 |
+
num_hidden_layers: 2
|
149 |
+
num_return_sequences: 1
|
150 |
+
output_attentions: false
|
151 |
+
output_hidden_states: false
|
152 |
+
output_scores: false
|
153 |
+
pad_token_id: 0
|
154 |
+
position_embedding_type: absolute
|
155 |
+
prefix: null
|
156 |
+
problem_type: null
|
157 |
+
pruned_heads: {}
|
158 |
+
remove_invalid_values: false
|
159 |
+
repetition_penalty: 1.0
|
160 |
+
return_dict: true
|
161 |
+
return_dict_in_generate: false
|
162 |
+
sep_token_id: null
|
163 |
+
task_specific_params: null
|
164 |
+
temperature: 1.0
|
165 |
+
tie_encoder_decoder: false
|
166 |
+
tie_word_embeddings: true
|
167 |
+
tokenizer_class: null
|
168 |
+
top_k: 50
|
169 |
+
top_p: 1.0
|
170 |
+
torch_dtype: float32
|
171 |
+
torchscript: false
|
172 |
+
transformers_version: 4.17.0.dev0
|
173 |
+
type_vocab_size: 2
|
174 |
+
use_bfloat16: false
|
175 |
+
use_cache: false
|
176 |
+
vocab_size: 30522
|
177 |
+
decoder_start_token_id:
|
178 |
+
desc: null
|
179 |
+
value: 101
|
180 |
+
deepspeed:
|
181 |
+
desc: null
|
182 |
+
value: None
|
183 |
+
disable_tqdm:
|
184 |
+
desc: null
|
185 |
+
value: false
|
186 |
+
diversity_penalty:
|
187 |
+
desc: null
|
188 |
+
value: 0.0
|
189 |
+
do_eval:
|
190 |
+
desc: null
|
191 |
+
value: true
|
192 |
+
do_predict:
|
193 |
+
desc: null
|
194 |
+
value: false
|
195 |
+
do_sample:
|
196 |
+
desc: null
|
197 |
+
value: false
|
198 |
+
do_train:
|
199 |
+
desc: null
|
200 |
+
value: true
|
201 |
+
early_stopping:
|
202 |
+
desc: null
|
203 |
+
value: false
|
204 |
+
encoder:
|
205 |
+
desc: null
|
206 |
+
value:
|
207 |
+
_name_or_path: facebook/wav2vec2-large-lv60
|
208 |
+
activation_dropout: 0.0
|
209 |
+
adapter_kernel_size: 3
|
210 |
+
adapter_stride: 2
|
211 |
+
add_adapter: true
|
212 |
+
add_cross_attention: false
|
213 |
+
apply_spec_augment: false
|
214 |
+
architectures:
|
215 |
+
- Wav2Vec2ForPreTraining
|
216 |
+
attention_dropout: 0.0
|
217 |
+
bad_words_ids: null
|
218 |
+
bos_token_id: 1
|
219 |
+
chunk_size_feed_forward: 0
|
220 |
+
classifier_proj_size: 256
|
221 |
+
codevector_dim: 768
|
222 |
+
contrastive_logits_temperature: 0.1
|
223 |
+
conv_bias: true
|
224 |
+
conv_dim:
|
225 |
+
- 512
|
226 |
+
- 512
|
227 |
+
- 512
|
228 |
+
- 512
|
229 |
+
- 512
|
230 |
+
- 512
|
231 |
+
- 512
|
232 |
+
conv_kernel:
|
233 |
+
- 10
|
234 |
+
- 3
|
235 |
+
- 3
|
236 |
+
- 3
|
237 |
+
- 3
|
238 |
+
- 2
|
239 |
+
- 2
|
240 |
+
conv_stride:
|
241 |
+
- 5
|
242 |
+
- 2
|
243 |
+
- 2
|
244 |
+
- 2
|
245 |
+
- 2
|
246 |
+
- 2
|
247 |
+
- 2
|
248 |
+
cross_attention_hidden_size: null
|
249 |
+
ctc_loss_reduction: sum
|
250 |
+
ctc_zero_infinity: false
|
251 |
+
decoder_start_token_id: null
|
252 |
+
diversity_loss_weight: 0.1
|
253 |
+
diversity_penalty: 0.0
|
254 |
+
do_sample: false
|
255 |
+
do_stable_layer_norm: true
|
256 |
+
early_stopping: false
|
257 |
+
encoder_no_repeat_ngram_size: 0
|
258 |
+
eos_token_id: 2
|
259 |
+
feat_extract_activation: gelu
|
260 |
+
feat_extract_dropout: 0.0
|
261 |
+
feat_extract_norm: layer
|
262 |
+
feat_proj_dropout: 0.0
|
263 |
+
feat_quantizer_dropout: 0.0
|
264 |
+
final_dropout: 0.0
|
265 |
+
finetuning_task: null
|
266 |
+
forced_bos_token_id: null
|
267 |
+
forced_eos_token_id: null
|
268 |
+
gradient_checkpointing: false
|
269 |
+
hidden_act: gelu
|
270 |
+
hidden_dropout: 0.0
|
271 |
+
hidden_dropout_prob: 0.0
|
272 |
+
hidden_size: 1024
|
273 |
+
id2label:
|
274 |
+
'0': LABEL_0
|
275 |
+
'1': LABEL_1
|
276 |
+
initializer_range: 0.02
|
277 |
+
intermediate_size: 4096
|
278 |
+
is_decoder: false
|
279 |
+
is_encoder_decoder: false
|
280 |
+
label2id:
|
281 |
+
LABEL_0: 0
|
282 |
+
LABEL_1: 1
|
283 |
+
layer_norm_eps: 1.0e-05
|
284 |
+
layerdrop: 0.0
|
285 |
+
length_penalty: 1.0
|
286 |
+
mask_feature_length: 10
|
287 |
+
mask_feature_min_masks: 0
|
288 |
+
mask_feature_prob: 0.0
|
289 |
+
mask_time_length: 10
|
290 |
+
mask_time_min_masks: 2
|
291 |
+
mask_time_prob: 0.0
|
292 |
+
max_length: 20
|
293 |
+
min_length: 0
|
294 |
+
model_type: wav2vec2
|
295 |
+
no_repeat_ngram_size: 0
|
296 |
+
num_adapter_layers: 3
|
297 |
+
num_attention_heads: 16
|
298 |
+
num_beam_groups: 1
|
299 |
+
num_beams: 1
|
300 |
+
num_codevector_groups: 2
|
301 |
+
num_codevectors_per_group: 320
|
302 |
+
num_conv_pos_embedding_groups: 16
|
303 |
+
num_conv_pos_embeddings: 128
|
304 |
+
num_feat_extract_layers: 7
|
305 |
+
num_hidden_layers: 24
|
306 |
+
num_negatives: 100
|
307 |
+
num_return_sequences: 1
|
308 |
+
output_attentions: false
|
309 |
+
output_hidden_size: 1024
|
310 |
+
output_hidden_states: false
|
311 |
+
output_scores: false
|
312 |
+
pad_token_id: 0
|
313 |
+
prefix: null
|
314 |
+
problem_type: null
|
315 |
+
proj_codevector_dim: 768
|
316 |
+
pruned_heads: {}
|
317 |
+
remove_invalid_values: false
|
318 |
+
repetition_penalty: 1.0
|
319 |
+
return_dict: true
|
320 |
+
return_dict_in_generate: false
|
321 |
+
sep_token_id: null
|
322 |
+
task_specific_params: null
|
323 |
+
tdnn_dilation:
|
324 |
+
- 1
|
325 |
+
- 2
|
326 |
+
- 3
|
327 |
+
- 1
|
328 |
+
- 1
|
329 |
+
tdnn_dim:
|
330 |
+
- 512
|
331 |
+
- 512
|
332 |
+
- 512
|
333 |
+
- 512
|
334 |
+
- 1500
|
335 |
+
tdnn_kernel:
|
336 |
+
- 5
|
337 |
+
- 3
|
338 |
+
- 3
|
339 |
+
- 1
|
340 |
+
- 1
|
341 |
+
temperature: 1.0
|
342 |
+
tie_encoder_decoder: false
|
343 |
+
tie_word_embeddings: true
|
344 |
+
tokenizer_class: null
|
345 |
+
top_k: 50
|
346 |
+
top_p: 1.0
|
347 |
+
torch_dtype: null
|
348 |
+
torchscript: false
|
349 |
+
transformers_version: 4.17.0.dev0
|
350 |
+
use_bfloat16: false
|
351 |
+
use_weighted_layer_sum: false
|
352 |
+
vocab_size: 32
|
353 |
+
xvector_output_dim: 512
|
354 |
+
encoder_no_repeat_ngram_size:
|
355 |
+
desc: null
|
356 |
+
value: 0
|
357 |
+
eos_token_id:
|
358 |
+
desc: null
|
359 |
+
value: 102
|
360 |
+
eval_accumulation_steps:
|
361 |
+
desc: null
|
362 |
+
value: None
|
363 |
+
eval_batch_size:
|
364 |
+
desc: null
|
365 |
+
value: 8
|
366 |
+
eval_steps:
|
367 |
+
desc: null
|
368 |
+
value: 1500
|
369 |
+
evaluation_strategy:
|
370 |
+
desc: null
|
371 |
+
value: steps
|
372 |
+
finetuning_task:
|
373 |
+
desc: null
|
374 |
+
value: null
|
375 |
+
forced_bos_token_id:
|
376 |
+
desc: null
|
377 |
+
value: null
|
378 |
+
forced_eos_token_id:
|
379 |
+
desc: null
|
380 |
+
value: null
|
381 |
+
fp16:
|
382 |
+
desc: null
|
383 |
+
value: true
|
384 |
+
fp16_backend:
|
385 |
+
desc: null
|
386 |
+
value: auto
|
387 |
+
fp16_full_eval:
|
388 |
+
desc: null
|
389 |
+
value: false
|
390 |
+
fp16_opt_level:
|
391 |
+
desc: null
|
392 |
+
value: O1
|
393 |
+
generation_max_length:
|
394 |
+
desc: null
|
395 |
+
value: 40
|
396 |
+
generation_num_beams:
|
397 |
+
desc: null
|
398 |
+
value: 1
|
399 |
+
gradient_accumulation_steps:
|
400 |
+
desc: null
|
401 |
+
value: 4
|
402 |
+
gradient_checkpointing:
|
403 |
+
desc: null
|
404 |
+
value: true
|
405 |
+
greater_is_better:
|
406 |
+
desc: null
|
407 |
+
value: None
|
408 |
+
group_by_length:
|
409 |
+
desc: null
|
410 |
+
value: true
|
411 |
+
half_precision_backend:
|
412 |
+
desc: null
|
413 |
+
value: amp
|
414 |
+
hub_model_id:
|
415 |
+
desc: null
|
416 |
+
value: None
|
417 |
+
hub_strategy:
|
418 |
+
desc: null
|
419 |
+
value: every_save
|
420 |
+
hub_token:
|
421 |
+
desc: null
|
422 |
+
value: <HUB_TOKEN>
|
423 |
+
id2label:
|
424 |
+
desc: null
|
425 |
+
value:
|
426 |
+
'0': LABEL_0
|
427 |
+
'1': LABEL_1
|
428 |
+
ignore_data_skip:
|
429 |
+
desc: null
|
430 |
+
value: false
|
431 |
+
is_decoder:
|
432 |
+
desc: null
|
433 |
+
value: false
|
434 |
+
is_encoder_decoder:
|
435 |
+
desc: null
|
436 |
+
value: true
|
437 |
+
label2id:
|
438 |
+
desc: null
|
439 |
+
value:
|
440 |
+
LABEL_0: 0
|
441 |
+
LABEL_1: 1
|
442 |
+
label_names:
|
443 |
+
desc: null
|
444 |
+
value: None
|
445 |
+
label_smoothing_factor:
|
446 |
+
desc: null
|
447 |
+
value: 0.0
|
448 |
+
learning_rate:
|
449 |
+
desc: null
|
450 |
+
value: 3.0e-05
|
451 |
+
length_column_name:
|
452 |
+
desc: null
|
453 |
+
value: input_length
|
454 |
+
length_penalty:
|
455 |
+
desc: null
|
456 |
+
value: 1.0
|
457 |
+
load_best_model_at_end:
|
458 |
+
desc: null
|
459 |
+
value: false
|
460 |
+
local_rank:
|
461 |
+
desc: null
|
462 |
+
value: -1
|
463 |
+
log_level:
|
464 |
+
desc: null
|
465 |
+
value: -1
|
466 |
+
log_level_replica:
|
467 |
+
desc: null
|
468 |
+
value: -1
|
469 |
+
log_on_each_node:
|
470 |
+
desc: null
|
471 |
+
value: true
|
472 |
+
logging_dir:
|
473 |
+
desc: null
|
474 |
+
value: ./runs/Mar08_10-20-58_sanchit--v100
|
475 |
+
logging_first_step:
|
476 |
+
desc: null
|
477 |
+
value: false
|
478 |
+
logging_nan_inf_filter:
|
479 |
+
desc: null
|
480 |
+
value: true
|
481 |
+
logging_steps:
|
482 |
+
desc: null
|
483 |
+
value: 1
|
484 |
+
logging_strategy:
|
485 |
+
desc: null
|
486 |
+
value: steps
|
487 |
+
lr_scheduler_type:
|
488 |
+
desc: null
|
489 |
+
value: linear
|
490 |
+
max_grad_norm:
|
491 |
+
desc: null
|
492 |
+
value: 1.0
|
493 |
+
max_length:
|
494 |
+
desc: null
|
495 |
+
value: 50
|
496 |
+
max_steps:
|
497 |
+
desc: null
|
498 |
+
value: -1
|
499 |
+
metric_for_best_model:
|
500 |
+
desc: null
|
501 |
+
value: None
|
502 |
+
min_length:
|
503 |
+
desc: null
|
504 |
+
value: 0
|
505 |
+
model_type:
|
506 |
+
desc: null
|
507 |
+
value: speech-encoder-decoder
|
508 |
+
mp_parameters:
|
509 |
+
desc: null
|
510 |
+
value: ''
|
511 |
+
no_cuda:
|
512 |
+
desc: null
|
513 |
+
value: false
|
514 |
+
no_repeat_ngram_size:
|
515 |
+
desc: null
|
516 |
+
value: 0
|
517 |
+
num_beam_groups:
|
518 |
+
desc: null
|
519 |
+
value: 1
|
520 |
+
num_beams:
|
521 |
+
desc: null
|
522 |
+
value: 1
|
523 |
+
num_return_sequences:
|
524 |
+
desc: null
|
525 |
+
value: 1
|
526 |
+
num_train_epochs:
|
527 |
+
desc: null
|
528 |
+
value: 20.0
|
529 |
+
optim:
|
530 |
+
desc: null
|
531 |
+
value: adamw_hf
|
532 |
+
output_attentions:
|
533 |
+
desc: null
|
534 |
+
value: false
|
535 |
+
output_dir:
|
536 |
+
desc: null
|
537 |
+
value: ./
|
538 |
+
output_hidden_states:
|
539 |
+
desc: null
|
540 |
+
value: false
|
541 |
+
output_scores:
|
542 |
+
desc: null
|
543 |
+
value: false
|
544 |
+
overwrite_output_dir:
|
545 |
+
desc: null
|
546 |
+
value: true
|
547 |
+
pad_token_id:
|
548 |
+
desc: null
|
549 |
+
value: 0
|
550 |
+
past_index:
|
551 |
+
desc: null
|
552 |
+
value: -1
|
553 |
+
per_device_eval_batch_size:
|
554 |
+
desc: null
|
555 |
+
value: 8
|
556 |
+
per_device_train_batch_size:
|
557 |
+
desc: null
|
558 |
+
value: 8
|
559 |
+
per_gpu_eval_batch_size:
|
560 |
+
desc: null
|
561 |
+
value: None
|
562 |
+
per_gpu_train_batch_size:
|
563 |
+
desc: null
|
564 |
+
value: None
|
565 |
+
predict_with_generate:
|
566 |
+
desc: null
|
567 |
+
value: true
|
568 |
+
prediction_loss_only:
|
569 |
+
desc: null
|
570 |
+
value: false
|
571 |
+
prefix:
|
572 |
+
desc: null
|
573 |
+
value: null
|
574 |
+
problem_type:
|
575 |
+
desc: null
|
576 |
+
value: null
|
577 |
+
processor_class:
|
578 |
+
desc: null
|
579 |
+
value: Wav2Vec2Processor
|
580 |
+
pruned_heads:
|
581 |
+
desc: null
|
582 |
+
value: {}
|
583 |
+
push_to_hub:
|
584 |
+
desc: null
|
585 |
+
value: true
|
586 |
+
push_to_hub_model_id:
|
587 |
+
desc: null
|
588 |
+
value: None
|
589 |
+
push_to_hub_organization:
|
590 |
+
desc: null
|
591 |
+
value: None
|
592 |
+
push_to_hub_token:
|
593 |
+
desc: null
|
594 |
+
value: <PUSH_TO_HUB_TOKEN>
|
595 |
+
remove_invalid_values:
|
596 |
+
desc: null
|
597 |
+
value: false
|
598 |
+
remove_unused_columns:
|
599 |
+
desc: null
|
600 |
+
value: true
|
601 |
+
repetition_penalty:
|
602 |
+
desc: null
|
603 |
+
value: 1.0
|
604 |
+
report_to:
|
605 |
+
desc: null
|
606 |
+
value: '[''tensorboard'', ''wandb'']'
|
607 |
+
resume_from_checkpoint:
|
608 |
+
desc: null
|
609 |
+
value: None
|
610 |
+
return_dict:
|
611 |
+
desc: null
|
612 |
+
value: true
|
613 |
+
return_dict_in_generate:
|
614 |
+
desc: null
|
615 |
+
value: false
|
616 |
+
run_name:
|
617 |
+
desc: null
|
618 |
+
value: ./
|
619 |
+
save_on_each_node:
|
620 |
+
desc: null
|
621 |
+
value: false
|
622 |
+
save_steps:
|
623 |
+
desc: null
|
624 |
+
value: 1500
|
625 |
+
save_strategy:
|
626 |
+
desc: null
|
627 |
+
value: steps
|
628 |
+
save_total_limit:
|
629 |
+
desc: null
|
630 |
+
value: 1
|
631 |
+
seed:
|
632 |
+
desc: null
|
633 |
+
value: 42
|
634 |
+
sep_token_id:
|
635 |
+
desc: null
|
636 |
+
value: null
|
637 |
+
sharded_ddp:
|
638 |
+
desc: null
|
639 |
+
value: '[]'
|
640 |
+
skip_memory_metrics:
|
641 |
+
desc: null
|
642 |
+
value: true
|
643 |
+
sortish_sampler:
|
644 |
+
desc: null
|
645 |
+
value: false
|
646 |
+
task_specific_params:
|
647 |
+
desc: null
|
648 |
+
value: null
|
649 |
+
temperature:
|
650 |
+
desc: null
|
651 |
+
value: 1.0
|
652 |
+
tf32:
|
653 |
+
desc: null
|
654 |
+
value: None
|
655 |
+
tie_encoder_decoder:
|
656 |
+
desc: null
|
657 |
+
value: false
|
658 |
+
tie_word_embeddings:
|
659 |
+
desc: null
|
660 |
+
value: false
|
661 |
+
tokenizer_class:
|
662 |
+
desc: null
|
663 |
+
value: null
|
664 |
+
top_k:
|
665 |
+
desc: null
|
666 |
+
value: 50
|
667 |
+
top_p:
|
668 |
+
desc: null
|
669 |
+
value: 1.0
|
670 |
+
torch_dtype:
|
671 |
+
desc: null
|
672 |
+
value: torch.float32
|
673 |
+
torchscript:
|
674 |
+
desc: null
|
675 |
+
value: false
|
676 |
+
tpu_metrics_debug:
|
677 |
+
desc: null
|
678 |
+
value: false
|
679 |
+
tpu_num_cores:
|
680 |
+
desc: null
|
681 |
+
value: None
|
682 |
+
train_batch_size:
|
683 |
+
desc: null
|
684 |
+
value: 8
|
685 |
+
transformers_version:
|
686 |
+
desc: null
|
687 |
+
value: null
|
688 |
+
use_bfloat16:
|
689 |
+
desc: null
|
690 |
+
value: false
|
691 |
+
use_cache:
|
692 |
+
desc: null
|
693 |
+
value: false
|
694 |
+
use_legacy_prediction_loop:
|
695 |
+
desc: null
|
696 |
+
value: false
|
697 |
+
warmup_ratio:
|
698 |
+
desc: null
|
699 |
+
value: 0.0
|
700 |
+
warmup_steps:
|
701 |
+
desc: null
|
702 |
+
value: 1000
|
703 |
+
weight_decay:
|
704 |
+
desc: null
|
705 |
+
value: 0.0
|
706 |
+
xpu_backend:
|
707 |
+
desc: null
|
708 |
+
value: None
|
wandb/run-20220308_102127-2todcy4h/files/output.log
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
0%| | 0/17840 [00:00<?, ?it/s][WARNING|modeling_utils.py:388] 2022-03-08 10:21:30,823 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
4 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:32,522 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
5 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:34,202 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
6 |
+
{'loss': 10.4942, 'learning_rate': 3.0000000000000004e-08, 'epoch': 0.0}
|
7 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:35,849 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
8 |
+
|
9 |
+
0%| | 1/17840 [00:07<36:27:24, 7.36s/it][WARNING|modeling_utils.py:388] 2022-03-08 10:21:37,685 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
10 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:39,326 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
11 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:40,923 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
12 |
+
{'loss': 10.5135, 'learning_rate': 6.000000000000001e-08, 'epoch': 0.0}
|
13 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:42,502 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
14 |
+
0%| | 2/17840 [00:13<34:15:27, 6.91s/it][WARNING|modeling_utils.py:388] 2022-03-08 10:21:44,157 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
15 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:45,762 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
16 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:47,334 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
17 |
+
{'loss': 10.5039, 'learning_rate': 9e-08, 'epoch': 0.0}
|
18 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:48,878 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
19 |
+
0%| | 3/17840 [00:20<33:02:24, 6.67s/it][WARNING|modeling_utils.py:388] 2022-03-08 10:21:50,478 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
20 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:52,024 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
21 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:53,554 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
22 |
+
{'loss': 10.487, 'learning_rate': 1.2000000000000002e-07, 'epoch': 0.0}
|
23 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:55,123 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
24 |
+
0%| | 4/17840 [00:26<32:12:25, 6.50s/it][WARNING|modeling_utils.py:388] 2022-03-08 10:21:56,778 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
25 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:58,365 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
26 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:21:59,880 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
27 |
+
{'loss': 10.5398, 'learning_rate': 1.5000000000000002e-07, 'epoch': 0.01}
|
28 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:22:01,455 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
29 |
+
0%| | 5/17840 [00:32<31:54:14, 6.44s/it][WARNING|modeling_utils.py:388] 2022-03-08 10:22:03,071 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
30 |
+
[WARNING|modeling_utils.py:388] 2022-03-08 10:22:04,655 >> Could not estimate the number of tokens of the input, floating-point operations will not be computed
|
wandb/run-20220308_102127-2todcy4h/files/requirements.txt
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.0.0
|
2 |
+
aiohttp==3.8.1
|
3 |
+
aiosignal==1.2.0
|
4 |
+
anyio==3.5.0
|
5 |
+
appdirs==1.4.4
|
6 |
+
argon2-cffi-bindings==21.2.0
|
7 |
+
argon2-cffi==21.3.0
|
8 |
+
asttokens==2.0.5
|
9 |
+
async-timeout==4.0.2
|
10 |
+
attrs==21.4.0
|
11 |
+
audioread==2.1.9
|
12 |
+
babel==2.9.1
|
13 |
+
backcall==0.2.0
|
14 |
+
bitsandbytes-cuda113==0.26.0
|
15 |
+
black==22.1.0
|
16 |
+
bleach==4.1.0
|
17 |
+
cachetools==5.0.0
|
18 |
+
certifi==2021.10.8
|
19 |
+
cffi==1.15.0
|
20 |
+
charset-normalizer==2.0.11
|
21 |
+
chex==0.1.0
|
22 |
+
click==8.0.3
|
23 |
+
clldutils==3.10.1
|
24 |
+
colorlog==6.6.0
|
25 |
+
csvw==1.11.0
|
26 |
+
cycler==0.11.0
|
27 |
+
datasets==1.18.3
|
28 |
+
debugpy==1.5.1
|
29 |
+
decorator==5.1.1
|
30 |
+
defusedxml==0.7.1
|
31 |
+
dill==0.3.4
|
32 |
+
dlinfo==1.2.1
|
33 |
+
dm-tree==0.1.6
|
34 |
+
docker-pycreds==0.4.0
|
35 |
+
entrypoints==0.4
|
36 |
+
executing==0.8.2
|
37 |
+
filelock==3.4.2
|
38 |
+
flatbuffers==2.0
|
39 |
+
flax==0.4.0
|
40 |
+
fonttools==4.29.1
|
41 |
+
frozenlist==1.3.0
|
42 |
+
fsspec==2022.1.0
|
43 |
+
gitdb==4.0.9
|
44 |
+
gitpython==3.1.27
|
45 |
+
google-auth-oauthlib==0.4.6
|
46 |
+
google-auth==2.6.0
|
47 |
+
grpcio==1.43.0
|
48 |
+
huggingface-hub==0.4.0
|
49 |
+
hypothesis==6.36.1
|
50 |
+
idna==3.3
|
51 |
+
importlib-metadata==4.10.1
|
52 |
+
ipykernel==6.8.0
|
53 |
+
ipython-genutils==0.2.0
|
54 |
+
ipython==8.0.1
|
55 |
+
ipywidgets==7.6.5
|
56 |
+
isodate==0.6.1
|
57 |
+
jax==0.2.28
|
58 |
+
jaxlib==0.1.76+cuda11.cudnn82
|
59 |
+
jedi==0.18.1
|
60 |
+
jinja2==3.0.3
|
61 |
+
jiwer==2.3.0
|
62 |
+
joblib==1.1.0
|
63 |
+
json5==0.9.6
|
64 |
+
jsonschema==4.4.0
|
65 |
+
jupyter-client==7.1.2
|
66 |
+
jupyter-console==6.4.0
|
67 |
+
jupyter-core==4.9.1
|
68 |
+
jupyter-server==1.13.5
|
69 |
+
jupyter==1.0.0
|
70 |
+
jupyterlab-pygments==0.1.2
|
71 |
+
jupyterlab-server==2.10.3
|
72 |
+
jupyterlab-widgets==1.0.2
|
73 |
+
jupyterlab==3.2.9
|
74 |
+
kiwisolver==1.3.2
|
75 |
+
librosa==0.8.1
|
76 |
+
llvmlite==0.38.0
|
77 |
+
markdown==3.3.6
|
78 |
+
markupsafe==2.0.1
|
79 |
+
matplotlib-inline==0.1.3
|
80 |
+
matplotlib==3.5.1
|
81 |
+
mistune==0.8.4
|
82 |
+
msgpack==1.0.3
|
83 |
+
multidict==6.0.2
|
84 |
+
multiprocess==0.70.12.2
|
85 |
+
mypy-extensions==0.4.3
|
86 |
+
nbclassic==0.3.5
|
87 |
+
nbclient==0.5.10
|
88 |
+
nbconvert==6.4.1
|
89 |
+
nbformat==5.1.3
|
90 |
+
nest-asyncio==1.5.4
|
91 |
+
notebook==6.4.8
|
92 |
+
numba==0.55.1
|
93 |
+
numpy==1.21.5
|
94 |
+
oauthlib==3.2.0
|
95 |
+
opt-einsum==3.3.0
|
96 |
+
optax==0.1.0
|
97 |
+
packaging==21.3
|
98 |
+
pandas==1.4.0
|
99 |
+
pandocfilters==1.5.0
|
100 |
+
parso==0.8.3
|
101 |
+
pathspec==0.9.0
|
102 |
+
pathtools==0.1.2
|
103 |
+
pexpect==4.8.0
|
104 |
+
phonemizer==3.0.1
|
105 |
+
pickleshare==0.7.5
|
106 |
+
pillow==9.0.0
|
107 |
+
pip==22.0.2
|
108 |
+
pkg-resources==0.0.0
|
109 |
+
platformdirs==2.4.1
|
110 |
+
pooch==1.6.0
|
111 |
+
prometheus-client==0.13.1
|
112 |
+
promise==2.3
|
113 |
+
prompt-toolkit==3.0.26
|
114 |
+
protobuf==3.19.4
|
115 |
+
psutil==5.9.0
|
116 |
+
ptyprocess==0.7.0
|
117 |
+
pure-eval==0.2.2
|
118 |
+
pyarrow==6.0.1
|
119 |
+
pyasn1-modules==0.2.8
|
120 |
+
pyasn1==0.4.8
|
121 |
+
pycparser==2.21
|
122 |
+
pyctcdecode==0.3.0
|
123 |
+
pygments==2.11.2
|
124 |
+
pygtrie==2.4.2
|
125 |
+
pyparsing==3.0.7
|
126 |
+
pyrsistent==0.18.1
|
127 |
+
python-dateutil==2.8.2
|
128 |
+
python-levenshtein==0.12.2
|
129 |
+
pytz==2021.3
|
130 |
+
pyyaml==6.0
|
131 |
+
pyzmq==22.3.0
|
132 |
+
qtconsole==5.2.2
|
133 |
+
qtpy==2.0.1
|
134 |
+
regex==2022.1.18
|
135 |
+
requests-oauthlib==1.3.1
|
136 |
+
requests==2.27.1
|
137 |
+
resampy==0.2.2
|
138 |
+
rfc3986==2.0.0
|
139 |
+
rsa==4.8
|
140 |
+
sacremoses==0.0.47
|
141 |
+
scikit-learn==1.0.2
|
142 |
+
scipy==1.7.3
|
143 |
+
segments==2.2.0
|
144 |
+
send2trash==1.8.0
|
145 |
+
sentry-sdk==1.5.6
|
146 |
+
setuptools==44.1.1
|
147 |
+
shortuuid==1.0.8
|
148 |
+
six==1.16.0
|
149 |
+
smmap==5.0.0
|
150 |
+
sniffio==1.2.0
|
151 |
+
sortedcontainers==2.4.0
|
152 |
+
soundfile==0.10.3.post1
|
153 |
+
stack-data==0.1.4
|
154 |
+
tabulate==0.8.9
|
155 |
+
tensorboard-data-server==0.6.1
|
156 |
+
tensorboard-plugin-wit==1.8.1
|
157 |
+
tensorboard==2.8.0
|
158 |
+
termcolor==1.1.0
|
159 |
+
terminado==0.13.1
|
160 |
+
testpath==0.5.0
|
161 |
+
threadpoolctl==3.1.0
|
162 |
+
tokenizers==0.11.4
|
163 |
+
tomli==2.0.0
|
164 |
+
toolz==0.11.2
|
165 |
+
torch==1.10.2+cu113
|
166 |
+
torchaudio==0.10.2+cu113
|
167 |
+
tornado==6.1
|
168 |
+
tqdm==4.62.3
|
169 |
+
traitlets==5.1.1
|
170 |
+
transformers==4.17.0.dev0
|
171 |
+
typing-extensions==3.10.0.2
|
172 |
+
uritemplate==4.1.1
|
173 |
+
urllib3==1.26.8
|
174 |
+
wandb==0.12.10
|
175 |
+
wcwidth==0.2.5
|
176 |
+
webencodings==0.5.1
|
177 |
+
websocket-client==1.2.3
|
178 |
+
werkzeug==2.0.2
|
179 |
+
wheel==0.37.1
|
180 |
+
widgetsnbextension==3.5.2
|
181 |
+
xxhash==2.0.2
|
182 |
+
yarl==1.7.2
|
183 |
+
yaspin==2.1.0
|
184 |
+
zipp==3.7.0
|
wandb/run-20220308_102127-2todcy4h/files/wandb-metadata.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"os": "Linux-5.11.0-1028-gcp-x86_64-with-glibc2.33",
|
3 |
+
"python": "3.9.5",
|
4 |
+
"heartbeatAt": "2022-03-08T10:21:28.475107",
|
5 |
+
"startedAt": "2022-03-08T10:21:27.352899",
|
6 |
+
"docker": null,
|
7 |
+
"gpu": "Tesla V100-SXM2-16GB",
|
8 |
+
"gpu_count": 2,
|
9 |
+
"cpu_count": 16,
|
10 |
+
"cuda": null,
|
11 |
+
"args": [
|
12 |
+
"--dataset_name=librispeech_asr",
|
13 |
+
"--model_name_or_path=./",
|
14 |
+
"--tokenizer_name=./",
|
15 |
+
"--dataset_config_name=clean",
|
16 |
+
"--train_split_name=train.100",
|
17 |
+
"--eval_split_name=validation",
|
18 |
+
"--output_dir=./",
|
19 |
+
"--preprocessing_num_workers=1",
|
20 |
+
"--length_column_name=input_length",
|
21 |
+
"--overwrite_output_dir",
|
22 |
+
"--num_train_epochs=20",
|
23 |
+
"--per_device_train_batch_size=8",
|
24 |
+
"--per_device_eval_batch_size=8",
|
25 |
+
"--gradient_accumulation_steps=4",
|
26 |
+
"--generation_max_length=40",
|
27 |
+
"--generation_num_beams=1",
|
28 |
+
"--learning_rate=3e-5",
|
29 |
+
"--warmup_steps=1000",
|
30 |
+
"--evaluation_strategy=steps",
|
31 |
+
"--text_column_name=text",
|
32 |
+
"--save_steps=1500",
|
33 |
+
"--eval_steps=1500",
|
34 |
+
"--logging_steps=1",
|
35 |
+
"--save_total_limit=1",
|
36 |
+
"--freeze_feature_encoder",
|
37 |
+
"--gradient_checkpointing",
|
38 |
+
"--fp16",
|
39 |
+
"--group_by_length",
|
40 |
+
"--predict_with_generate",
|
41 |
+
"--do_lower_case",
|
42 |
+
"--do_eval",
|
43 |
+
"--do_train",
|
44 |
+
"--push_to_hub",
|
45 |
+
"--use_auth_token"
|
46 |
+
],
|
47 |
+
"state": "running",
|
48 |
+
"program": "/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/run_speech_recognition_seq2seq.py",
|
49 |
+
"codePath": "run_speech_recognition_seq2seq.py",
|
50 |
+
"git": {
|
51 |
+
"remote": "https://huggingface.co/sanchit-gandhi/wav2vec2-2-rnd-2-layer",
|
52 |
+
"commit": "dc19a5f957f0a6e0997490e697e088e8f3ce31ea"
|
53 |
+
},
|
54 |
+
"email": "[email protected]",
|
55 |
+
"root": "/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer",
|
56 |
+
"host": "sanchit--v100",
|
57 |
+
"username": "sanchit_huggingface_co",
|
58 |
+
"executable": "/home/sanchit_huggingface_co/gcp/bin/python"
|
59 |
+
}
|
wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"train/loss": 10.4504, "train/learning_rate": 1.8e-07, "train/epoch": 0.01, "train/global_step": 6, "_runtime": 40, "_timestamp": 1646734927, "_step": 5}
|
wandb/run-20220308_102127-2todcy4h/logs/debug-internal.log
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2022-03-08 10:21:28,209 INFO MainThread:1585399 [internal.py:wandb_internal():89] W&B internal server running at pid: 1585399, started at: 2022-03-08 10:21:28.209146
|
2 |
+
2022-03-08 10:21:28,212 DEBUG HandlerThread:1585399 [handler.py:handle_request():131] handle_request: check_version
|
3 |
+
2022-03-08 10:21:28,212 INFO WriterThread:1585399 [datastore.py:open_for_write():77] open: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/run-2todcy4h.wandb
|
4 |
+
2022-03-08 10:21:28,213 DEBUG SenderThread:1585399 [sender.py:send():235] send: header
|
5 |
+
2022-03-08 10:21:28,213 DEBUG SenderThread:1585399 [sender.py:send_request():249] send_request: check_version
|
6 |
+
2022-03-08 10:21:28,283 DEBUG SenderThread:1585399 [sender.py:send():235] send: run
|
7 |
+
2022-03-08 10:21:28,384 INFO SenderThread:1585399 [dir_watcher.py:__init__():169] watching files in: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files
|
8 |
+
2022-03-08 10:21:28,384 INFO SenderThread:1585399 [sender.py:_start_run_threads():809] run started: 2todcy4h with start time 1646734887
|
9 |
+
2022-03-08 10:21:28,384 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
10 |
+
2022-03-08 10:21:28,384 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
11 |
+
2022-03-08 10:21:28,385 DEBUG HandlerThread:1585399 [handler.py:handle_request():131] handle_request: run_start
|
12 |
+
2022-03-08 10:21:28,474 DEBUG HandlerThread:1585399 [meta.py:__init__():36] meta init
|
13 |
+
2022-03-08 10:21:28,475 DEBUG HandlerThread:1585399 [meta.py:__init__():50] meta init done
|
14 |
+
2022-03-08 10:21:28,475 DEBUG HandlerThread:1585399 [meta.py:probe():210] probe
|
15 |
+
2022-03-08 10:21:28,481 DEBUG HandlerThread:1585399 [meta.py:_setup_git():200] setup git
|
16 |
+
2022-03-08 10:21:28,495 DEBUG HandlerThread:1585399 [meta.py:_setup_git():207] setup git done
|
17 |
+
2022-03-08 10:21:28,495 DEBUG HandlerThread:1585399 [meta.py:_save_pip():54] save pip
|
18 |
+
2022-03-08 10:21:28,496 DEBUG HandlerThread:1585399 [meta.py:_save_pip():68] save pip done
|
19 |
+
2022-03-08 10:21:28,496 DEBUG HandlerThread:1585399 [meta.py:probe():248] probe done
|
20 |
+
2022-03-08 10:21:28,575 DEBUG SenderThread:1585399 [sender.py:send():235] send: files
|
21 |
+
2022-03-08 10:21:28,575 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-metadata.json with policy now
|
22 |
+
2022-03-08 10:21:28,580 DEBUG HandlerThread:1585399 [handler.py:handle_request():131] handle_request: stop_status
|
23 |
+
2022-03-08 10:21:28,580 DEBUG SenderThread:1585399 [sender.py:send_request():249] send_request: stop_status
|
24 |
+
2022-03-08 10:21:28,614 DEBUG SenderThread:1585399 [sender.py:send():235] send: config
|
25 |
+
2022-03-08 10:21:28,615 DEBUG SenderThread:1585399 [sender.py:send():235] send: metric
|
26 |
+
2022-03-08 10:21:28,615 DEBUG SenderThread:1585399 [sender.py:send():235] send: metric
|
27 |
+
2022-03-08 10:21:28,615 WARNING SenderThread:1585399 [sender.py:send_metric():902] Seen metric with glob (shouldnt happen)
|
28 |
+
2022-03-08 10:21:28,836 INFO Thread-11 :1585399 [upload_job.py:push():137] Uploaded file /tmp/tmpipa_cxqiwandb/1a7m0p29-wandb-metadata.json
|
29 |
+
2022-03-08 10:21:29,385 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_created():217] file/dir created: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
30 |
+
2022-03-08 10:21:29,385 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_created():217] file/dir created: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
31 |
+
2022-03-08 10:21:29,386 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_created():217] file/dir created: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-metadata.json
|
32 |
+
2022-03-08 10:21:29,386 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_created():217] file/dir created: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/requirements.txt
|
33 |
+
2022-03-08 10:21:31,385 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
34 |
+
2022-03-08 10:21:33,385 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
35 |
+
2022-03-08 10:21:35,386 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
36 |
+
2022-03-08 10:21:35,956 DEBUG SenderThread:1585399 [sender.py:send():235] send: metric
|
37 |
+
2022-03-08 10:21:35,957 DEBUG SenderThread:1585399 [sender.py:send():235] send: metric
|
38 |
+
2022-03-08 10:21:35,957 DEBUG SenderThread:1585399 [sender.py:send():235] send: metric
|
39 |
+
2022-03-08 10:21:35,957 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
40 |
+
2022-03-08 10:21:35,957 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
41 |
+
2022-03-08 10:21:35,957 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
42 |
+
2022-03-08 10:21:36,386 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
43 |
+
2022-03-08 10:21:37,387 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
44 |
+
2022-03-08 10:21:39,387 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
45 |
+
2022-03-08 10:21:41,388 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
46 |
+
2022-03-08 10:21:42,560 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
47 |
+
2022-03-08 10:21:42,560 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
48 |
+
2022-03-08 10:21:42,561 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
49 |
+
2022-03-08 10:21:43,389 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
50 |
+
2022-03-08 10:21:43,389 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
51 |
+
2022-03-08 10:21:43,811 DEBUG HandlerThread:1585399 [handler.py:handle_request():131] handle_request: stop_status
|
52 |
+
2022-03-08 10:21:43,812 DEBUG SenderThread:1585399 [sender.py:send_request():249] send_request: stop_status
|
53 |
+
2022-03-08 10:21:45,390 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
54 |
+
2022-03-08 10:21:47,390 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
55 |
+
2022-03-08 10:21:49,020 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
56 |
+
2022-03-08 10:21:49,021 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
57 |
+
2022-03-08 10:21:49,021 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
58 |
+
2022-03-08 10:21:49,391 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
59 |
+
2022-03-08 10:21:49,391 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
60 |
+
2022-03-08 10:21:51,392 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
61 |
+
2022-03-08 10:21:53,392 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
62 |
+
2022-03-08 10:21:55,180 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
63 |
+
2022-03-08 10:21:55,181 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
64 |
+
2022-03-08 10:21:55,181 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
65 |
+
2022-03-08 10:21:55,393 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
66 |
+
2022-03-08 10:21:55,393 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
67 |
+
2022-03-08 10:21:57,322 DEBUG SenderThread:1585399 [sender.py:send():235] send: stats
|
68 |
+
2022-03-08 10:21:57,394 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
69 |
+
2022-03-08 10:21:58,861 DEBUG HandlerThread:1585399 [handler.py:handle_request():131] handle_request: stop_status
|
70 |
+
2022-03-08 10:21:58,861 DEBUG SenderThread:1585399 [sender.py:send_request():249] send_request: stop_status
|
71 |
+
2022-03-08 10:21:59,394 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/config.yaml
|
72 |
+
2022-03-08 10:21:59,395 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
73 |
+
2022-03-08 10:22:01,395 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
74 |
+
2022-03-08 10:22:01,511 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
75 |
+
2022-03-08 10:22:01,512 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
76 |
+
2022-03-08 10:22:01,512 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
77 |
+
2022-03-08 10:22:02,395 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
78 |
+
2022-03-08 10:22:03,396 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
79 |
+
2022-03-08 10:22:04,396 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
80 |
+
2022-03-08 10:22:06,397 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
81 |
+
2022-03-08 10:22:07,752 DEBUG SenderThread:1585399 [sender.py:send():235] send: history
|
82 |
+
2022-03-08 10:22:07,752 DEBUG SenderThread:1585399 [sender.py:send():235] send: summary
|
83 |
+
2022-03-08 10:22:07,753 INFO SenderThread:1585399 [sender.py:_save_file():944] saving file wandb-summary.json with policy end
|
84 |
+
2022-03-08 10:22:08,255 WARNING MainThread:1585399 [internal.py:wandb_internal():152] Internal process interrupt: 1
|
85 |
+
2022-03-08 10:22:08,397 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/wandb-summary.json
|
86 |
+
2022-03-08 10:22:08,397 INFO Thread-8 :1585399 [dir_watcher.py:_on_file_modified():230] file/dir modified: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/files/output.log
|
87 |
+
2022-03-08 10:22:08,403 WARNING MainThread:1585399 [internal.py:wandb_internal():152] Internal process interrupt: 2
|
88 |
+
2022-03-08 10:22:08,403 ERROR MainThread:1585399 [internal.py:wandb_internal():155] Internal process interrupted.
|
89 |
+
2022-03-08 10:22:08,753 INFO WriterThread:1585399 [datastore.py:close():281] close: /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/run-2todcy4h.wandb
|
90 |
+
2022-03-08 10:22:08,753 INFO SenderThread:1585399 [sender.py:finish():1075] shutting down sender
|
91 |
+
2022-03-08 10:22:08,753 INFO SenderThread:1585399 [dir_watcher.py:finish():283] shutting down directory watcher
|
92 |
+
2022-03-08 10:22:08,766 INFO MainThread:1585399 [internal.py:handle_exit():79] Internal process exited
|
wandb/run-20220308_102127-2todcy4h/logs/debug.log
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_setup.py:_flush():75] Loading settings from /home/sanchit_huggingface_co/.config/wandb/settings
|
2 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_setup.py:_flush():75] Loading settings from /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/settings
|
3 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_setup.py:_flush():75] Loading settings from environment variables: {}
|
4 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_setup.py:_flush():75] Inferring run settings from compute environment: {'program_relpath': 'run_speech_recognition_seq2seq.py', 'program': '/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/run_speech_recognition_seq2seq.py'}
|
5 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_init.py:_log_setup():386] Logging user logs to /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/logs/debug.log
|
6 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_init.py:_log_setup():387] Logging internal logs to /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102127-2todcy4h/logs/debug-internal.log
|
7 |
+
2022-03-08 10:21:27,354 INFO MainThread:1584958 [wandb_init.py:init():420] calling init triggers
|
8 |
+
2022-03-08 10:21:27,355 INFO MainThread:1584958 [wandb_init.py:init():425] wandb.init called with sweep_config: {}
|
9 |
+
config: {}
|
10 |
+
2022-03-08 10:21:27,355 INFO MainThread:1584958 [wandb_init.py:init():471] starting backend
|
11 |
+
2022-03-08 10:21:27,355 INFO MainThread:1584958 [backend.py:_multiprocessing_setup():99] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
|
12 |
+
2022-03-08 10:21:27,393 INFO MainThread:1584958 [backend.py:ensure_launched():219] starting backend process...
|
13 |
+
2022-03-08 10:21:27,429 INFO MainThread:1584958 [backend.py:ensure_launched():224] started backend process with pid: 1585399
|
14 |
+
2022-03-08 10:21:27,431 INFO MainThread:1584958 [wandb_init.py:init():480] backend started and connected
|
15 |
+
2022-03-08 10:21:27,440 INFO MainThread:1584958 [wandb_init.py:init():550] updated telemetry
|
16 |
+
2022-03-08 10:21:27,524 INFO MainThread:1584958 [wandb_init.py:init():581] communicating current version
|
17 |
+
2022-03-08 10:21:28,282 INFO MainThread:1584958 [wandb_init.py:init():586] got version response upgrade_message: "wandb version 0.12.11 is available! To upgrade, please run:\n $ pip install wandb --upgrade"
|
18 |
+
|
19 |
+
2022-03-08 10:21:28,282 INFO MainThread:1584958 [wandb_init.py:init():596] communicating run to backend with 30 second timeout
|
20 |
+
2022-03-08 10:21:28,384 INFO MainThread:1584958 [wandb_init.py:init():624] starting run threads in backend
|
21 |
+
2022-03-08 10:21:28,580 INFO MainThread:1584958 [wandb_run.py:_console_start():1827] atexit reg
|
22 |
+
2022-03-08 10:21:28,580 INFO MainThread:1584958 [wandb_run.py:_redirect():1701] redirect: SettingsConsole.REDIRECT
|
23 |
+
2022-03-08 10:21:28,581 INFO MainThread:1584958 [wandb_run.py:_redirect():1706] Redirecting console.
|
24 |
+
2022-03-08 10:21:28,582 INFO MainThread:1584958 [wandb_run.py:_redirect():1762] Redirects installed.
|
25 |
+
2022-03-08 10:21:28,582 INFO MainThread:1584958 [wandb_init.py:init():651] run started, returning control to user process
|
26 |
+
2022-03-08 10:21:28,584 INFO MainThread:1584958 [wandb_run.py:_config_callback():966] config_cb None None {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'torch.float32', 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': False, 'is_encoder_decoder': True, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 50, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['SpeechEncoderDecoderModel'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': None, 'pad_token_id': 0, 'eos_token_id': 102, 'sep_token_id': None, 'decoder_start_token_id': 101, 'task_specific_params': None, 'problem_type': None, '_name_or_path': './', 'transformers_version': None, 'decoder': {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'float32', 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': True, 'is_encoder_decoder': False, 'is_decoder': True, 'cross_attention_hidden_size': None, 'add_cross_attention': True, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['BertLMHeadModel'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': None, 'pad_token_id': 0, 'eos_token_id': None, 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'decoder', 'transformers_version': '4.17.0.dev0', 'gradient_checkpointing': False, 'vocab_size': 30522, 'hidden_size': 1024, 'num_hidden_layers': 2, 'num_attention_heads': 16, 'hidden_act': 'gelu', 'intermediate_size': 4096, 'hidden_dropout_prob': 0.1, 'attention_probs_dropout_prob': 0.0, 'max_position_embeddings': 512, 'type_vocab_size': 2, 'initializer_range': 0.02, 'layer_norm_eps': 1e-12, 'position_embedding_type': 'absolute', 'use_cache': False, 'classifier_dropout': None, 'model_type': 'bert'}, 'encoder': {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': None, 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': True, 'is_encoder_decoder': False, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['Wav2Vec2ForPreTraining'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': 1, 'pad_token_id': 0, 'eos_token_id': 2, 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'facebook/wav2vec2-large-lv60', 'transformers_version': '4.17.0.dev0', 'feat_extract_dropout': 0.0, 'gradient_checkpointing': False, 'hidden_dropout_prob': 0.0, 'num_feat_extract_layers': 7, 'hidden_size': 1024, 'feat_extract_norm': 'layer', 'feat_extract_activation': 'gelu', 'conv_dim': [512, 512, 512, 512, 512, 512, 512], 'conv_stride': [5, 2, 2, 2, 2, 2, 2], 'conv_kernel': [10, 3, 3, 3, 3, 2, 2], 'conv_bias': True, 'num_conv_pos_embeddings': 128, 'num_conv_pos_embedding_groups': 16, 'num_hidden_layers': 24, 'intermediate_size': 4096, 'hidden_act': 'gelu', 'num_attention_heads': 16, 'hidden_dropout': 0.0, 'attention_dropout': 0.0, 'activation_dropout': 0.0, 'feat_proj_dropout': 0.0, 'final_dropout': 0.0, 'layerdrop': 0.0, 'layer_norm_eps': 1e-05, 'initializer_range': 0.02, 'vocab_size': 32, 'do_stable_layer_norm': True, 'use_weighted_layer_sum': False, 'apply_spec_augment': False, 'mask_time_prob': 0.0, 'mask_time_length': 10, 'mask_time_min_masks': 2, 'mask_feature_prob': 0.0, 'mask_feature_length': 10, 'mask_feature_min_masks': 0, 'num_codevectors_per_group': 320, 'num_codevector_groups': 2, 'contrastive_logits_temperature': 0.1, 'feat_quantizer_dropout': 0.0, 'num_negatives': 100, 'codevector_dim': 768, 'proj_codevector_dim': 768, 'diversity_loss_weight': 0.1, 'ctc_loss_reduction': 'sum', 'ctc_zero_infinity': False, 'add_adapter': True, 'adapter_kernel_size': 3, 'adapter_stride': 2, 'num_adapter_layers': 3, 'output_hidden_size': 1024, 'classifier_proj_size': 256, 'tdnn_dim': [512, 512, 512, 512, 1500], 'tdnn_kernel': [5, 3, 3, 1, 1], 'tdnn_dilation': [1, 2, 3, 1, 1], 'xvector_output_dim': 512, 'model_type': 'wav2vec2'}, 'model_type': 'speech-encoder-decoder', 'processor_class': 'Wav2Vec2Processor', 'use_cache': False, 'output_dir': './', 'overwrite_output_dir': True, 'do_train': True, 'do_eval': True, 'do_predict': False, 'evaluation_strategy': 'steps', 'prediction_loss_only': False, 'per_device_train_batch_size': 8, 'per_device_eval_batch_size': 8, 'per_gpu_train_batch_size': 'None', 'per_gpu_eval_batch_size': 'None', 'gradient_accumulation_steps': 4, 'eval_accumulation_steps': 'None', 'learning_rate': 3e-05, 'weight_decay': 0.0, 'adam_beta1': 0.9, 'adam_beta2': 0.999, 'adam_epsilon': 1e-08, 'max_grad_norm': 1.0, 'num_train_epochs': 20.0, 'max_steps': -1, 'lr_scheduler_type': 'linear', 'warmup_ratio': 0.0, 'warmup_steps': 1000, 'log_level': -1, 'log_level_replica': -1, 'log_on_each_node': True, 'logging_dir': './runs/Mar08_10-20-58_sanchit--v100', 'logging_strategy': 'steps', 'logging_first_step': False, 'logging_steps': 1, 'logging_nan_inf_filter': True, 'save_strategy': 'steps', 'save_steps': 1500, 'save_total_limit': 1, 'save_on_each_node': False, 'no_cuda': False, 'seed': 42, 'bf16': False, 'fp16': True, 'fp16_opt_level': 'O1', 'half_precision_backend': 'amp', 'bf16_full_eval': False, 'fp16_full_eval': False, 'tf32': 'None', 'local_rank': -1, 'xpu_backend': 'None', 'tpu_num_cores': 'None', 'tpu_metrics_debug': False, 'debug': '[]', 'dataloader_drop_last': False, 'eval_steps': 1500, 'dataloader_num_workers': 0, 'past_index': -1, 'run_name': './', 'disable_tqdm': False, 'remove_unused_columns': True, 'label_names': 'None', 'load_best_model_at_end': False, 'metric_for_best_model': 'None', 'greater_is_better': 'None', 'ignore_data_skip': False, 'sharded_ddp': '[]', 'deepspeed': 'None', 'label_smoothing_factor': 0.0, 'optim': 'adamw_hf', 'adafactor': False, 'group_by_length': True, 'length_column_name': 'input_length', 'report_to': "['tensorboard', 'wandb']", 'ddp_find_unused_parameters': 'None', 'ddp_bucket_cap_mb': 'None', 'dataloader_pin_memory': True, 'skip_memory_metrics': True, 'use_legacy_prediction_loop': False, 'push_to_hub': True, 'resume_from_checkpoint': 'None', 'hub_model_id': 'None', 'hub_strategy': 'every_save', 'hub_token': '<HUB_TOKEN>', 'gradient_checkpointing': True, 'fp16_backend': 'auto', 'push_to_hub_model_id': 'None', 'push_to_hub_organization': 'None', 'push_to_hub_token': '<PUSH_TO_HUB_TOKEN>', '_n_gpu': 1, 'mp_parameters': '', 'sortish_sampler': False, 'predict_with_generate': True, 'generation_max_length': 40, 'generation_num_beams': 1, 'train_batch_size': 8, 'eval_batch_size': 8}
|
27 |
+
2022-03-08 10:21:28,587 INFO MainThread:1584958 [wandb_watch.py:watch():43] Watching
|
28 |
+
2022-03-08 10:22:08,362 INFO MainThread:1584958 [wandb_run.py:_atexit_cleanup():1797] got exitcode: 255
|
29 |
+
2022-03-08 10:22:08,363 INFO MainThread:1584958 [wandb_run.py:_restore():1769] restore
|
wandb/run-20220308_102127-2todcy4h/run-2todcy4h.wandb
ADDED
Binary file (16.7 kB). View file
|
|
wandb/run-20220308_102248-3h7e1p8o/files/config.yaml
ADDED
The diff for this file is too large to render.
See raw diff
|
|
wandb/run-20220308_102248-3h7e1p8o/files/output.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
wandb/run-20220308_102248-3h7e1p8o/files/requirements.txt
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.0.0
|
2 |
+
aiohttp==3.8.1
|
3 |
+
aiosignal==1.2.0
|
4 |
+
anyio==3.5.0
|
5 |
+
appdirs==1.4.4
|
6 |
+
argon2-cffi-bindings==21.2.0
|
7 |
+
argon2-cffi==21.3.0
|
8 |
+
asttokens==2.0.5
|
9 |
+
async-timeout==4.0.2
|
10 |
+
attrs==21.4.0
|
11 |
+
audioread==2.1.9
|
12 |
+
babel==2.9.1
|
13 |
+
backcall==0.2.0
|
14 |
+
bitsandbytes-cuda113==0.26.0
|
15 |
+
black==22.1.0
|
16 |
+
bleach==4.1.0
|
17 |
+
cachetools==5.0.0
|
18 |
+
certifi==2021.10.8
|
19 |
+
cffi==1.15.0
|
20 |
+
charset-normalizer==2.0.11
|
21 |
+
chex==0.1.0
|
22 |
+
click==8.0.3
|
23 |
+
clldutils==3.10.1
|
24 |
+
colorlog==6.6.0
|
25 |
+
csvw==1.11.0
|
26 |
+
cycler==0.11.0
|
27 |
+
datasets==1.18.3
|
28 |
+
debugpy==1.5.1
|
29 |
+
decorator==5.1.1
|
30 |
+
defusedxml==0.7.1
|
31 |
+
dill==0.3.4
|
32 |
+
dlinfo==1.2.1
|
33 |
+
dm-tree==0.1.6
|
34 |
+
docker-pycreds==0.4.0
|
35 |
+
entrypoints==0.4
|
36 |
+
executing==0.8.2
|
37 |
+
filelock==3.4.2
|
38 |
+
flatbuffers==2.0
|
39 |
+
flax==0.4.0
|
40 |
+
fonttools==4.29.1
|
41 |
+
frozenlist==1.3.0
|
42 |
+
fsspec==2022.1.0
|
43 |
+
gitdb==4.0.9
|
44 |
+
gitpython==3.1.27
|
45 |
+
google-auth-oauthlib==0.4.6
|
46 |
+
google-auth==2.6.0
|
47 |
+
grpcio==1.43.0
|
48 |
+
huggingface-hub==0.4.0
|
49 |
+
hypothesis==6.36.1
|
50 |
+
idna==3.3
|
51 |
+
importlib-metadata==4.10.1
|
52 |
+
ipykernel==6.8.0
|
53 |
+
ipython-genutils==0.2.0
|
54 |
+
ipython==8.0.1
|
55 |
+
ipywidgets==7.6.5
|
56 |
+
isodate==0.6.1
|
57 |
+
jax==0.2.28
|
58 |
+
jaxlib==0.1.76+cuda11.cudnn82
|
59 |
+
jedi==0.18.1
|
60 |
+
jinja2==3.0.3
|
61 |
+
jiwer==2.3.0
|
62 |
+
joblib==1.1.0
|
63 |
+
json5==0.9.6
|
64 |
+
jsonschema==4.4.0
|
65 |
+
jupyter-client==7.1.2
|
66 |
+
jupyter-console==6.4.0
|
67 |
+
jupyter-core==4.9.1
|
68 |
+
jupyter-server==1.13.5
|
69 |
+
jupyter==1.0.0
|
70 |
+
jupyterlab-pygments==0.1.2
|
71 |
+
jupyterlab-server==2.10.3
|
72 |
+
jupyterlab-widgets==1.0.2
|
73 |
+
jupyterlab==3.2.9
|
74 |
+
kiwisolver==1.3.2
|
75 |
+
librosa==0.8.1
|
76 |
+
llvmlite==0.38.0
|
77 |
+
markdown==3.3.6
|
78 |
+
markupsafe==2.0.1
|
79 |
+
matplotlib-inline==0.1.3
|
80 |
+
matplotlib==3.5.1
|
81 |
+
mistune==0.8.4
|
82 |
+
msgpack==1.0.3
|
83 |
+
multidict==6.0.2
|
84 |
+
multiprocess==0.70.12.2
|
85 |
+
mypy-extensions==0.4.3
|
86 |
+
nbclassic==0.3.5
|
87 |
+
nbclient==0.5.10
|
88 |
+
nbconvert==6.4.1
|
89 |
+
nbformat==5.1.3
|
90 |
+
nest-asyncio==1.5.4
|
91 |
+
notebook==6.4.8
|
92 |
+
numba==0.55.1
|
93 |
+
numpy==1.21.5
|
94 |
+
oauthlib==3.2.0
|
95 |
+
opt-einsum==3.3.0
|
96 |
+
optax==0.1.0
|
97 |
+
packaging==21.3
|
98 |
+
pandas==1.4.0
|
99 |
+
pandocfilters==1.5.0
|
100 |
+
parso==0.8.3
|
101 |
+
pathspec==0.9.0
|
102 |
+
pathtools==0.1.2
|
103 |
+
pexpect==4.8.0
|
104 |
+
phonemizer==3.0.1
|
105 |
+
pickleshare==0.7.5
|
106 |
+
pillow==9.0.0
|
107 |
+
pip==22.0.2
|
108 |
+
pkg-resources==0.0.0
|
109 |
+
platformdirs==2.4.1
|
110 |
+
pooch==1.6.0
|
111 |
+
prometheus-client==0.13.1
|
112 |
+
promise==2.3
|
113 |
+
prompt-toolkit==3.0.26
|
114 |
+
protobuf==3.19.4
|
115 |
+
psutil==5.9.0
|
116 |
+
ptyprocess==0.7.0
|
117 |
+
pure-eval==0.2.2
|
118 |
+
pyarrow==6.0.1
|
119 |
+
pyasn1-modules==0.2.8
|
120 |
+
pyasn1==0.4.8
|
121 |
+
pycparser==2.21
|
122 |
+
pyctcdecode==0.3.0
|
123 |
+
pygments==2.11.2
|
124 |
+
pygtrie==2.4.2
|
125 |
+
pyparsing==3.0.7
|
126 |
+
pyrsistent==0.18.1
|
127 |
+
python-dateutil==2.8.2
|
128 |
+
python-levenshtein==0.12.2
|
129 |
+
pytz==2021.3
|
130 |
+
pyyaml==6.0
|
131 |
+
pyzmq==22.3.0
|
132 |
+
qtconsole==5.2.2
|
133 |
+
qtpy==2.0.1
|
134 |
+
regex==2022.1.18
|
135 |
+
requests-oauthlib==1.3.1
|
136 |
+
requests==2.27.1
|
137 |
+
resampy==0.2.2
|
138 |
+
rfc3986==2.0.0
|
139 |
+
rsa==4.8
|
140 |
+
sacremoses==0.0.47
|
141 |
+
scikit-learn==1.0.2
|
142 |
+
scipy==1.7.3
|
143 |
+
segments==2.2.0
|
144 |
+
send2trash==1.8.0
|
145 |
+
sentry-sdk==1.5.6
|
146 |
+
setuptools==44.1.1
|
147 |
+
shortuuid==1.0.8
|
148 |
+
six==1.16.0
|
149 |
+
smmap==5.0.0
|
150 |
+
sniffio==1.2.0
|
151 |
+
sortedcontainers==2.4.0
|
152 |
+
soundfile==0.10.3.post1
|
153 |
+
stack-data==0.1.4
|
154 |
+
tabulate==0.8.9
|
155 |
+
tensorboard-data-server==0.6.1
|
156 |
+
tensorboard-plugin-wit==1.8.1
|
157 |
+
tensorboard==2.8.0
|
158 |
+
termcolor==1.1.0
|
159 |
+
terminado==0.13.1
|
160 |
+
testpath==0.5.0
|
161 |
+
threadpoolctl==3.1.0
|
162 |
+
tokenizers==0.11.4
|
163 |
+
tomli==2.0.0
|
164 |
+
toolz==0.11.2
|
165 |
+
torch==1.10.2+cu113
|
166 |
+
torchaudio==0.10.2+cu113
|
167 |
+
tornado==6.1
|
168 |
+
tqdm==4.62.3
|
169 |
+
traitlets==5.1.1
|
170 |
+
transformers==4.17.0.dev0
|
171 |
+
typing-extensions==3.10.0.2
|
172 |
+
uritemplate==4.1.1
|
173 |
+
urllib3==1.26.8
|
174 |
+
wandb==0.12.10
|
175 |
+
wcwidth==0.2.5
|
176 |
+
webencodings==0.5.1
|
177 |
+
websocket-client==1.2.3
|
178 |
+
werkzeug==2.0.2
|
179 |
+
wheel==0.37.1
|
180 |
+
widgetsnbextension==3.5.2
|
181 |
+
xxhash==2.0.2
|
182 |
+
yarl==1.7.2
|
183 |
+
yaspin==2.1.0
|
184 |
+
zipp==3.7.0
|
wandb/run-20220308_102248-3h7e1p8o/files/wandb-metadata.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"os": "Linux-5.11.0-1028-gcp-x86_64-with-glibc2.33",
|
3 |
+
"python": "3.9.5",
|
4 |
+
"heartbeatAt": "2022-03-08T10:22:49.070528",
|
5 |
+
"startedAt": "2022-03-08T10:22:48.070919",
|
6 |
+
"docker": null,
|
7 |
+
"gpu": "Tesla V100-SXM2-16GB",
|
8 |
+
"gpu_count": 2,
|
9 |
+
"cpu_count": 16,
|
10 |
+
"cuda": null,
|
11 |
+
"args": [
|
12 |
+
"--dataset_name=librispeech_asr",
|
13 |
+
"--model_name_or_path=./",
|
14 |
+
"--tokenizer_name=./",
|
15 |
+
"--dataset_config_name=clean",
|
16 |
+
"--train_split_name=train.100",
|
17 |
+
"--eval_split_name=validation",
|
18 |
+
"--output_dir=./",
|
19 |
+
"--preprocessing_num_workers=1",
|
20 |
+
"--length_column_name=input_length",
|
21 |
+
"--overwrite_output_dir",
|
22 |
+
"--num_train_epochs=20",
|
23 |
+
"--per_device_train_batch_size=16",
|
24 |
+
"--per_device_eval_batch_size=16",
|
25 |
+
"--gradient_accumulation_steps=8",
|
26 |
+
"--generation_max_length=40",
|
27 |
+
"--generation_num_beams=1",
|
28 |
+
"--learning_rate=3e-5",
|
29 |
+
"--warmup_steps=1000",
|
30 |
+
"--evaluation_strategy=steps",
|
31 |
+
"--text_column_name=text",
|
32 |
+
"--save_steps=1500",
|
33 |
+
"--eval_steps=1500",
|
34 |
+
"--logging_steps=1",
|
35 |
+
"--save_total_limit=1",
|
36 |
+
"--freeze_feature_encoder",
|
37 |
+
"--gradient_checkpointing",
|
38 |
+
"--fp16",
|
39 |
+
"--group_by_length",
|
40 |
+
"--predict_with_generate",
|
41 |
+
"--do_lower_case",
|
42 |
+
"--do_eval",
|
43 |
+
"--do_train",
|
44 |
+
"--push_to_hub",
|
45 |
+
"--use_auth_token"
|
46 |
+
],
|
47 |
+
"state": "running",
|
48 |
+
"program": "/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/run_speech_recognition_seq2seq.py",
|
49 |
+
"codePath": "run_speech_recognition_seq2seq.py",
|
50 |
+
"git": {
|
51 |
+
"remote": "https://huggingface.co/sanchit-gandhi/wav2vec2-2-rnd-2-layer",
|
52 |
+
"commit": "dc19a5f957f0a6e0997490e697e088e8f3ce31ea"
|
53 |
+
},
|
54 |
+
"email": "[email protected]",
|
55 |
+
"root": "/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer",
|
56 |
+
"host": "sanchit--v100",
|
57 |
+
"username": "sanchit_huggingface_co",
|
58 |
+
"executable": "/home/sanchit_huggingface_co/gcp/bin/python"
|
59 |
+
}
|
wandb/run-20220308_102248-3h7e1p8o/files/wandb-summary.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
wandb/run-20220308_102248-3h7e1p8o/logs/debug-internal.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
wandb/run-20220308_102248-3h7e1p8o/logs/debug.log
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_setup.py:_flush():75] Loading settings from /home/sanchit_huggingface_co/.config/wandb/settings
|
2 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_setup.py:_flush():75] Loading settings from /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/settings
|
3 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_setup.py:_flush():75] Loading settings from environment variables: {}
|
4 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_setup.py:_flush():75] Inferring run settings from compute environment: {'program_relpath': 'run_speech_recognition_seq2seq.py', 'program': '/home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/run_speech_recognition_seq2seq.py'}
|
5 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_init.py:_log_setup():386] Logging user logs to /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102248-3h7e1p8o/logs/debug.log
|
6 |
+
2022-03-08 10:22:48,072 INFO MainThread:1586051 [wandb_init.py:_log_setup():387] Logging internal logs to /home/sanchit_huggingface_co/wav2vec2-2-rnd-2-layer/wandb/run-20220308_102248-3h7e1p8o/logs/debug-internal.log
|
7 |
+
2022-03-08 10:22:48,073 INFO MainThread:1586051 [wandb_init.py:init():420] calling init triggers
|
8 |
+
2022-03-08 10:22:48,073 INFO MainThread:1586051 [wandb_init.py:init():425] wandb.init called with sweep_config: {}
|
9 |
+
config: {}
|
10 |
+
2022-03-08 10:22:48,073 INFO MainThread:1586051 [wandb_init.py:init():471] starting backend
|
11 |
+
2022-03-08 10:22:48,073 INFO MainThread:1586051 [backend.py:_multiprocessing_setup():99] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
|
12 |
+
2022-03-08 10:22:48,108 INFO MainThread:1586051 [backend.py:ensure_launched():219] starting backend process...
|
13 |
+
2022-03-08 10:22:48,142 INFO MainThread:1586051 [backend.py:ensure_launched():224] started backend process with pid: 1586410
|
14 |
+
2022-03-08 10:22:48,144 INFO MainThread:1586051 [wandb_init.py:init():480] backend started and connected
|
15 |
+
2022-03-08 10:22:48,153 INFO MainThread:1586051 [wandb_init.py:init():550] updated telemetry
|
16 |
+
2022-03-08 10:22:48,236 INFO MainThread:1586051 [wandb_init.py:init():581] communicating current version
|
17 |
+
2022-03-08 10:22:48,932 INFO MainThread:1586051 [wandb_init.py:init():586] got version response upgrade_message: "wandb version 0.12.11 is available! To upgrade, please run:\n $ pip install wandb --upgrade"
|
18 |
+
|
19 |
+
2022-03-08 10:22:48,932 INFO MainThread:1586051 [wandb_init.py:init():596] communicating run to backend with 30 second timeout
|
20 |
+
2022-03-08 10:22:49,066 INFO MainThread:1586051 [wandb_init.py:init():624] starting run threads in backend
|
21 |
+
2022-03-08 10:22:49,165 INFO MainThread:1586051 [wandb_run.py:_console_start():1827] atexit reg
|
22 |
+
2022-03-08 10:22:49,165 INFO MainThread:1586051 [wandb_run.py:_redirect():1701] redirect: SettingsConsole.REDIRECT
|
23 |
+
2022-03-08 10:22:49,166 INFO MainThread:1586051 [wandb_run.py:_redirect():1706] Redirecting console.
|
24 |
+
2022-03-08 10:22:49,167 INFO MainThread:1586051 [wandb_run.py:_redirect():1762] Redirects installed.
|
25 |
+
2022-03-08 10:22:49,167 INFO MainThread:1586051 [wandb_init.py:init():651] run started, returning control to user process
|
26 |
+
2022-03-08 10:22:49,170 INFO MainThread:1586051 [wandb_run.py:_config_callback():966] config_cb None None {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'torch.float32', 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': False, 'is_encoder_decoder': True, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 50, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['SpeechEncoderDecoderModel'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': None, 'pad_token_id': 0, 'eos_token_id': 102, 'sep_token_id': None, 'decoder_start_token_id': 101, 'task_specific_params': None, 'problem_type': None, '_name_or_path': './', 'transformers_version': None, 'decoder': {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'float32', 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': True, 'is_encoder_decoder': False, 'is_decoder': True, 'cross_attention_hidden_size': None, 'add_cross_attention': True, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['BertLMHeadModel'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': None, 'pad_token_id': 0, 'eos_token_id': None, 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'decoder', 'transformers_version': '4.17.0.dev0', 'gradient_checkpointing': False, 'vocab_size': 30522, 'hidden_size': 1024, 'num_hidden_layers': 2, 'num_attention_heads': 16, 'hidden_act': 'gelu', 'intermediate_size': 4096, 'hidden_dropout_prob': 0.1, 'attention_probs_dropout_prob': 0.0, 'max_position_embeddings': 512, 'type_vocab_size': 2, 'initializer_range': 0.02, 'layer_norm_eps': 1e-12, 'position_embedding_type': 'absolute', 'use_cache': False, 'classifier_dropout': None, 'model_type': 'bert'}, 'encoder': {'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': None, 'use_bfloat16': False, 'pruned_heads': {}, 'tie_word_embeddings': True, 'is_encoder_decoder': False, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'architectures': ['Wav2Vec2ForPreTraining'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': 1, 'pad_token_id': 0, 'eos_token_id': 2, 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'facebook/wav2vec2-large-lv60', 'transformers_version': '4.17.0.dev0', 'feat_extract_dropout': 0.0, 'gradient_checkpointing': False, 'hidden_dropout_prob': 0.0, 'num_feat_extract_layers': 7, 'hidden_size': 1024, 'feat_extract_norm': 'layer', 'feat_extract_activation': 'gelu', 'conv_dim': [512, 512, 512, 512, 512, 512, 512], 'conv_stride': [5, 2, 2, 2, 2, 2, 2], 'conv_kernel': [10, 3, 3, 3, 3, 2, 2], 'conv_bias': True, 'num_conv_pos_embeddings': 128, 'num_conv_pos_embedding_groups': 16, 'num_hidden_layers': 24, 'intermediate_size': 4096, 'hidden_act': 'gelu', 'num_attention_heads': 16, 'hidden_dropout': 0.0, 'attention_dropout': 0.0, 'activation_dropout': 0.0, 'feat_proj_dropout': 0.0, 'final_dropout': 0.0, 'layerdrop': 0.0, 'layer_norm_eps': 1e-05, 'initializer_range': 0.02, 'vocab_size': 32, 'do_stable_layer_norm': True, 'use_weighted_layer_sum': False, 'apply_spec_augment': False, 'mask_time_prob': 0.0, 'mask_time_length': 10, 'mask_time_min_masks': 2, 'mask_feature_prob': 0.0, 'mask_feature_length': 10, 'mask_feature_min_masks': 0, 'num_codevectors_per_group': 320, 'num_codevector_groups': 2, 'contrastive_logits_temperature': 0.1, 'feat_quantizer_dropout': 0.0, 'num_negatives': 100, 'codevector_dim': 768, 'proj_codevector_dim': 768, 'diversity_loss_weight': 0.1, 'ctc_loss_reduction': 'sum', 'ctc_zero_infinity': False, 'add_adapter': True, 'adapter_kernel_size': 3, 'adapter_stride': 2, 'num_adapter_layers': 3, 'output_hidden_size': 1024, 'classifier_proj_size': 256, 'tdnn_dim': [512, 512, 512, 512, 1500], 'tdnn_kernel': [5, 3, 3, 1, 1], 'tdnn_dilation': [1, 2, 3, 1, 1], 'xvector_output_dim': 512, 'model_type': 'wav2vec2'}, 'model_type': 'speech-encoder-decoder', 'processor_class': 'Wav2Vec2Processor', 'use_cache': False, 'output_dir': './', 'overwrite_output_dir': True, 'do_train': True, 'do_eval': True, 'do_predict': False, 'evaluation_strategy': 'steps', 'prediction_loss_only': False, 'per_device_train_batch_size': 16, 'per_device_eval_batch_size': 16, 'per_gpu_train_batch_size': 'None', 'per_gpu_eval_batch_size': 'None', 'gradient_accumulation_steps': 8, 'eval_accumulation_steps': 'None', 'learning_rate': 3e-05, 'weight_decay': 0.0, 'adam_beta1': 0.9, 'adam_beta2': 0.999, 'adam_epsilon': 1e-08, 'max_grad_norm': 1.0, 'num_train_epochs': 20.0, 'max_steps': -1, 'lr_scheduler_type': 'linear', 'warmup_ratio': 0.0, 'warmup_steps': 1000, 'log_level': -1, 'log_level_replica': -1, 'log_on_each_node': True, 'logging_dir': './runs/Mar08_10-22-25_sanchit--v100', 'logging_strategy': 'steps', 'logging_first_step': False, 'logging_steps': 1, 'logging_nan_inf_filter': True, 'save_strategy': 'steps', 'save_steps': 1500, 'save_total_limit': 1, 'save_on_each_node': False, 'no_cuda': False, 'seed': 42, 'bf16': False, 'fp16': True, 'fp16_opt_level': 'O1', 'half_precision_backend': 'amp', 'bf16_full_eval': False, 'fp16_full_eval': False, 'tf32': 'None', 'local_rank': -1, 'xpu_backend': 'None', 'tpu_num_cores': 'None', 'tpu_metrics_debug': False, 'debug': '[]', 'dataloader_drop_last': False, 'eval_steps': 1500, 'dataloader_num_workers': 0, 'past_index': -1, 'run_name': './', 'disable_tqdm': False, 'remove_unused_columns': True, 'label_names': 'None', 'load_best_model_at_end': False, 'metric_for_best_model': 'None', 'greater_is_better': 'None', 'ignore_data_skip': False, 'sharded_ddp': '[]', 'deepspeed': 'None', 'label_smoothing_factor': 0.0, 'optim': 'adamw_hf', 'adafactor': False, 'group_by_length': True, 'length_column_name': 'input_length', 'report_to': "['tensorboard', 'wandb']", 'ddp_find_unused_parameters': 'None', 'ddp_bucket_cap_mb': 'None', 'dataloader_pin_memory': True, 'skip_memory_metrics': True, 'use_legacy_prediction_loop': False, 'push_to_hub': True, 'resume_from_checkpoint': 'None', 'hub_model_id': 'None', 'hub_strategy': 'every_save', 'hub_token': '<HUB_TOKEN>', 'gradient_checkpointing': True, 'fp16_backend': 'auto', 'push_to_hub_model_id': 'None', 'push_to_hub_organization': 'None', 'push_to_hub_token': '<PUSH_TO_HUB_TOKEN>', '_n_gpu': 1, 'mp_parameters': '', 'sortish_sampler': False, 'predict_with_generate': True, 'generation_max_length': 40, 'generation_num_beams': 1, 'train_batch_size': 16, 'eval_batch_size': 16}
|
27 |
+
2022-03-08 10:22:49,172 INFO MainThread:1586051 [wandb_watch.py:watch():43] Watching
|
wandb/run-20220308_102248-3h7e1p8o/run-3h7e1p8o.wandb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42cfbbba05fc1729a2b265f966535d7f92d0b6e55b0316fb0ceddd61158947db
|
3 |
+
size 103631861
|