Instructions to use espnet/UniverSLU-17-Task-Specifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use espnet/UniverSLU-17-Task-Specifier with ESPnet:
import soundfile from espnet2.bin.asr_inference import Speech2Text model = Speech2Text.from_pretrained( "espnet/UniverSLU-17-Task-Specifier" ) speech, rate = soundfile.read("speech.wav") text, *_ = model(speech)[0] - Notebooks
- Google Colab
- Kaggle
Add meta.yaml so espnet_model_zoo can load this model
Browse files
meta.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
files:
|
| 2 |
+
asr_model_file: exp/asr_train_asr_whisper_full_correct_specaug2_copy_raw_en_whisper_multilingual/valid.acc.ave_10best.pth
|
| 3 |
+
yaml_files:
|
| 4 |
+
asr_train_config: exp/asr_train_asr_whisper_full_correct_specaug2_copy_raw_en_whisper_multilingual/config.yaml
|