readme: ---
  tags:
  - espnet
  - audio
  - automatic-speech-recognition
  language: noinfo
  datasets:
  - swbd
  license: cc-by-4.0
  ---
  
  ## ESPnet2 ASR model 
  
  ### `espnet/roshansh_asr_base_sp_conformer_swbd`
  
  This model was trained by roshansh-cmu using swbd recipe in [espnet](https://github.com/espnet/espnet/).
  
  ### Demo: How to use in ESPnet2
  
  ```bash
  cd espnet
  git checkout a04a98c98797b314f2425082bc40261757fd47de
  pip install -e .
  cd egs2/swbd/asr1
  ./run.sh --skip_data_prep false --skip_train true --download_model espnet/roshansh_asr_base_sp_conformer_swbd
  ```
  
  <!-- Generated by scripts/utils/show_asr_result.sh -->
  # RESULTS
  ## Environments
  - date: `Sun Mar 13 17:23:58 EDT 2022`
  - python version: `3.8.12 (default, Oct 12 2021, 13:49:34)  [GCC 7.5.0]`
  - espnet version: `espnet 0.10.7a1`
  - pytorch version: `pytorch 1.10.1`
  - Git hash: `a04a98c98797b314f2425082bc40261757fd47de`
    - Commit date: `Thu Mar 3 16:09:41 2022 -0500`
  
  ## roshansh_asr_base_sp_conformer_swbd
  ### WER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_asr_model_valid.acc.ave_10best/eval2000/hyp.callhm.ctm.filt.sys|2628|21594|87.4|9.6|3.0|2.0|14.6|49.7|
  |decode_asr_asr_model_valid.acc.ave_10best/eval2000/hyp.ctm.filt.sys|4459|42989|90.5|7.0|2.5|1.5|10.9|44.7|
  |decode_asr_asr_model_valid.acc.ave_10best/eval2000/hyp.swbd.ctm.filt.sys|1831|21395|93.7|4.3|2.0|0.9|7.2|37.7|
  |decode_lm_lm_lm_base_lm_transformer_valid.loss.ave_asr_model_valid.acc.ave_10best/eval2000/hyp.callhm.ctm.filt.sys|2628|21594|88.0|8.9|3.1|2.0|14.0|48.0|
  |decode_lm_lm_lm_base_lm_transformer_valid.loss.ave_asr_model_valid.acc.ave_10best/eval2000/hyp.ctm.filt.sys|4459|42989|91.0|6.5|2.5|1.4|10.4|43.0|
  |decode_lm_lm_lm_base_lm_transformer_valid.loss.ave_asr_model_valid.acc.ave_10best/eval2000/hyp.swbd.ctm.filt.sys|1831|21395|94.0|4.0|2.0|0.9|6.8|35.9|
  
  ### CER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_asr_model_valid.acc.ave_10best/eval2000|4458|181952|92.3|3.7|4.0|11.9|19.5|69.9|
  |decode_lm_lm_lm_base_lm_transformer_valid.loss.ave_asr_model_valid.acc.ave_10best/eval2000|4458|181952|92.3|3.7|4.1|11.6|19.3|69.1|
  
  ### TER
  
  |dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err|
  |---|---|---|---|---|---|---|---|---|
  |decode_asr_asr_model_valid.acc.ave_10best/eval2000|4458|47302|81.7|13.5|4.8|16.7|34.9|69.9|
  |decode_lm_lm_lm_base_lm_transformer_valid.loss.ave_asr_model_valid.acc.ave_10best/eval2000|4458|47302|81.9|13.1|5.0|16.4|34.5|69.1|
  
  ## ASR config
  
  <details><summary>expand</summary>
  
  ```
  config: conf/train_asr_confformer.yaml
  print_config: false
  log_level: INFO
  dry_run: false
  iterator_type: sequence
  output_dir: exp/asr_base_sp_conformer
  ngpu: 1
  seed: 0
  num_workers: 1
  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: 52583
  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: 150
  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: 3000
  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: 75000000
  valid_batch_bins: null
  train_shape_file:
  - exp/asr_stats_base_sp/train/speech_shape
  - exp/asr_stats_base_sp/train/text_shape.bpe
  valid_shape_file:
  - exp/asr_stats_base_sp/valid/speech_shape
  - exp/asr_stats_base_sp/valid/text_shape.bpe
  batch_type: numel
  valid_batch_type: null
  fold_length:
  - 80000
  - 150
  - 800
  - 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/fbank_pitch/train_nodup_sp/feats.scp
      - speech
      - kaldi_ark
  -   - dump/fbank_pitch/train_nodup_sp/text
      - text
      - text
  valid_data_path_and_name_and_type:
  -   - dump/fbank_pitch/train_dev/feats.scp
      - speech
      - kaldi_ark
  -   - dump/fbank_pitch/train_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.006
  scheduler: warmuplr
  scheduler_conf:
      warmup_steps: 25000
  token_list:
  - <blank>
  - <unk>
  - ▁i
  - s
  - ''''
  - ▁and
  - ▁the
  - ▁you
  - ▁that
  - ▁a
  - ▁it
  - ▁uh
  - ▁to
  - t
  - ▁of
  - ▁know
  - ▁they
  - '-'
  - ▁in
  - ▁we
  - ']'
  - ▁[
  - ▁yeah
  - ▁have
  - ▁but
  - ▁so
  - ▁was
  - ▁like
  - re
  - m
  - ▁um
  - ▁just
  - ▁well
  - ▁do
  - ▁for
  - d
  - ▁think
  - ing
  - ▁don
  - ▁is
  - ▁there
  - ▁or
  - ▁on
  - ▁be
  - noise
  - ▁what
  - laughter
  - ▁oh
  