Downloads · 30 days
8
3% of all-time downloads
espnet/wanchichen_fleurs_asr_conformer_hier_lid_utt
wanchichen_fleurs_asr_conformer_hier_lid_utt is a automatic speech recognition model from espnet. Use it when you need speech turned into text. It is set up for espnet. The card lists the license as cc-by-4.0.
This model was trained by William Chen using the fleurs recipe in espnet.
Downloads · 30 days
8
3% of all-time downloads
All-time downloads
293
Public
Repo size
2.4 GB
Likes
2
Public
Click a slice to open those files.
.pth2.4 GB · 100%
From the Hugging Face model README
import librosa
from espnet2.bin.asr_inference import Speech2Text
speech2text = Speech2Text.from_pretrained(model_tag="espnet/wanchichen_fleurs_asr_conformer_hier_lid_utt")
# 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)
espnet/wanchichen_fleurs_asr_conformer_hier_lid_uttThis model was trained by William Chen using the fleurs recipe in espnet.
cd espnet
pip install -e .
cd egs2/fleurs/asr1
./run.sh
<!-- Generated by scripts/utils/show_asr_result.sh -->
Sat Oct 22 17:36:51 CDT 20223.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]espnet 202207pytorch 1.12.1+cu11614fcb2d42b2609f766ffaa7a79e9c921cd8398d9
Tue Sep 27 20:02:22 2022 +0000| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/dev_all | 31622 | 610500 | 72.9 | 24.4 | 2.7 | 3.1 | 30.2 | 95.5 |
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/test_all | 77809 | 1592160 | 72.2 | 25.0 | 2.9 | 3.6 | 31.5 | 96.6 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/dev_all | 31622 | 3988181 | 92.6 | 4.7 | 2.6 | 2.2 | 9.6 | 95.5 |
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/test_all | 77809 | 10235271 | 92.5 | 4.7 | 2.8 | 2.6 | 10.1 | 96.7 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/dev_all | 31622 | 3547834 | 91.4 | 5.8 | 2.8 | 2.5 | 11.0 | 95.4 |
| decode_lm_lm_train_lm_all_bpe6500_valid.loss.ave_asr_model_valid.acc.ave/test_all | 77809 | 9622352 | 91.6 | 5.6 | 2.8 | 2.8 | 11.2 | 96.6 |