CoolFace
Datasetpublic

0120Kiya/icefall-aishell-experiment-full

Introduction The icefall project contains speech-related recipes for various datasets using k2-fsa and lhotse. You can use sherpa, sherpa-ncnn or sherpa-onnx for deployment with models in icefall; these frameworks also support models not included in icefall; please refer to respective documents for more details. You can try pre-trained models from within your browser without the need to download or install anything by visiting this huggingface space. Please refer to document… See the full description on the dataset page: https://huggingface.co/datasets/0120Kiya/icefall-aishell-experiment-full.

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes1.1kdownloads
Dataset Card

<div align="center"> <img src="https://raw.githubusercontent.com/k2-fsa/icefall/master/docs/source/_static/logo.png" width=168> </div>

Introduction

The icefall project contains speech-related recipes for various datasets using k2-fsa and lhotse.

You can use sherpa, sherpa-ncnn or sherpa-onnx for deployment with models in icefall; these frameworks also support models not included in icefall; please refer to respective documents for more details.

You can try pre-trained models from within your browser without the need to download or install anything by visiting this huggingface space. Please refer to document for more details.

Installation

Please refer to document for installation.

Recipes

Please refer to document for more details.

ASR: Automatic Speech Recognition

Supported Datasets

  • [yesno][yesno]
  • [Aidatatang200zh][aidatatang200zh]
  • [Aishell][aishell]
  • [Aishell2][aishell2]
  • [Aishell4][aishell4]
  • [Alimeeting][alimeeting]
  • [AMI][ami]
  • [CommonVoice][commonvoice]
  • [Corpus of Spontaneous Japanese][csj]
  • [GigaSpeech][gigaspeech]
  • [LibriCSS][libricss]
  • [LibriSpeech][librispeech]
  • [Libriheavy][libriheavy]
  • [Multi-Dialect Broadcast News Arabic Speech Recognition][mgb2]
  • [SPGISpeech][spgispeech]
  • [Switchboard][swbd]
  • [TIMIT][timit]
  • [TED-LIUM3][tedlium3]
  • [TALCSASR][talcsasr]
  • [Voxpopuli][voxpopuli]
  • [XBMU-AMDO31][xbmu-amdo31]
  • [WenetSpeech][wenetspeech]

More datasets will be added in the future.

Supported Models

The [LibriSpeech][librispeech] recipe supports the most comprehensive set of models, you are welcome to try them out.

CTC
  • TDNN LSTM CTC
  • Conformer CTC
  • Zipformer CTC
MMI
  • Conformer MMI
  • Zipformer MMI
Transducer
  • Conformer-based Encoder
  • LSTM-based Encoder
  • Zipformer-based Encoder
  • LSTM-based Predictor
  • Stateless Predictor
Whisper

If you are willing to contribute to icefall, please refer to contributing for more details.

We would like to highlight the performance of some of the recipes here.

[yesno][yesno]

This is the simplest ASR recipe in icefall and can be run on CPU. Training takes less than 30 seconds and gives you the following WER:

[test_set] %WER 0.42% [1 / 240, 0 ins, 1 del, 0 sub ]

We provide a Colab notebook for this recipe: ![Open In Colab](https://colab.research.google.com/drive/1tIjjzaJc3IvGyKiMCDWO-TSnBgkcuN3B?usp=sharing)

[LibriSpeech][librispeech]

Please see RESULTS.md for the latest results.

Conformer CTC
test-cleantest-other
WER2.425.73

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1huyupXAcHsUrKaWfI83iMEJ6J0Nh0213?usp=sharing)

TDNN LSTM CTC
test-cleantest-other
WER6.5917.69

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1-iSfQMp2So-We_Uu49N4AAcMInB72u9z?usp=sharing)

Transducer (Conformer Encoder + LSTM Predictor)
test-cleantest-other
greedy_search3.077.51

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1u6yK9jDkPwGNLrZMN2XK7Aeq4suMO2?usp=sharing)

