readme: ---
  tags:
  - espnet
  - audio
  - automatic-speech-recognition
  language: en
  datasets:
  - librispeech
  license: cc-by-4.0
  ---
  
  ## ESPnet2 ASR model 
  
  ### `eml914/streaming_transformer_asr_librispeech`
  
  This model was trained by Emiru Tsunoo using librispeech recipe in [espnet](https://github.com/espnet/espnet/).
  
  ### Demo: How to use in ESPnet2
  
  ```bash
  cd espnet
  git checkout 12eb132418a1f69548f7998e53273cd05d989ed9
  pip install -e .
  cd egs2/librispeech/asr1
  ./run.sh --skip_data_prep false --skip_train true --download_model eml914/streaming_transformer_asr_librispeech
  ```
  
  <!-- Generated by scripts/utils/show_asr_result.sh -->
  # RESULTS
  ## Environments
  - date: `Wed Nov 17 18:18:46 JST 2021`
  - python version: `3.8.11 (default, Aug  3 2021, 15:09:35)  [GCC 7.5.0]`
  - espnet version: `espnet 0.10.5a1`
  - pytorch version: `pytorch 1.4.0`
  - Git hash: `12eb132418a1f69548f7998e53273cd05d989ed9`
    - Commit date: `Tue Nov 16 10:12:21 2021 +0900`
  
  ## asr_train_asr_streaming_fbank_pitch_en_bpe5000_sp
  ### WER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_clean|2703|54402|97.6|2.2|0.3|0.3|2.7|31.9|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_other|2864|50948|93.5|5.8|0.7|0.9|7.4|50.4|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean|2620|52576|97.5|2.3|0.3|0.3|2.9|33.1|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean_dbg|2620|62|96.8|3.2|0.0|0.0|3.2|0.0|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_other|2939|52343|93.5|5.7|0.8|0.9|7.4|53.7|
  
  ### CER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_clean|2703|288456|99.2|0.4|0.4|0.3|1.1|31.9|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_other|2864|265951|97.2|1.6|1.2|0.9|3.7|50.4|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean|2620|281530|99.2|0.4|0.4|0.3|1.1|33.1|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean_dbg|2620|367|99.5|0.0|0.5|0.8|1.4|0.0|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_other|2939|272758|97.3|1.5|1.3|0.9|3.6|53.7|
  
  ### TER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_clean|2703|68010|96.8|2.1|1.1|0.4|3.6|31.9|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/dev_other|2864|63110|91.9|5.9|2.2|1.5|9.6|50.4|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean|2620|65818|96.7|2.2|1.1|0.4|3.7|33.1|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_clean_dbg|2620|94|97.9|2.1|0.0|1.1|3.2|0.0|
  |decode_asr_streaming_lm_lm_train_lm_adam_en_bpe5000_valid.loss.ave_asr_model_valid.acc.ave/test_other|2939|65101|91.8|5.5|2.7|1.2|9.4|53.7|
  
  ## ASR config
  
  <details><summary>expand</summary>
  
  ```
  config: conf/tuning/train_asr_streaming.yaml
  print_config: false
  log_level: INFO
  dry_run: false
  iterator_type: sequence
  output_dir: exp/asr_train_asr_streaming_fbank_pitch_en_bpe5000_sp
  ngpu: 1
  seed: 0
  num_workers: 1
  num_att_plot: 0
  dist_backend: nccl
  dist_init_method: env://
  dist_world_size: 4
  dist_rank: 0
  local_rank: 0
  dist_master_addr: localhost
  dist_master_port: 33851
  dist_launcher: null
  multiprocessing_distributed: true
  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
  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: false
  log_interval: null
  unused_parameters: false
  use_tensorboard: true
  use_wandb: false
  wandb_project: null
  wandb_id: null
  pretrain_path: null
  init_param: []
  freeze_param: []
  num_iters_per_epoch: null
  batch_size: 20
  valid_batch_size: null
  batch_bins: 16000000
  valid_batch_bins: null
  train_shape_file:
  - exp/asr_stats_fbank_pitch_en_bpe5000_sp/train/speech_shape
  - exp/asr_stats_fbank_pitch_en_bpe5000_sp/train/text_shape.bpe
  valid_shape_file:
  - exp/asr_stats_fbank_pitch_en_bpe5000_sp/valid/speech_shape
  - exp/asr_stats_fbank_pitch_en_bpe5000_sp/valid/text_shape.bpe
  batch_type: numel
  valid_batch_type: null
  fold_length:
  - 800
  - 150
  sort_in_batch: descending
  sort_batch: descending
  mul