Downloads · 30 days
2
4% of all-time downloads
espnet/brianyan918_aesrc2020_asr_conformer
brianyan918_aesrc2020_asr_conformer 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 Brian Yan using the aesrc2020 recipe in espnet.
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
45
Public
Repo size
138 MB
Likes
0
Public
Click a slice to open those files.
.pth137 MB · 99%
From the Hugging Face model README
import librosa
from espnet2.bin.asr_inference import Speech2Text
speech2text = Speech2Text.from_pretrained(model_tag="espnet/brianyan918_aesrc2020_asr_conformer")
# 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/brianyan918_aesrc2020_asr_conformerThis model was trained by Brian Yan using the aesrc2020 recipe in espnet.
cd espnet
pip install -e .
cd egs2/aesrc2020/asr1
./run.sh --skip_data_prep false --skip_train true --download_model espnet/brianyan918_aesrc2020_asr_conformer
<!-- Generated by scripts/utils/show_asr_result.sh -->
Sat Aug 20 06:55:57 EDT 20223.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]espnet 202207pytorch 1.8.1c892feb2ba248c85b683bf3cdef6c8f7ce85449aThu Aug 18 11:54:56 2022 -0400| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.ave/test | 15299 | 146813 | 94.8 | 4.7 | 0.6 | 0.7 | 5.9 | 31.9 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.ave/test | 15299 | 708064 | 97.9 | 1.2 | 0.9 | 0.7 | 2.8 | 31.9 |
| dataset | Snt | Wrd | Corr | Sub | Del | Ins | Err | S.Err |
|---|---|---|---|---|---|---|---|---|
| decode_asr_asr_model_valid.acc.ave/test | 15299 | 165136 | 93.2 | 4.3 | 2.6 | 0.6 | 7.4 | 31.9 |