readme: ---
  tags:
  - espnet
  - audio
  - automatic-speech-recognition
  language: en
  datasets:
  - librispeech_100
  license: cc-by-4.0
  ---
  
  ## ESPnet2 ASR model 
  
  ### `pyf98/librispeech_100h_transformer`
  
  This model was trained by Yifan Peng using librispeech_100 recipe in [espnet](https://github.com/espnet/espnet/).
  
  ### Demo: How to use in ESPnet2
  
  ```bash
  cd espnet
  git checkout f6779876103be2116de158a44757f8979eff0ab0
  pip install -e .
  cd egs2/librispeech_100/asr1
  ./run.sh --skip_data_prep false --skip_train true --download_model pyf98/librispeech_100h_transformer
  ```
  
  <!-- Generated by scripts/utils/show_asr_result.sh -->
  # RESULTS
  ## Environments
  - date: `Fri Feb 18 16:00:45 EST 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: `f6779876103be2116de158a44757f8979eff0ab0`
    - Commit date: `Fri Feb 18 15:57:13 2022 -0500`
  
  ## asr_transformer_win400_hop160_ctc0.3_lr2e-3_warmup15k_timemask5_amp_no-deterministic
  ### WER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam20_ctc0.3/dev_clean|2703|54402|93.0|6.4|0.5|1.1|8.1|63.1|
  |beam20_ctc0.3/dev_other|2864|50948|82.5|15.9|1.6|2.7|20.2|83.8|
  |beam20_ctc0.3/test_clean|2620|52576|92.8|6.5|0.7|1.2|8.4|63.3|
  |beam20_ctc0.3/test_other|2939|52343|82.1|16.0|1.9|2.6|20.5|84.8|
  
  ### CER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam20_ctc0.3/dev_clean|2703|288456|97.5|1.4|1.1|0.9|3.4|63.1|
  |beam20_ctc0.3/dev_other|2864|265951|92.1|4.8|3.1|2.4|10.3|83.8|
  |beam20_ctc0.3/test_clean|2620|281530|97.4|1.4|1.2|0.9|3.5|63.3|
  |beam20_ctc0.3/test_other|2939|272758|92.0|4.7|3.2|2.3|10.2|84.8|
  
  ### TER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |beam20_ctc0.3/dev_clean|2703|69558|89.9|6.1|4.0|0.8|10.9|63.1|
  |beam20_ctc0.3/dev_other|2864|64524|78.5|15.3|6.2|2.8|24.3|83.8|
  |beam20_ctc0.3/test_clean|2620|66983|90.0|6.2|3.9|0.8|10.9|63.3|
  |beam20_ctc0.3/test_other|2939|66650|77.9|15.2|6.9|2.5|24.6|84.8|
  
  ## ASR config
  
  <details><summary>expand</summary>
  
  ```
  config: conf/train_asr_transformer_win400_hop160_ctc0.3_lr2e-3_warmup15k_timemask5_amp_no-deterministic.yaml
  print_config: false
  log_level: INFO
  dry_run: false
  iterator_type: sequence
  output_dir: exp/asr_transformer_win400_hop160_ctc0.3_lr2e-3_warmup15k_timemask5_amp_no-deterministic
  ngpu: 1
  seed: 2022
  num_workers: 4
  num_att_plot: 0
  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: false
  collect_stats: false
  write_collected_feats: false
  max_epoch: 70
  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: 400
  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: 16000000
  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_clean_100_sp/wav.scp
      - speech
      - kaldi_ark
  -   - dump/raw/train_clean_100_sp/text
      - text
      - text
  valid_data_path_and_name_and_type:
  -   - dump/raw/dev/wav.scp
      - speech
      - kaldi_ark
  -   - dump/raw/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
      weight_decay: 1.0e-06
  scheduler: warmuplr
  scheduler_conf:
      warmup_steps: 15000
  token_list:
  - <blank>
  - <unk>
  - ▁THE
  - S
  - ▁AND
  - ▁OF
  - ▁TO
  - ▁A
  - ▁IN
  - ED
  - ▁I
  - ▁HE
  - ▁WAS
  - ▁THAT
  - ING
  - ▁IT
  - ''''
  - ▁HIS
  - ▁HAD
  - ▁WITH
  - ▁YOU
  - ▁FOR
  - T
  - ▁AS
  - ▁HER
  - LY
  - ▁NOT
  - ▁BUT
  - ▁SHE
  - ▁BE
  - D
  - E
  - ▁IS
  - ▁AT
  - ▁ON
  - ▁HIM
  - ▁THEY
  - ▁BY
  - ▁HAVE
  - Y
  - ▁MY
  - ▁SO
  - ▁ALL
  - ▁THIS
  - ▁WERE
  - ▁WHICH
  - ▁ME
  - ▁FROM
  - ▁ONE
  - ▁SAID
  - ▁WE
  - N
  - ER
  - ▁NO
  - ▁THERE
  - ▁WHEN
  - ▁AN
  - ▁THEIR
  - ▁OR
  - ▁WOULD
  - ▁WHO
  - ▁THEM
  - R
  - ▁IF
  - ▁WHAT
  - ▁ARE
  