CoolFace
Modelpublic

espnet/MInDS-14_es-ES

sourceHugging Facemitupdated 7d agoView on Hugging Face
0likes13downloads
Model Card

Usage

python
import librosa
from espnet2.bin.asr_inference import Speech2Text

speech2text = Speech2Text.from_pretrained(model_tag="espnet/MInDS-14_es-ES")
# librosa resamples and mixes to one channel, so any file works; 16000 is
# what nearly every espnet recogniser is trained on - check this model's
# config if its audio is not 16 kHz
speech, rate = librosa.load("audio.wav", sr=16000, mono=True)
text, *_ = speech2text(speech)[0]
print(text)

RESULTS

Environments

  • —date: Mon Mar 14 22:28:37 UTC 2022
  • —python version: 3.8.12 | packaged by conda-forge | (default, Jan 30 2022, 23:42:07) [GCC 9.4.0]
  • —espnet version: espnet 0.10.7a1
  • —pytorch version: pytorch 1.10.1
  • —Git hash: d5322b2dc4844dce1d14268b6848607e2a3dee21
  • —Commit date: Mon Mar 14 20:21:16 2022 +0000

asrtrainasrrawword

WER

datasetSntWrdCorrSubDelInsErrS.Err
inferenceasrmodelvalid.acc.ave5best/test49413464.623.511.816.451.898.0
inferenceasrmodelvalid.acc.ave5best/valid47417866.820.213.019.252.5100.0

CER

datasetSntWrdCorrSubDelInsErrS.Err
inferenceasrmodelvalid.acc.ave5best/test49869073.218.08.812.939.798.0
inferenceasrmodelvalid.acc.ave5best/valid47875174.315.710.015.641.3100.0

TER

datasetSntWrdCorrSubDelInsErrS.Err