From f2bdb6b0ca25ad7b1569654b6c0eba6c584cb2ab Mon Sep 17 00:00:00 2001 From: Satvik Dixit Date: Wed, 3 Apr 2024 12:20:37 -0400 Subject: [PATCH 01/15] makerere asr --- egs2/makerere/asr1/RESULTS.md | 48 ++++++++ egs2/makerere/asr1/asr.sh | 1 + egs2/makerere/asr1/cmd.sh | 110 ++++++++++++++++++ egs2/makerere/asr1/conf/fbank.conf | 2 + egs2/makerere/asr1/conf/pbs.conf | 11 ++ egs2/makerere/asr1/conf/pitch.conf | 1 + egs2/makerere/asr1/conf/queue.conf | 12 ++ egs2/makerere/asr1/conf/slurm.conf | 15 +++ .../conf/train_asr_demo_branchformer.yaml | 63 ++++++++++ egs2/makerere/asr1/db.sh | 1 + egs2/makerere/asr1/local/data.sh | 61 ++++++++++ egs2/makerere/asr1/local/data_prep.py | 51 ++++++++ egs2/makerere/asr1/local/path.sh | 0 egs2/makerere/asr1/path.sh | 1 + egs2/makerere/asr1/pyscripts | 1 + egs2/makerere/asr1/run.sh | 31 +++++ egs2/makerere/asr1/scripts | 1 + egs2/makerere/asr1/steps | 1 + egs2/makerere/asr1/utils | 1 + 19 files changed, 412 insertions(+) create mode 100644 egs2/makerere/asr1/RESULTS.md create mode 120000 egs2/makerere/asr1/asr.sh create mode 100644 egs2/makerere/asr1/cmd.sh create mode 100644 egs2/makerere/asr1/conf/fbank.conf create mode 100644 egs2/makerere/asr1/conf/pbs.conf create mode 100644 egs2/makerere/asr1/conf/pitch.conf create mode 100644 egs2/makerere/asr1/conf/queue.conf create mode 100644 egs2/makerere/asr1/conf/slurm.conf create mode 100644 egs2/makerere/asr1/conf/train_asr_demo_branchformer.yaml create mode 120000 egs2/makerere/asr1/db.sh create mode 100755 egs2/makerere/asr1/local/data.sh create mode 100644 egs2/makerere/asr1/local/data_prep.py create mode 100644 egs2/makerere/asr1/local/path.sh create mode 120000 egs2/makerere/asr1/path.sh create mode 120000 egs2/makerere/asr1/pyscripts create mode 100755 egs2/makerere/asr1/run.sh create mode 120000 egs2/makerere/asr1/scripts create mode 120000 egs2/makerere/asr1/steps create mode 120000 egs2/makerere/asr1/utils diff --git a/egs2/makerere/asr1/RESULTS.md b/egs2/makerere/asr1/RESULTS.md new file mode 100644 index 00000000000..1c556a53ef8 --- /dev/null +++ b/egs2/makerere/asr1/RESULTS.md @@ -0,0 +1,48 @@ + +# RESULTS +## Environments +- date: `Thu Mar 28 00:34:47 EDT 2024` +- python version: `3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:36:39) [GCC 12.3.0]` +- espnet version: `espnet 202402` +- pytorch version: `pytorch 2.0.1` +- Git hash: `eed7751c910977290ef9a177ea0942a0e3c2fd35` + - Commit date: `Mon Mar 25 18:26:50 2024 +0000` + +## exp/asr_train_asr_demo_branchformer_raw_en_bpe300_sp +### WER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|inference_beam_size10_ctc_weight0.3_asr_model_valid.acc.ave/test|2154|30850|58.1|33.9|8.0|5.2|47.1|98.5| + +### CER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|inference_beam_size10_ctc_weight0.3_asr_model_valid.acc.ave/test|2154|207551|88.9|4.0|7.1|4.3|15.4|98.5| + +### TER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|inference_beam_size10_ctc_weight0.3_asr_model_valid.acc.ave/test|2154|83642|74.7|15.4|9.9|4.7|30.0|98.5| + +## exp/asr_train_asr_demo_branchformer_raw_en_bpe300_sp/inference_beam_size10_ctc_weight0.3_asr_model_valid.acc.ave +### WER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|org/train_dev|200|2560|52.1|37.0|10.9|4.2|52.1|98.0| + +### CER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|org/train_dev|200|16726|85.3|4.9|9.7|4.2|18.9|98.0| + +### TER + +|dataset|Snt|Wrd|Corr|Sub|Del|Ins|Err|S.Err| +|---|---|---|---|---|---|---|---|---| +|org/train_dev|200|6636|68.8|18.3|12.9|4.6|35.8|98.0| + diff --git a/egs2/makerere/asr1/asr.sh b/egs2/makerere/asr1/asr.sh new file mode 120000 index 00000000000..60b05122cfd --- /dev/null +++ b/egs2/makerere/asr1/asr.sh @@ -0,0 +1 @@ +../../TEMPLATE/asr1/asr.sh \ No newline at end of file diff --git a/egs2/makerere/asr1/cmd.sh b/egs2/makerere/asr1/cmd.sh new file mode 100644 index 00000000000..257c6c739df --- /dev/null +++ b/egs2/makerere/asr1/cmd.sh @@ -0,0 +1,110 @@ +# ====== About run.pl, queue.pl, slurm.pl, and ssh.pl ====== +# Usage: .pl [options] JOB=1: +# e.g. +# run.pl --mem 4G JOB=1:10 echo.JOB.log echo JOB +# +# Options: +# --time