readme: ---
  tags:
  - espnet
  - audio
  - automatic-speech-recognition
  language: en
  datasets:
  - librispeech
  license: cc-by-4.0
  ---
  
  ## ESPnet2 ASR model 
  
  ### `pyf98/librispeech_conformer_hop_length160`
  
  This model was trained by Yifan Peng using librispeech recipe in [espnet](https://github.com/espnet/espnet/).
  
  ### Demo: How to use in ESPnet2
  
  ```bash
  cd espnet
  git checkout 33edd1fc077f6a35e8cb0a59f208cb4564aa4cfb
  pip install -e .
  cd egs2/librispeech/asr1
  ./run.sh --skip_data_prep false --skip_train true --download_model pyf98/librispeech_conformer_hop_length160
  ```
  
  <!-- Generated by scripts/utils/show_asr_result.sh -->
  # RESULTS
  ## Environments
  - date: `Mon Mar 14 12:26:10 EDT 2022`
  - python version: `3.9.7 (default, Sep 16 2021, 13:09:58)  [GCC 7.5.0]`
  - espnet version: `espnet 0.10.7a1`
  - pytorch version: `pytorch 1.10.1`
  - Git hash: `467660021998c416ac366aed0f75f3399e321a3a`
    - Commit date: `Sun Mar 13 17:08:56 2022 -0400`
  
  ## asr_train_asr_conformer10_hop_length160_raw_en_bpe5000_sp
  ### WER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam60_ctc0.3/dev_clean|2703|54402|98.1|1.7|0.2|0.2|2.1|27.7|
  |beam60_ctc0.3/dev_other|2864|50948|95.3|4.3|0.4|0.5|5.2|44.1|
  |beam60_ctc0.3/test_clean|2620|52576|97.9|1.9|0.2|0.3|2.4|27.9|
  |beam60_ctc0.3/test_other|2939|52343|95.4|4.1|0.4|0.6|5.2|44.8|
  |beam60_ctc0.3_lm0.6/dev_clean|2703|54402|98.4|1.4|0.2|0.2|1.8|23.3|
  |beam60_ctc0.3_lm0.6/dev_other|2864|50948|96.4|3.2|0.4|0.4|3.9|36.2|
  |beam60_ctc0.3_lm0.6/test_clean|2620|52576|98.3|1.5|0.2|0.2|2.0|23.7|
  |beam60_ctc0.3_lm0.6/test_other|2939|52343|96.2|3.3|0.4|0.5|4.2|39.6|
  
  ### CER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam60_ctc0.3/dev_clean|2703|288456|99.5|0.3|0.2|0.2|0.7|27.7|
  |beam60_ctc0.3/dev_other|2864|265951|98.4|1.0|0.6|0.6|2.2|44.1|
  |beam60_ctc0.3/test_clean|2620|281530|99.4|0.3|0.3|0.2|0.8|27.9|
  |beam60_ctc0.3/test_other|2939|272758|98.5|0.9|0.7|0.6|2.1|44.8|
  |beam60_ctc0.3_lm0.6/dev_clean|2703|288456|99.5|0.2|0.2|0.2|0.6|23.3|
  |beam60_ctc0.3_lm0.6/dev_other|2864|265951|98.5|0.8|0.6|0.5|1.9|36.2|
  |beam60_ctc0.3_lm0.6/test_clean|2620|281530|99.5|0.2|0.3|0.2|0.7|23.7|
  |beam60_ctc0.3_lm0.6/test_other|2939|272758|98.6|0.7|0.7|0.5|1.9|39.6|
  
  ### TER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam60_ctc0.3/dev_clean|2703|68010|97.6|1.7|0.6|0.4|2.7|27.7|
  |beam60_ctc0.3/dev_other|2864|63110|94.2|4.3|1.5|0.9|6.7|44.1|
  |beam60_ctc0.3/test_clean|2620|65818|97.4|1.8|0.8|0.4|3.0|27.9|
  |beam60_ctc0.3/test_other|2939|65101|94.4|3.9|1.7|0.8|6.4|44.8|
  |beam60_ctc0.3_lm0.6/dev_clean|2703|68010|98.0|1.4|0.6|0.3|2.3|23.3|
  |beam60_ctc0.3_lm0.6/dev_other|2864|63110|95.2|3.4|1.4|0.6|5.5|36.2|
  |beam60_ctc0.3_lm0.6/test_clean|2620|65818|97.8|1.4|0.8|0.3|2.5|23.7|
  |beam60_ctc0.3_lm0.6/test_other|2939|65101|95.1|3.2|1.7|0.6|5.5|39.6|
  
  ## ASR config
  
  <details><summary>expand</summary>
  
  ```
  config: conf/tuning/train_asr_conformer10_hop_length160.yaml
  print_config: false
  log_level: INFO
  dry_run: false
  iterator_type: sequence
  output_dir: exp/asr_train_asr_conformer10_hop_length160_raw_en_bpe5000_sp
  ngpu: 1
  seed: 0
  num_workers: 4
  num_att_plot: 3
  dist_backend: nccl
  dist_init_method: env://
  dist_world_size: 4
  dist_rank: 0
  local_rank: 0
  dist_master_addr: localhost
  dist_master_port: 51595
  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
  - loss
  early_stopping_criterion:
  - valid
  - loss
  - min
  best_model_criterion:
  -   - valid
      - acc
      - max
  keep_nbest_models: 10
  nbest_averaging_interval: 0
  grad_clip: 5.0
  grad_clip_type: 2.0
  grad_noise: false
  accum_grad: 4
  no_forward_run: false
  resume: true
  train_dtype: float32
  use_amp: true
  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: 35000000
  valid_batch_bins: null
  train_shape_file:
  - exp/asr_stats_raw_en_bpe5000_sp/train/speech_shape
  - exp/asr_stats_raw_en_bpe5000_sp/train/text_shape.bpe
  valid_shape_file:
  - exp/asr_stats_raw_en_bpe5000_sp/valid/speech_shape
  - exp/asr_stats_raw_en_bpe5000_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/train_960_sp/wav.scp
      - speech
      - sound
  -   - dump/raw/train_960_sp/text
      - text
      - text
  valid_data_path_and_name_and_type:
  -   - dump/raw/dev/wav.scp
      - speech
      - sound
  -   - dump