ESPnet2 pretrained model, kamo-naoyuki/ami_asr_train_asr_transformer4_raw_en_bpe100_sp_valid.acc.ave, fs=16k, lang=en
Creators: name: Kamo-Naoyuki
Publisher: name: Zenodo
Year: 2021
Subjects: ESPnet
deep-learning
python
pytorch
speech-recognition
speech-synthesis
speech-translation
machine-translation

description: This model was trained by kamo-naoyuki using ami recipe in espnet. <strong>Python API</strong><pre><code class="language-python">See https://github.com/espnet/espnet_model_zoo</code></pre> <strong>Evaluate in the recipe</strong><pre><code class="language-bash">git clone https://github.com/espnet/espnet cd espnet git checkout 89655c434c6403f100c89689db8868d9db94d3b8 pip install -e . cd egs2/ami/asr1 ./run.sh --skip_data_prep false --skip_train true --download_model kamo-naoyuki/ami_asr_train_asr_transformer4_raw_en_bpe100_sp_valid.acc.ave</code> </pre> <strong>Results</strong><pre><code> # RESULTS ## Environments - date: `Thu Mar 18 04:01:53 UTC 2021` - python version: `3.8.8 (default, Feb 24 2021, 21:46:12) [GCC 7.3.0]` - espnet version: `espnet 0.9.8` - pytorch version: `pytorch 1.8.0` - Git hash: `70d16d210cdce28e71b7892a0ec96eaaa6474d64` - Commit date: `Mon Mar 15 01:12:44 2021 +0000` ## asr_train_asr_transformer4_raw_en_bpe100_sp ### WER |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| |---|---|---|---|---|---|---|---|---| |decode_transformer2_asr_model_valid.acc.ave/ihm_dev|13057|94802|83.4|12.9|3.7|3.2|19.8|52.7| |decode_transformer2_asr_model_valid.acc.ave/ihm_eval|12643|89666|83.6|13.0|3.4|2.7|19.1|50.3| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_dev|13057|94802|83.5|12.0|4.6|2.6|19.1|51.9| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_eval|12643|89666|83.8|12.0|4.2|2.2|18.3|49.4| ### CER |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| |---|---|---|---|---|---|---|---|---| |decode_transformer2_asr_model_valid.acc.ave/ihm_dev|13057|451641|91.8|3.8|4.4|3.2|11.4|52.7| |decode_transformer2_asr_model_valid.acc.ave/ihm_eval|12643|432094|92.2|3.8|4.0|2.9|10.7|50.3| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_dev|13057|451641|91.4|3.7|5.0|2.9|11.5|51.9| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_eval|12643|432094|91.9|3.7|4.4|2.6|10.7|49.4| ### TER |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| |---|---|---|---|---|---|---|---|---| |decode_transformer2_asr_model_valid.acc.ave/ihm_dev|13057|254909|87.7|6.9|5.4|2.9|15.2|52.7| |decode_transformer2_asr_model_valid.acc.ave/ihm_eval|12643|243330|88.4|6.8|4.8|2.7|14.2|50.3| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_dev|13057|254909|87.5|6.7|5.8|2.6|15.1|51.9| |decode_transformer2_lm_lm_train_lm_transformer2_en_bpe100_valid.loss.ave_asr_model_valid.acc.ave/ihm_eval|12643|243330|88.5|6.4|5.1|2.5|14.0|49.4|</code></pre> <strong>ASR config</strong><pre><code>config: conf/tuning/train_asr_transformer4.yaml print_config: false log_level: INFO dry_run: false iterator_type: sequence output_dir: exp/asr_train_asr_transformer4_raw_en_bpe100_sp ngpu: 1 seed: 0 num_workers: 3 num_att_plot: 3 dist_backend: nccl dist_init_method: env:// dist_world_size: null dist_rank: null local_rank: 0 dist_master_addr: null dist_master_port: null dist_launcher: null multiprocessing_distributed: false unused_parameters: false sharded_ddp: false cudnn_enabled: true cudnn_benchmark: false cudnn_deterministic: true collect_stats: false write_collected_feats: false max_epoch: 75 patience: null val_scheduler_criterion: - valid - loss early_stopping_criterion: - valid - loss - min best_model_criterion: - - valid - acc - max keep_nbest_models: 10 grad_clip: 5.0 grad_clip_type: 2.0 grad_noise: false accum_grad: 1 no_forward_run: false resume: true train_dtype: float32 use_amp: false log_interval: null use_tensorboard: true use_wandb: false wandb_project: null wandb_id: null detect_anomaly: false pretrain_path: null init_param: [] freeze_param: [] num_iters_per_epoch: null batch_size: 20 valid_batch_size: null batch_bins: 14000000 valid_batch_bins: null train_shape_file: - exp/asr_stats_raw_en_bpe100_sp/train/speech_shape - exp/asr_stats_raw_en_bpe100_sp/train/text_shape.bpe valid_shape_file: - exp/asr_stats_raw_en_bpe100_sp/valid/speech_shape - exp/asr_stats_raw_en_bpe100_sp/valid/text_shape.bpe batch_type: numel valid_batch_type: null fold_length: - 80000 - 150 sort_in_batch: descending sort_batch: descending multiple_iterator: false chunk_length: 500 chunk_shift_ratio: 0.5 num_cache_chunks: 1024 train_data_path_and_name_and_type: - - dump/raw/ihm_train_sp/wav.scp - speech - kaldi_ark - - dump/raw/ihm_train_sp/text - text - text valid_data_path_and_name_and_type: - - dump/raw/ihm_dev/wav.scp - speech - kaldi_ark - - dump/raw/ihm_dev/text - text - text allow_variable_data_keys: false max_cache_size: 0.0 max_cache_fd: 32 valid_max_cache_size: null optim: adam optim_conf: lr: 0.003 scheduler: warmuplr scheduler_conf: warmup_steps: 25000 token_list: - - - E - T - S - ▁ - O - A - I - R - U - ▁THE - D - N - C - ▁A - Y - '''' - H - ▁I - M - RE - P - ▁S - L - ▁IT - ▁YEAH - ▁M - ▁YOU - ▁WE - ▁UH - G - ▁W - ▁TO - ▁THAT - ING - ▁C - ▁SO - ▁P - AN - ▁AND - F - ER - LL - K - W - EN - ▁F - AL - VE - 'ON' - ▁OF - ▁IN - B - ▁BE - ▁ON - ▁NO - ▁D - ▁T - ▁B - LE - IN - ▁H - ▁UM - ▁TH - . - ▁DO - V - LY - ▁HAVE - ▁IS - ▁OKAY - ▁L - ▁BUT - ▁GO - ▁FOR - ▁LIKE - ▁MM - ▁CAN - ▁THINK - ▁THIS - ▁JUST - ▁WHAT - X - ▁OR - HMM - ▁WITH - ▁KNOW - '-' - ▁USE - ▁WOULD - ▁RIGHT - ▁REMOTE - ▁BUTTON - J - Z - '*' - '@' - Q - init: null input_size: null ctc_conf: ignore_nan_grad: true model_conf: ctc_weight: 0.3 lsm_weight: 0.1 length_normalized_loss: false use_preprocessor: true token_type: bpe bpemodel: data/en_token_list/bpe_unigram100/bpe.model non_linguistic_symbols: null cleaner: null g2p: null speech_volume_normalize: null rir_scp: null rir_apply_prob: 1.0 noise_scp: null noise_apply_prob: 1.0 noise_db_range: '13_15' frontend: default frontend_conf: fs: 16k specaug: specaug specaug_conf: apply_time_warp: true time_warp_window: 5 time_warp_mode: bicubic apply_freq_mask: true freq_mask_width_range: - 0 - 30 num_freq_mask: 2 apply_time_mask: true time_mask_width_range: - 0 - 40 num_time_mask: 2 normalize: global_mvn normalize_conf: stats_file: exp/asr_stats_raw_en_bpe100_sp/train/feats_stats.npz preencoder: null preencoder_conf: {} encoder: transformer encoder_conf: output_size: 256 attention_heads: 4 linear_units: 2048 num_blocks: 12 dropout_rate: 0.1 positional_dropout_rate: 0.1 attention_dropout_rate: 0.0 input_layer: conv2d normalize_before: true decoder: transformer decoder_conf: attention_heads: 4 linear_units: 2048 num_blocks: 6 dropout_rate: 0.1 positional_dropout_rate: 0.1 self_attention_dropout_rate: 0.0 src_attention_dropout_rate: 0.0 required: - output_dir - token_list version: 0.9.8 distributed: false</code></pre> <strong>LM config</strong><pre><code>config: conf/tuning/train_lm_transformer2.yaml print_config: false log_level: INFO dry_run: false iterator_type: sequence output_dir: exp/lm_train_lm_transformer2_en_bpe100 ngpu: 1 seed: 0 num_workers: 1 num_att_plot: 3 dist_backend: nccl dist_init_method: env:// dist_world_size: null dist_rank: null local_rank: 0 dist_master_addr: null dist_master_port: null dist_launcher: null multiprocessing_distributed: false unused_parameters: false sharded_ddp: false cudnn_enabled: true cudnn_benchmark: false cudnn_deterministic: true collect_stats: false write_collected_feats: false max_epoch: 25 patience: null val_scheduler_criterion: - valid - loss early_stopping_criterion: - valid - loss - min best_model_criterion: - - valid - loss - min keep_nbest_models: 10 grad_clip: 5.0 grad_clip_type: 2.0 grad_noise: false accum_grad: 1 no_forward_run: false resume: true train_dtype: float32 use_amp: false log_interval: null use_tensorboard: true use_wandb: false wandb_project: null wandb_id: null detect_anomaly: false pretrain_path: null init_param: [] freeze_param: [] num_iters_per_epoch: null batch_size: 20 valid_batch_size: null batch_bins: 2000000 valid_batch_bins: null train_shape_file: - exp/lm_stats_en_bpe100/train/text_shape.bpe valid_shape_file: - exp/lm_stats_en_bpe100/valid/text_shape.bpe batch_type: numel valid_batch_type: null fold_length: - 150 sort_in_batch: descending sort_batch: descending multiple_iterator: false chunk_length: 500 chunk_shift_ratio: 0.5 num_cache_chunks: 1024 train_data_path_and_name_and_type: - - dump/raw/lm_train.txt - text - text valid_data_path_and_name_and_type: - - dump/raw/ihm_dev/text - text - text allow_variable_data_keys: false max_cache_size: 0.0 max_cache_fd: 32 valid_max_cache_size: null optim: adam optim_conf: lr: 0.002 scheduler: warmuplr scheduler_conf: warmup_steps: 1000 token_list: - - - E - T - S - ▁ - O - A - I - R - U - ▁THE - D - N - C - ▁A - Y - '''' - H - ▁I - M - RE - P - ▁S - L - ▁IT - ▁YEAH - ▁M - ▁YOU - ▁WE - ▁UH - G - ▁W - ▁TO - ▁THAT - ING - ▁C - ▁SO - ▁P - AN - ▁AND - F - ER - LL - K - W - EN - ▁F - AL - VE - 'ON' - ▁OF - ▁IN - B - ▁BE - ▁ON - ▁NO - ▁D - ▁T - ▁B - LE - IN - ▁H - ▁UM - ▁TH - . - ▁DO - V - LY - ▁HAVE - ▁IS - ▁OKAY - ▁L - ▁BUT - ▁GO - ▁FOR - ▁LIKE - ▁MM - ▁CAN - ▁THINK - ▁THIS - ▁JUST - ▁WHAT - X - ▁OR - HMM - ▁WITH - ▁KNOW - '-' - ▁USE - ▁WOULD - ▁RIGHT - ▁REMOTE - ▁BUTTON - J - Z - '*' - '@' - Q - init: null model_conf: ignore_id: 0 use_preprocessor: true token_type: bpe bpemodel: data/en_token_list/bpe_unigram100/bpe.model non_linguistic_symbols: null cleaner: null g2p: null lm: transformer lm_conf: pos_enc: null embed_unit: 128 att_unit: 512 head: 8 unit: 2048 layer: 16 dropout_rate: 0.1 required: - output_dir - token_list version: 0.9.8 distributed: false</code></pre>