Add model files a97df0b
miamoto commited on
How to use Miamoto/libriheavy_small_ebranchformer with ESPnet:
from espnet2.bin.asr_inference import Speech2Text
model = Speech2Text.from_pretrained(
"Miamoto/libriheavy_small_ebranchformer"
)
speech, rate = soundfile.read("speech.wav")
text, *_ = model(speech)[0]