readme: ---
  tags:
  - espnet
  - audio
  - automatic-speech-recognition
  language: zh
  datasets:
  - aishell2
  license: cc-by-4.0
  ---
  
  ## ESPnet2 ASR model 
  
  ### `espnet/aishell2_att_ctc_espnet2`
  
  This model was trained by jctian98 using aishell2 recipe in [espnet](https://github.com/espnet/espnet/).
  
  ### Demo: How to use in ESPnet2
  
  ```bash
  cd espnet
  git checkout 04803559d6dcde718638cfbd98139a9ddad1da72
  pip install -e .
  cd egs2/aishell2/asr1
  ./run.sh --skip_data_prep false --skip_train true --download_model espnet/aishell2_att_ctc_espnet2
  ```
  
  <!-- Generated by scripts/utils/show_asr_result.sh -->
  # RESULTS
  ## Environments
  - date: `Thu Jun 16 16:51:22 CST 2022`
  - python version: `3.8.13 (default, Mar 28 2022, 11:38:47)  [GCC 7.5.0]`
  - espnet version: `espnet 202205`
  - pytorch version: `pytorch 1.7.0`
  - Git hash: `991eaa4a9e22c114ca59ef3988b4fcd0cdf25cdf`
    - Commit date: `Sat Jun 11 14:09:32 2022 +0800`
  
  ## asr_train_asr_conformer_raw_zh_char_sp
  ### WER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_rnn_asr_model_valid.acc.ave/dev_ios|2500|2500|66.3|33.7|0.0|0.0|33.7|33.7|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_android|5000|5002|63.8|36.2|0.0|0.0|36.2|36.2|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_ios|5000|5002|65.5|34.5|0.0|0.0|34.5|34.5|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_mic|5000|5002|63.4|36.6|0.0|0.0|36.6|36.6|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/dev_ios|2500|2500|68.4|31.6|0.0|0.0|31.6|31.6|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_android|5000|5002|65.0|35.0|0.0|0.0|35.0|35.0|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_ios|5000|5002|66.5|33.4|0.0|0.0|33.5|33.4|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_mic|5000|5002|65.4|34.6|0.0|0.0|34.6|34.6|
  
  ### CER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_rnn_asr_model_valid.acc.ave/dev_ios|2500|24802|94.8|5.0|0.2|0.1|5.4|33.7|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_android|5000|49534|94.0|5.8|0.2|0.1|6.1|36.2|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_ios|5000|49534|94.5|5.4|0.2|0.1|5.7|34.5|
  |decode_asr_rnn_asr_model_valid.acc.ave/test_mic|5000|49534|94.0|5.8|0.2|0.1|6.1|36.6|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/dev_ios|2500|24802|94.9|4.9|0.3|0.1|5.2|31.6|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_android|5000|49534|94.1|5.6|0.3|0.1|6.0|35.0|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_ios|5000|49534|94.6|5.1|0.2|0.1|5.5|33.4|
  |decode_asr_rnn_lm_lm_train_lm_transformer_zh_char_valid.loss.ave_asr_model_valid.acc.ave/test_mic|5000|49534|94.3|5.5|0.2|0.1|5.8|34.6|
  
  ### TER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  
  ## ASR config
  
  <details><summary>expand</summary>
  
  ```
  config: conf/train_asr_conformer.yaml
  print_config: false
  log_level: INFO
  dry_run: false
  iterator_type: sequence
  output_dir: exp/asr_train_asr_conformer_raw_zh_char_sp
  ngpu: 1
  seed: 0
  num_workers: 4
  num_att_plot: 3
  dist_backend: nccl
  dist_init_method: env://
  dist_world_size: 8
  dist_rank: 0
  local_rank: 0
  dist_master_addr: localhost
  dist_master_port: 37023
  dist_launcher: null
  multiprocessing_distributed: true
  unused_parameters: false
  sharded_ddp: false
  cudnn_enabled: true
  cudnn_benchmark: false
  cudnn_deterministic: true
  collect_stats: false
  write_collected_feats: false
  max_epoch: 50
  patience: null
  val_scheduler_criterion:
  - valid
  - acc
  early_stopping_criterion:
  - valid
  - loss
  - min
  best_model_criterion:
  -   - valid
      - acc
      - max
  keep_nbest_models: 10
  nbest_averaging_interval: 0
  grad_clip: 5
  grad_clip_type: 2.0
  grad_noise: false
  accum_grad: 4
  no_forward_run: false
  resume: true
  train_dtype: float32
  use_amp: false
  log_interval: null
  use_matplotlib: true
  use_tensorboard: true
  use_wandb: false
  wandb_project: null
  wandb_id: null
  wandb_entity: null
  wandb_name: null
  wandb_model_log_interval: -1
  detect_anomaly: false
  pretrain_path: null
  init_param: []
  ignore_init_mismatch: false
  freeze_param: []
  num_iters_per_epoch: null
  batch_size: 20
  valid_batch_size: null
  batch_bins: 20000000
  valid_batch_bins: null
  train_shape_file:
  - exp/asr_stats_raw_zh_char_sp/train/speech_shape
  - exp/asr_stats_raw_zh_char_sp/train/text_shape.char
  valid_shape_file:
  - exp/asr_stats_raw_zh_char_sp/valid/speech_shape
  - exp/asr_stats_raw_zh_char_sp/valid/text_shape.char
  batch_type: numel
  valid_batch_type: null
  fold_length:
  - 51200
  - 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/train_noeng_sp/wav.scp
      - speech
      - sound
  -   - dump/raw/train_noeng_sp/text
      - text
    