Update model
Browse files- README.md +390 -0
- data/quy_token_list/bpe_unigram100/bpe.model +3 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/3epoch.pth +3 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/RESULTS.md +29 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/config.yaml +293 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/acc.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/backward_time.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/cer.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/cer_ctc.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/forward_time.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/gpu_max_cached_mem_GB.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/iter_time.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss_att.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss_ctc.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/optim0_lr0.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/optim_step_time.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/train_time.png +0 -0
- exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/wer.png +0 -0
- meta.yaml +8 -0
README.md
ADDED
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- espnet
|
4 |
+
- audio
|
5 |
+
- automatic-speech-recognition
|
6 |
+
language: quy
|
7 |
+
datasets:
|
8 |
+
- americasnlp22
|
9 |
+
license: cc-by-4.0
|
10 |
+
---
|
11 |
+
|
12 |
+
## ESPnet2 ASR model
|
13 |
+
|
14 |
+
### `espnet/americasnlp22-asr-quy`
|
15 |
+
|
16 |
+
This model was trained by Pavel Denisov using americasnlp22 recipe in [espnet](https://github.com/espnet/espnet/).
|
17 |
+
|
18 |
+
### Demo: How to use in ESPnet2
|
19 |
+
|
20 |
+
```bash
|
21 |
+
cd espnet
|
22 |
+
git checkout fc62b1ce3e50c5ef8a2ac8cedb0d92ac41df54ca
|
23 |
+
pip install -e .
|
24 |
+
cd egs2/americasnlp22/asr1
|
25 |
+
./run.sh --skip_data_prep false --skip_train true --download_model espnet/americasnlp22-asr-quy
|
26 |
+
```
|
27 |
+
|
28 |
+
<!-- Generated by scripts/utils/show_asr_result.sh -->
|
29 |
+
# RESULTS
|
30 |
+
## Environments
|
31 |
+
- date: `Sun Jun 5 04:51:42 CEST 2022`
|
32 |
+
- python version: `3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)]`
|
33 |
+
- espnet version: `espnet 202204`
|
34 |
+
- pytorch version: `pytorch 1.11.0+cu115`
|
35 |
+
- Git hash: `d55704daa36d3dd2ca24ae3162ac40d81957208c`
|
36 |
+
- Commit date: `Wed Jun 1 02:33:09 2022 +0200`
|
37 |
+
|
38 |
+
## asr_train_asr_transformer_raw_quy_bpe100_sp
|
39 |
+
### WER
|
40 |
+
|
41 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
42 |
+
|---|---|---|---|---|---|---|---|---|
|
43 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|11465|18.7|67.0|14.3|4.3|85.6|100.0|
|
44 |
+
|
45 |
+
### CER
|
46 |
+
|
47 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
48 |
+
|---|---|---|---|---|---|---|---|---|
|
49 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|95334|78.6|8.0|13.4|10.1|31.5|100.0|
|
50 |
+
|
51 |
+
### TER
|
52 |
+
|
53 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
54 |
+
|---|---|---|---|---|---|---|---|---|
|
55 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|51740|64.7|18.6|16.7|9.7|45.0|100.0|
|
56 |
+
|
57 |
+
## ASR config
|
58 |
+
|
59 |
+
<details><summary>expand</summary>
|
60 |
+
|
61 |
+
```
|
62 |
+
config: conf/train_asr_transformer.yaml
|
63 |
+
print_config: false
|
64 |
+
log_level: INFO
|
65 |
+
dry_run: false
|
66 |
+
iterator_type: sequence
|
67 |
+
output_dir: exp/asr_train_asr_transformer_raw_quy_bpe100_sp
|
68 |
+
ngpu: 1
|
69 |
+
seed: 0
|
70 |
+
num_workers: 1
|
71 |
+
num_att_plot: 3
|
72 |
+
dist_backend: nccl
|
73 |
+
dist_init_method: env://
|
74 |
+
dist_world_size: null
|
75 |
+
dist_rank: null
|
76 |
+
local_rank: 0
|
77 |
+
dist_master_addr: null
|
78 |
+
dist_master_port: null
|
79 |
+
dist_launcher: null
|
80 |
+
multiprocessing_distributed: false
|
81 |
+
unused_parameters: false
|
82 |
+
sharded_ddp: false
|
83 |
+
cudnn_enabled: true
|
84 |
+
cudnn_benchmark: false
|
85 |
+
cudnn_deterministic: true
|
86 |
+
collect_stats: false
|
87 |
+
write_collected_feats: false
|
88 |
+
max_epoch: 15
|
89 |
+
patience: null
|
90 |
+
val_scheduler_criterion:
|
91 |
+
- valid
|
92 |
+
- loss
|
93 |
+
early_stopping_criterion:
|
94 |
+
- valid
|
95 |
+
- loss
|
96 |
+
- min
|
97 |
+
best_model_criterion:
|
98 |
+
- - valid
|
99 |
+
- cer_ctc
|
100 |
+
- min
|
101 |
+
keep_nbest_models: 1
|
102 |
+
nbest_averaging_interval: 0
|
103 |
+
grad_clip: 5.0
|
104 |
+
grad_clip_type: 2.0
|
105 |
+
grad_noise: false
|
106 |
+
accum_grad: 1
|
107 |
+
no_forward_run: false
|
108 |
+
resume: true
|
109 |
+
train_dtype: float32
|
110 |
+
use_amp: false
|
111 |
+
log_interval: null
|
112 |
+
use_matplotlib: true
|
113 |
+
use_tensorboard: true
|
114 |
+
use_wandb: false
|
115 |
+
wandb_project: null
|
116 |
+
wandb_id: null
|
117 |
+
wandb_entity: null
|
118 |
+
wandb_name: null
|
119 |
+
wandb_model_log_interval: -1
|
120 |
+
detect_anomaly: false
|
121 |
+
pretrain_path: null
|
122 |
+
init_param: []
|
123 |
+
ignore_init_mismatch: false
|
124 |
+
freeze_param:
|
125 |
+
- frontend.upstream.model.feature_extractor
|
126 |
+
- frontend.upstream.model.encoder.layers.0
|
127 |
+
- frontend.upstream.model.encoder.layers.1
|
128 |
+
- frontend.upstream.model.encoder.layers.2
|
129 |
+
- frontend.upstream.model.encoder.layers.3
|
130 |
+
- frontend.upstream.model.encoder.layers.4
|
131 |
+
- frontend.upstream.model.encoder.layers.5
|
132 |
+
- frontend.upstream.model.encoder.layers.6
|
133 |
+
- frontend.upstream.model.encoder.layers.7
|
134 |
+
- frontend.upstream.model.encoder.layers.8
|
135 |
+
- frontend.upstream.model.encoder.layers.9
|
136 |
+
- frontend.upstream.model.encoder.layers.10
|
137 |
+
- frontend.upstream.model.encoder.layers.11
|
138 |
+
- frontend.upstream.model.encoder.layers.12
|
139 |
+
- frontend.upstream.model.encoder.layers.13
|
140 |
+
- frontend.upstream.model.encoder.layers.14
|
141 |
+
- frontend.upstream.model.encoder.layers.15
|
142 |
+
- frontend.upstream.model.encoder.layers.16
|
143 |
+
- frontend.upstream.model.encoder.layers.17
|
144 |
+
- frontend.upstream.model.encoder.layers.18
|
145 |
+
- frontend.upstream.model.encoder.layers.19
|
146 |
+
- frontend.upstream.model.encoder.layers.20
|
147 |
+
- frontend.upstream.model.encoder.layers.21
|
148 |
+
num_iters_per_epoch: null
|
149 |
+
batch_size: 20
|
150 |
+
valid_batch_size: null
|
151 |
+
batch_bins: 200000
|
152 |
+
valid_batch_bins: null
|
153 |
+
train_shape_file:
|
154 |
+
- exp/asr_stats_raw_quy_bpe100_sp/train/speech_shape
|
155 |
+
- exp/asr_stats_raw_quy_bpe100_sp/train/text_shape.bpe
|
156 |
+
valid_shape_file:
|
157 |
+
- exp/asr_stats_raw_quy_bpe100_sp/valid/speech_shape
|
158 |
+
- exp/asr_stats_raw_quy_bpe100_sp/valid/text_shape.bpe
|
159 |
+
batch_type: numel
|
160 |
+
valid_batch_type: null
|
161 |
+
fold_length:
|
162 |
+
- 80000
|
163 |
+
- 150
|
164 |
+
sort_in_batch: descending
|
165 |
+
sort_batch: descending
|
166 |
+
multiple_iterator: false
|
167 |
+
chunk_length: 500
|
168 |
+
chunk_shift_ratio: 0.5
|
169 |
+
num_cache_chunks: 1024
|
170 |
+
train_data_path_and_name_and_type:
|
171 |
+
- - dump/raw/train_quy_sp/wav.scp
|
172 |
+
- speech
|
173 |
+
- sound
|
174 |
+
- - dump/raw/train_quy_sp/text
|
175 |
+
- text
|
176 |
+
- text
|
177 |
+
valid_data_path_and_name_and_type:
|
178 |
+
- - dump/raw/dev_quy/wav.scp
|
179 |
+
- speech
|
180 |
+
- sound
|
181 |
+
- - dump/raw/dev_quy/text
|
182 |
+
- text
|
183 |
+
- text
|
184 |
+
allow_variable_data_keys: false
|
185 |
+
max_cache_size: 0.0
|
186 |
+
max_cache_fd: 32
|
187 |
+
valid_max_cache_size: null
|
188 |
+
optim: adamw
|
189 |
+
optim_conf:
|
190 |
+
lr: 0.0001
|
191 |
+
scheduler: warmuplr
|
192 |
+
scheduler_conf:
|
193 |
+
warmup_steps: 300
|
194 |
+
token_list:
|
195 |
+
- <blank>
|
196 |
+
- <unk>
|
197 |
+
- ���
|
198 |
+
- a
|
199 |
+
- n
|
200 |
+
- y
|
201 |
+
- u
|
202 |
+
- qa
|
203 |
+
- s
|
204 |
+
- ta
|
205 |
+
- q
|
206 |
+
- ri
|
207 |
+
- ku
|
208 |
+
- i
|
209 |
+
- kuna
|
210 |
+
- r
|
211 |
+
- m
|
212 |
+
- e
|
213 |
+
- cha
|
214 |
+
- pi
|
215 |
+
- pa
|
216 |
+
- o
|
217 |
+
- lla
|
218 |
+
- na
|
219 |
+
- ▁kay
|
220 |
+
- ▁ka
|
221 |
+
- ▁chay
|
222 |
+
- c
|
223 |
+
- chu
|
224 |
+
- ki
|
225 |
+
- ▁wa
|
226 |
+
- ña
|
227 |
+
- w
|
228 |
+
- ▁pa
|
229 |
+
- ra
|
230 |
+
- si
|
231 |
+
- man
|
232 |
+
- pas
|
233 |
+
- sqa
|
234 |
+
- l
|
235 |
+
- tu
|
236 |
+
- nku
|
237 |
+
- ▁ma
|
238 |
+
- yku
|
239 |
+
- taq
|
240 |
+
- ▁a
|
241 |
+
- ▁ima
|
242 |
+
- d
|
243 |
+
- ti
|
244 |
+
- chi
|
245 |
+
- manta
|
246 |
+
- ya
|
247 |
+
- ka
|
248 |
+
- mi
|
249 |
+
- h
|
250 |
+
- p
|
251 |
+
- wan
|
252 |
+
- nchik
|
253 |
+
- ll
|
254 |
+
- chkan
|
255 |
+
- spa
|
256 |
+
- ▁ha
|
257 |
+
- ▁ni
|
258 |
+
- pu
|
259 |
+
- yta
|
260 |
+
- chik
|
261 |
+
- mun
|
262 |
+
- ni
|
263 |
+
- paq
|
264 |
+
- sun
|
265 |
+
- ▁mana
|
266 |
+
- ▁wi
|
267 |
+
- k
|
268 |
+
- ▁allin
|
269 |
+
- ▁ancha
|
270 |
+
- ▁hina
|
271 |
+
- rí
|
272 |
+
- ▁punchaw
|
273 |
+
- ▁yacha
|
274 |
+
- ▁llaqta
|
275 |
+
- ñ
|
276 |
+
- ynin
|
277 |
+
- ▁rima
|
278 |
+
- b
|
279 |
+
- ▁huk
|
280 |
+
- skan
|
281 |
+
- ''''
|
282 |
+
- g
|
283 |
+
- j
|
284 |
+
- z
|
285 |
+
- á
|
286 |
+
- ó
|
287 |
+
- í
|
288 |
+
- ú
|
289 |
+
- f
|
290 |
+
- v
|
291 |
+
- t
|
292 |
+
- x
|
293 |
+
- é
|
294 |
+
- <sos/eos>
|
295 |
+
init: null
|
296 |
+
input_size: null
|
297 |
+
ctc_conf:
|
298 |
+
dropout_rate: 0.0
|
299 |
+
ctc_type: builtin
|
300 |
+
reduce: true
|
301 |
+
ignore_nan_grad: true
|
302 |
+
joint_net_conf: null
|
303 |
+
use_preprocessor: true
|
304 |
+
token_type: bpe
|
305 |
+
bpemodel: data/quy_token_list/bpe_unigram100/bpe.model
|
306 |
+
non_linguistic_symbols: null
|
307 |
+
cleaner: null
|
308 |
+
g2p: null
|
309 |
+
speech_volume_normalize: null
|
310 |
+
rir_scp: null
|
311 |
+
rir_apply_prob: 1.0
|
312 |
+
noise_scp: null
|
313 |
+
noise_apply_prob: 1.0
|
314 |
+
noise_db_range: '13_15'
|
315 |
+
frontend: s3prl
|
316 |
+
frontend_conf:
|
317 |
+
frontend_conf:
|
318 |
+
upstream: wav2vec2_url
|
319 |
+
upstream_ckpt: https://dl.fbaipublicfiles.com/fairseq/wav2vec/xlsr2_300m.pt
|
320 |
+
download_dir: ./hub
|
321 |
+
multilayer_feature: true
|
322 |
+
fs: 16k
|
323 |
+
specaug: null
|
324 |
+
specaug_conf: {}
|
325 |
+
normalize: utterance_mvn
|
326 |
+
normalize_conf: {}
|
327 |
+
model: espnet
|
328 |
+
model_conf:
|
329 |
+
ctc_weight: 1.0
|
330 |
+
lsm_weight: 0.0
|
331 |
+
length_normalized_loss: false
|
332 |
+
extract_feats_in_collect_stats: false
|
333 |
+
preencoder: linear
|
334 |
+
preencoder_conf:
|
335 |
+
input_size: 1024
|
336 |
+
output_size: 80
|
337 |
+
encoder: transformer
|
338 |
+
encoder_conf:
|
339 |
+
input_layer: conv2d2
|
340 |
+
num_blocks: 1
|
341 |
+
linear_units: 2048
|
342 |
+
dropout_rate: 0.2
|
343 |
+
output_size: 256
|
344 |
+
attention_heads: 8
|
345 |
+
attention_dropout_rate: 0.2
|
346 |
+
postencoder: null
|
347 |
+
postencoder_conf: {}
|
348 |
+
decoder: rnn
|
349 |
+
decoder_conf: {}
|
350 |
+
required:
|
351 |
+
- output_dir
|
352 |
+
- token_list
|
353 |
+
version: '202204'
|
354 |
+
distributed: false
|
355 |
+
```
|
356 |
+
|
357 |
+
</details>
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
### Citing ESPnet
|
362 |
+
|
363 |
+
```BibTex
|
364 |
+
@inproceedings{watanabe2018espnet,
|
365 |
+
author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
|
366 |
+
title={{ESPnet}: End-to-End Speech Processing Toolkit},
|
367 |
+
year={2018},
|
368 |
+
booktitle={Proceedings of Interspeech},
|
369 |
+
pages={2207--2211},
|
370 |
+
doi={10.21437/Interspeech.2018-1456},
|
371 |
+
url={http://dx.doi.org/10.21437/Interspeech.2018-1456}
|
372 |
+
}
|
373 |
+
|
374 |
+
|
375 |
+
|
376 |
+
|
377 |
+
```
|
378 |
+
|
379 |
+
or arXiv:
|
380 |
+
|
381 |
+
```bibtex
|
382 |
+
@misc{watanabe2018espnet,
|
383 |
+
title={ESPnet: End-to-End Speech Processing Toolkit},
|
384 |
+
author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
|
385 |
+
year={2018},
|
386 |
+
eprint={1804.00015},
|
387 |
+
archivePrefix={arXiv},
|
388 |
+
primaryClass={cs.CL}
|
389 |
+
}
|
390 |
+
```
|
data/quy_token_list/bpe_unigram100/bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6e87d2963ad556948dd32561ea08e7c84e2edaf9dba81f022e3e51be5b53d64
|
3 |
+
size 238890
|
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/3epoch.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de5dfd081bbb1fb2d2c4e3c240a6d44f7f6c6e7e887dc23659cca40406aa8bb3
|
3 |
+
size 1287519213
|
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/RESULTS.md
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- Generated by scripts/utils/show_asr_result.sh -->
|
2 |
+
# RESULTS
|
3 |
+
## Environments
|
4 |
+
- date: `Sun Jun 5 04:51:42 CEST 2022`
|
5 |
+
- python version: `3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)]`
|
6 |
+
- espnet version: `espnet 202204`
|
7 |
+
- pytorch version: `pytorch 1.11.0+cu115`
|
8 |
+
- Git hash: `d55704daa36d3dd2ca24ae3162ac40d81957208c`
|
9 |
+
- Commit date: `Wed Jun 1 02:33:09 2022 +0200`
|
10 |
+
|
11 |
+
## asr_train_asr_transformer_raw_quy_bpe100_sp
|
12 |
+
### WER
|
13 |
+
|
14 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
15 |
+
|---|---|---|---|---|---|---|---|---|
|
16 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|11465|18.7|67.0|14.3|4.3|85.6|100.0|
|
17 |
+
|
18 |
+
### CER
|
19 |
+
|
20 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
21 |
+
|---|---|---|---|---|---|---|---|---|
|
22 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|95334|78.6|8.0|13.4|10.1|31.5|100.0|
|
23 |
+
|
24 |
+
### TER
|
25 |
+
|
26 |
+
|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
|
27 |
+
|---|---|---|---|---|---|---|---|---|
|
28 |
+
|decode_asr_asr_model_valid.cer_ctc.best/dev_quy|250|51740|64.7|18.6|16.7|9.7|45.0|100.0|
|
29 |
+
|
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/config.yaml
ADDED
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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output_dir: exp/asr_train_asr_transformer_raw_quy_bpe100_sp
|
7 |
+
ngpu: 1
|
8 |
+
seed: 0
|
9 |
+
num_workers: 1
|
10 |
+
num_att_plot: 3
|
11 |
+
dist_backend: nccl
|
12 |
+
dist_init_method: env://
|
13 |
+
dist_world_size: null
|
14 |
+
dist_rank: null
|
15 |
+
local_rank: 0
|
16 |
+
dist_master_addr: null
|
17 |
+
dist_master_port: null
|
18 |
+
dist_launcher: null
|
19 |
+
multiprocessing_distributed: false
|
20 |
+
unused_parameters: false
|
21 |
+
sharded_ddp: false
|
22 |
+
cudnn_enabled: true
|
23 |
+
cudnn_benchmark: false
|
24 |
+
cudnn_deterministic: true
|
25 |
+
collect_stats: false
|
26 |
+
write_collected_feats: false
|
27 |
+
max_epoch: 15
|
28 |
+
patience: null
|
29 |
+
val_scheduler_criterion:
|
30 |
+
- valid
|
31 |
+
- loss
|
32 |
+
early_stopping_criterion:
|
33 |
+
- valid
|
34 |
+
- loss
|
35 |
+
- min
|
36 |
+
best_model_criterion:
|
37 |
+
- - valid
|
38 |
+
- cer_ctc
|
39 |
+
- min
|
40 |
+
keep_nbest_models: 1
|
41 |
+
nbest_averaging_interval: 0
|
42 |
+
grad_clip: 5.0
|
43 |
+
grad_clip_type: 2.0
|
44 |
+
grad_noise: false
|
45 |
+
accum_grad: 1
|
46 |
+
no_forward_run: false
|
47 |
+
resume: true
|
48 |
+
train_dtype: float32
|
49 |
+
use_amp: false
|
50 |
+
log_interval: null
|
51 |
+
use_matplotlib: true
|
52 |
+
use_tensorboard: true
|
53 |
+
use_wandb: false
|
54 |
+
wandb_project: null
|
55 |
+
wandb_id: null
|
56 |
+
wandb_entity: null
|
57 |
+
wandb_name: null
|
58 |
+
wandb_model_log_interval: -1
|
59 |
+
detect_anomaly: false
|
60 |
+
pretrain_path: null
|
61 |
+
init_param: []
|
62 |
+
ignore_init_mismatch: false
|
63 |
+
freeze_param:
|
64 |
+
- frontend.upstream.model.feature_extractor
|
65 |
+
- frontend.upstream.model.encoder.layers.0
|
66 |
+
- frontend.upstream.model.encoder.layers.1
|
67 |
+
- frontend.upstream.model.encoder.layers.2
|
68 |
+
- frontend.upstream.model.encoder.layers.3
|
69 |
+
- frontend.upstream.model.encoder.layers.4
|
70 |
+
- frontend.upstream.model.encoder.layers.5
|
71 |
+
- frontend.upstream.model.encoder.layers.6
|
72 |
+
- frontend.upstream.model.encoder.layers.7
|
73 |
+
- frontend.upstream.model.encoder.layers.8
|
74 |
+
- frontend.upstream.model.encoder.layers.9
|
75 |
+
- frontend.upstream.model.encoder.layers.10
|
76 |
+
- frontend.upstream.model.encoder.layers.11
|
77 |
+
- frontend.upstream.model.encoder.layers.12
|
78 |
+
- frontend.upstream.model.encoder.layers.13
|
79 |
+
- frontend.upstream.model.encoder.layers.14
|
80 |
+
- frontend.upstream.model.encoder.layers.15
|
81 |
+
- frontend.upstream.model.encoder.layers.16
|
82 |
+
- frontend.upstream.model.encoder.layers.17
|
83 |
+
- frontend.upstream.model.encoder.layers.18
|
84 |
+
- frontend.upstream.model.encoder.layers.19
|
85 |
+
- frontend.upstream.model.encoder.layers.20
|
86 |
+
- frontend.upstream.model.encoder.layers.21
|
87 |
+
num_iters_per_epoch: null
|
88 |
+
batch_size: 20
|
89 |
+
valid_batch_size: null
|
90 |
+
batch_bins: 200000
|
91 |
+
valid_batch_bins: null
|
92 |
+
train_shape_file:
|
93 |
+
- exp/asr_stats_raw_quy_bpe100_sp/train/speech_shape
|
94 |
+
- exp/asr_stats_raw_quy_bpe100_sp/train/text_shape.bpe
|
95 |
+
valid_shape_file:
|
96 |
+
- exp/asr_stats_raw_quy_bpe100_sp/valid/speech_shape
|
97 |
+
- exp/asr_stats_raw_quy_bpe100_sp/valid/text_shape.bpe
|
98 |
+
batch_type: numel
|
99 |
+
valid_batch_type: null
|
100 |
+
fold_length:
|
101 |
+
- 80000
|
102 |
+
- 150
|
103 |
+
sort_in_batch: descending
|
104 |
+
sort_batch: descending
|
105 |
+
multiple_iterator: false
|
106 |
+
chunk_length: 500
|
107 |
+
chunk_shift_ratio: 0.5
|
108 |
+
num_cache_chunks: 1024
|
109 |
+
train_data_path_and_name_and_type:
|
110 |
+
- - dump/raw/train_quy_sp/wav.scp
|
111 |
+
- speech
|
112 |
+
- sound
|
113 |
+
- - dump/raw/train_quy_sp/text
|
114 |
+
- text
|
115 |
+
- text
|
116 |
+
valid_data_path_and_name_and_type:
|
117 |
+
- - dump/raw/dev_quy/wav.scp
|
118 |
+
- speech
|
119 |
+
- sound
|
120 |
+
- - dump/raw/dev_quy/text
|
121 |
+
- text
|
122 |
+
- text
|
123 |
+
allow_variable_data_keys: false
|
124 |
+
max_cache_size: 0.0
|
125 |
+
max_cache_fd: 32
|
126 |
+
valid_max_cache_size: null
|
127 |
+
optim: adamw
|
128 |
+
optim_conf:
|
129 |
+
lr: 0.0001
|
130 |
+
scheduler: warmuplr
|
131 |
+
scheduler_conf:
|
132 |
+
warmup_steps: 300
|
133 |
+
token_list:
|
134 |
+
- <blank>
|
135 |
+
- <unk>
|
136 |
+
- ▁
|
137 |
+
- a
|
138 |
+
- n
|
139 |
+
- y
|
140 |
+
- u
|
141 |
+
- qa
|
142 |
+
- s
|
143 |
+
- ta
|
144 |
+
- q
|
145 |
+
- ri
|
146 |
+
- ku
|
147 |
+
- i
|
148 |
+
- kuna
|
149 |
+
- r
|
150 |
+
- m
|
151 |
+
- e
|
152 |
+
- cha
|
153 |
+
- pi
|
154 |
+
- pa
|
155 |
+
- o
|
156 |
+
- lla
|
157 |
+
- na
|
158 |
+
- ▁kay
|
159 |
+
- ▁ka
|
160 |
+
- ▁chay
|
161 |
+
- c
|
162 |
+
- chu
|
163 |
+
- ki
|
164 |
+
- ▁wa
|
165 |
+
- ña
|
166 |
+
- w
|
167 |
+
- ▁pa
|
168 |
+
- ra
|
169 |
+
- si
|
170 |
+
- man
|
171 |
+
- pas
|
172 |
+
- sqa
|
173 |
+
- l
|
174 |
+
- tu
|
175 |
+
- nku
|
176 |
+
- ▁ma
|
177 |
+
- yku
|
178 |
+
- taq
|
179 |
+
- ▁a
|
180 |
+
- ▁ima
|
181 |
+
- d
|
182 |
+
- ti
|
183 |
+
- chi
|
184 |
+
- manta
|
185 |
+
- ya
|
186 |
+
- ka
|
187 |
+
- mi
|
188 |
+
- h
|
189 |
+
- p
|
190 |
+
- wan
|
191 |
+
- nchik
|
192 |
+
- ll
|
193 |
+
- chkan
|
194 |
+
- spa
|
195 |
+
- ▁ha
|
196 |
+
- ▁ni
|
197 |
+
- pu
|
198 |
+
- yta
|
199 |
+
- chik
|
200 |
+
- mun
|
201 |
+
- ni
|
202 |
+
- paq
|
203 |
+
- sun
|
204 |
+
- ▁mana
|
205 |
+
- ▁wi
|
206 |
+
- k
|
207 |
+
- ▁allin
|
208 |
+
- ▁ancha
|
209 |
+
- ▁hina
|
210 |
+
- rí
|
211 |
+
- ▁punchaw
|
212 |
+
- ▁yacha
|
213 |
+
- ▁llaqta
|
214 |
+
- ñ
|
215 |
+
- ynin
|
216 |
+
- ▁rima
|
217 |
+
- b
|
218 |
+
- ▁huk
|
219 |
+
- skan
|
220 |
+
- ''''
|
221 |
+
- g
|
222 |
+
- j
|
223 |
+
- z
|
224 |
+
- á
|
225 |
+
- ó
|
226 |
+
- í
|
227 |
+
- ú
|
228 |
+
- f
|
229 |
+
- v
|
230 |
+
- t
|
231 |
+
- x
|
232 |
+
- é
|
233 |
+
- <sos/eos>
|
234 |
+
init: null
|
235 |
+
input_size: null
|
236 |
+
ctc_conf:
|
237 |
+
dropout_rate: 0.0
|
238 |
+
ctc_type: builtin
|
239 |
+
reduce: true
|
240 |
+
ignore_nan_grad: true
|
241 |
+
joint_net_conf: null
|
242 |
+
use_preprocessor: true
|
243 |
+
token_type: bpe
|
244 |
+
bpemodel: data/quy_token_list/bpe_unigram100/bpe.model
|
245 |
+
non_linguistic_symbols: null
|
246 |
+
cleaner: null
|
247 |
+
g2p: null
|
248 |
+
speech_volume_normalize: null
|
249 |
+
rir_scp: null
|
250 |
+
rir_apply_prob: 1.0
|
251 |
+
noise_scp: null
|
252 |
+
noise_apply_prob: 1.0
|
253 |
+
noise_db_range: '13_15'
|
254 |
+
frontend: s3prl
|
255 |
+
frontend_conf:
|
256 |
+
frontend_conf:
|
257 |
+
upstream: wav2vec2_url
|
258 |
+
upstream_ckpt: https://dl.fbaipublicfiles.com/fairseq/wav2vec/xlsr2_300m.pt
|
259 |
+
download_dir: ./hub
|
260 |
+
multilayer_feature: true
|
261 |
+
fs: 16k
|
262 |
+
specaug: null
|
263 |
+
specaug_conf: {}
|
264 |
+
normalize: utterance_mvn
|
265 |
+
normalize_conf: {}
|
266 |
+
model: espnet
|
267 |
+
model_conf:
|
268 |
+
ctc_weight: 1.0
|
269 |
+
lsm_weight: 0.0
|
270 |
+
length_normalized_loss: false
|
271 |
+
extract_feats_in_collect_stats: false
|
272 |
+
preencoder: linear
|
273 |
+
preencoder_conf:
|
274 |
+
input_size: 1024
|
275 |
+
output_size: 80
|
276 |
+
encoder: transformer
|
277 |
+
encoder_conf:
|
278 |
+
input_layer: conv2d2
|
279 |
+
num_blocks: 1
|
280 |
+
linear_units: 2048
|
281 |
+
dropout_rate: 0.2
|
282 |
+
output_size: 256
|
283 |
+
attention_heads: 8
|
284 |
+
attention_dropout_rate: 0.2
|
285 |
+
postencoder: null
|
286 |
+
postencoder_conf: {}
|
287 |
+
decoder: rnn
|
288 |
+
decoder_conf: {}
|
289 |
+
required:
|
290 |
+
- output_dir
|
291 |
+
- token_list
|
292 |
+
version: '202204'
|
293 |
+
distributed: false
|
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/acc.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/backward_time.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/cer.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/cer_ctc.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/forward_time.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/gpu_max_cached_mem_GB.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/iter_time.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss_att.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/loss_ctc.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/optim0_lr0.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/optim_step_time.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/train_time.png
ADDED
exp/asr_train_asr_transformer_raw_quy_bpe100_sp/images/wer.png
ADDED
meta.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
espnet: '202205'
|
2 |
+
files:
|
3 |
+
asr_model_file: exp/asr_train_asr_transformer_raw_quy_bpe100_sp/3epoch.pth
|
4 |
+
python: "3.9.13 (main, May 18 2022, 00:00:00) \n[GCC 11.3.1 20220421 (Red Hat 11.3.1-2)]"
|
5 |
+
timestamp: 1655141007.300776
|
6 |
+
torch: 1.11.0+cu115
|
7 |
+
yaml_files:
|
8 |
+
asr_train_config: exp/asr_train_asr_transformer_raw_quy_bpe100_sp/config.yaml
|