Transducer (Conformer Encoder + Stateless Predictor)
test-cleantest-other
modifiedbeamsearch (beam_size=4)2.566.27

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1CO1bXJ-2khDckZIW8zjOPHGSKLHpTDlp?usp=sharing)

Transducer (Zipformer Encoder + Stateless Predictor)

WER (modifiedbeamsearch beam_size=4 unless further stated)

  1. 1.LibriSpeech-960hr
EncoderParamstest-cleantest-otherepochsdevices
Zipformer65.5M2.214.79504 32G-V100
Zipformer-small23.2M2.425.73502 32G-V100
Zipformer-large148.4M2.064.63504 32G-V100
Zipformer-large148.4M2.004.381748 80G-A100
  1. 1.LibriSpeech-960hr + GigaSpeech
EncoderParamstest-cleantest-other
Zipformer65.5M1.784.08
  1. 1.LibriSpeech-960hr + GigaSpeech + CommonVoice
EncoderParamstest-cleantest-other
Zipformer65.5M1.903.98

[GigaSpeech][gigaspeech]

Conformer CTC
DevTest
WER10.4710.58
Transducer (pruned_transducer_stateless2)

Conformer Encoder + Stateless Predictor + k2 Pruned RNN-T Loss

DevTest
greedy_search10.5110.73
fastbeamsearch10.5010.69
modifiedbeamsearch10.4010.51
Transducer (Zipformer Encoder + Stateless Predictor)
DevTest
greedy_search10.3110.50
fastbeamsearch10.2610.48
modifiedbeamsearch10.2510.38

[Aishell][aishell]

TDNN LSTM CTC
test
CER10.16

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1jbyzYq3ytm6j2nlEt-diQm-6QVWyDDEa?usp=sharing)

Transducer (Conformer Encoder + Stateless Predictor)
test
CER4.38

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/14XaT2MhnBkK-3_RqqWq3K90Xlbin-GZC?usp=sharing)

Transducer (Zipformer Encoder + Stateless Predictor)

WER (modifiedbeamsearch beam_size=4)

EncoderParamsdevtestepochs
Zipformer73.4M4.134.4055
Zipformer-small30.2M4.404.6755
Zipformer-large157.3M4.034.2856

[Aishell4][aishell4]

Transducer (pruned_transducer_stateless5)

1 Trained with all subsets: | | test | |-----|------------| | CER | 29.08 |

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1z3lkURVv9M7uTiIgf3Np9IntMHEknaks?usp=sharing)

[TIMIT][timit]

TDNN LSTM CTC
TEST
PER19.71%

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1Hs9DA4V96uapw_30uNp32OMJgkuR5VVd?usp=sharing)

TDNN LiGRU CTC
TEST
PER17.66%

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1z3lkURVv9M7uTiIgf3Np9IntMHEknaks?usp=sharing)

[TED-LIUM3][tedlium3]

Transducer (Conformer Encoder + Stateless Predictor)
devtest
modifiedbeamsearch (beam_size=4)6.916.33

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1MmY5bBxwvKLNT4A2DJnwiqRXhdchUqPN?usp=sharing)

Transducer (pruned_transducer_stateless)
devtest
modifiedbeamsearch (beam_size=4)6.776.14

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1je_1zGrOkGVVd4WLzgkXRHxl-I27yWtz?usp=sharing)

[Aidatatang200zh][aidatatang200zh]

Transducer (pruned_transducer_stateless2)
DevTest
greedy_search5.536.59
fastbeamsearch5.306.34
modifiedbeamsearch5.276.33

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1wNSnSj3T5oOctbh5IGCa393gKOoQw2GH?usp=sharing)

[WenetSpeech][wenetspeech]

