ESPnet How to use pyf98/aishell_e_branchformer with ESPnet:
from espnet2.bin.asr_inference import Speech2Text
model = Speech2Text.from_pretrained(
"pyf98/aishell_e_branchformer"
)
speech, rate = soundfile.read("speech.wav")
text, *_ = model(speech)[0]