Downloads · 30 days
16
13% of all-time downloads
espnet/wanchichen_fleurs_english_asr_wav2vec_frontend
wanchichen_fleurs_english_asr_wav2vec_frontend 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
16
13% of all-time downloads
All-time downloads
120
Public
Repo size
1.4 GB
Likes
1
Public
Click a slice to open those files.
.pth1.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_english_asr_wav2vec_frontend")
# 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_english_asr_wav2vec_frontendThis 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 -->
Sun Aug 14 14:52:04 EDT 20223.8.6 (default, Dec 17 2020, 16:57:01) [GCC 10.2.0]espnet 202205pytorch 1.8.1+cu10245e8cb9173a072f85ee7a7ccbcae06af7c5c484a
Wed Jun 1 14:21:14 2022 +0900| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.best/test_all | 647 | 14344 | 67.1 | 29.4 | 3.5 | 4.6 | 37.5 | 99.8 |
| decode_asr_asr_model_valid.acc.best/dev_all | 388 | 7935 | 66.8 | 29.7 | 3.6 | 5.0 | 38.2 | 99.0 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.best/test_all | 647 | 83954 | 88.6 | 5.4 | 6.0 | 4.8 | 16.2 | 99.8 |
| decode_asr_asr_model_valid.acc.best/dev_all | 388 | 47051 | 88.1 | 6.0 | 5.9 | 4.4 | 16.3 | 99.0 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.best/test_all | 647 | 39965 | 7.7 | 14.9 | 7.4 | 4.1 | 26.4 | 99.8 |
| decode_asr_asr_model_valid.acc.best/dev_all | 388 | 22491 | 77.3 | 15.2 | 7.5 | 3.8 | 26.5 | 99.0 |