Transducer (pruned_transducer_stateless2)
DevTest-NetTest-Meeting
greedy_search7.808.7513.49
fastbeamsearch7.948.7413.80
modifiedbeamsearch7.768.7113.41

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1EV4e1CHa1GZgEF-bZgizqI9RyFFehIiN?usp=sharing)

Transducer **Streaming** (pruned_transducer_stateless5)
DevTest-NetTest-Meeting
greedy_search8.7810.1216.16
fastbeamsearch9.0110.4716.28
modifiedbeamsearch8.539.9515.81

[Alimeeting][alimeeting]

Transducer (pruned_transducer_stateless2)
EvalTest-Net
greedy_search31.7734.66
fastbeamsearch31.3933.02
modifiedbeamsearch30.3834.25

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1tKr3f0mL17uO_ljdHGKtR7HOmthYHwJG?usp=sharing)

[TALCSASR][talcsasr]

Transducer (pruned_transducer_stateless5)

The best results for Chinese CER(%) and English WER(%) respectively (zh: Chinese, en: English): |decoding-method | dev | devzh | deven | test | testzh | testen | |--|--|--|--|--|--|--| |greedysearch| 7.30 | 6.48 | 19.19 |7.39| 6.66 | 19.13| |fastbeamsearch| 7.18 | 6.39| 18.90 | 7.27| 6.55 | 18.77| |modifiedbeam_search| 7.15 | 6.35 | 18.95 | 7.22| 6.50 | 18.70 |

We provide a Colab notebook to test the pre-trained model: ![Open In Colab](https://colab.research.google.com/drive/1DmIx-NloI1CMU5GdZrlse7TRu4y3Dpf8?usp=sharing)

TTS: Text-to-Speech

Supported Datasets

  • [LJSpeech][ljspeech]
  • [VCTK][vctk]
  • [LibriTTS][libritts_tts]

Supported Models

Deployment with C++

Once you have trained a model in icefall, you may want to deploy it with C++ without Python dependencies.

Please refer to

  • https://k2-fsa.github.io/icefall/model-export/export-with-torch-jit-script.html
  • https://k2-fsa.github.io/icefall/model-export/export-onnx.html
  • https://k2-fsa.github.io/icefall/model-export/export-ncnn.html

for how to do this.

We also provide a Colab notebook, showing you how to run a torch scripted model in [k2][k2] with C++. Please see: ![Open In Colab](https://colab.research.google.com/drive/1BIGLWzS36isskMXHKcqC9ysN6pspYXs_?usp=sharing)

[yesno]: egs/yesno/ASR [librispeech]: egs/librispeech/ASR [aishell]: egs/aishell/ASR [aishell2]: egs/aishell2/ASR [aishell4]: egs/aishell4/ASR [timit]: egs/timit/ASR [tedlium3]: egs/tedlium3/ASR [gigaspeech]: egs/gigaspeech/ASR [aidatatang200zh]: egs/aidatatang200zh/ASR [wenetspeech]: egs/wenetspeech/ASR [alimeeting]: egs/alimeeting/ASR [talcsasr]: egs/talcsasr/ASR [ami]: egs/ami [swbd]: egs/swbd/ASR [k2]: https://github.com/k2-fsa/k2 [commonvoice]: egs/commonvoice/ASR [csj]: egs/csj/ASR [libricss]: egs/libricss/SURT [libritts_asr]: egs/libritts/ASR [libriheavy]: egs/libriheavy/ASR [mgb2]: egs/mgb2/ASR [spgispeech]: egs/spgispeech/ASR [voxpopuli]: egs/voxpopuli/ASR [xbmu-amdo31]: egs/xbmu-amdo31/ASR

[vctk]: egs/vctk/TTS [ljspeech]: egs/ljspeech/TTS [libritts_tts]: egs/libritts/TTS

Acknowledgements

Some contributors to this project were supported by Xiaomi Corporation. Others were supported by National Science Foundation CCRI award 2120435. This is not an exhaustive list of sources of support.