Instructions to use espnet/wanchichen_fleurs_asr_ebf_scctc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use espnet/wanchichen_fleurs_asr_ebf_scctc with ESPnet:
import soundfile from espnet2.bin.asr_inference import Speech2Text model = Speech2Text.from_pretrained( "espnet/wanchichen_fleurs_asr_ebf_scctc" ) speech, rate = soundfile.read("speech.wav") text, *_ = model(speech)[0] - Notebooks
- Google Colab
- Kaggle
|
Download README.md from espnet/wanchichen_fleurs_asr_ebf_scctc: direct link, hf CLI and curl.
- Browser
- Download file 798 Bytes
-
https://huggingface.co/espnet/wanchichen_fleurs_asr_ebf_scctc/resolve/main/README.md
- Command line
-
hf download hf://espnet/wanchichen_fleurs_asr_ebf_scctc/README.md
-
curl -L -o README.md https://huggingface.co/espnet/wanchichen_fleurs_asr_ebf_scctc/resolve/main/README.md
798 Bytes
metadata
tags:
- espnet
- audio
- speech-recognition
language: en
datasets:
- google/fleurs
pipeline_tag: automatic-speech-recognition
Usage
import librosa
from espnet2.bin.asr_inference import Speech2Text
speech2text = Speech2Text.from_pretrained(model_tag="espnet/wanchichen_fleurs_asr_ebf_scctc")
# 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)
ESPnet2 ASR model
espnet/wanchichen_fleurs_asr_conformer_sctctc
This model was trained by William Chen using the fleurs recipe in espnet.
`