Instructions to use espnet/xeus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use espnet/xeus with ESPnet:
from espnet2.bin.asr_inference import Speech2Text model = Speech2Text.from_pretrained( "espnet/xeus" ) speech, rate = soundfile.read("speech.wav") text, *_ = model(speech)[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
Update README.md
Browse files
README.md
CHANGED
|
@@ -4090,8 +4090,8 @@ import soundfile as sf
|
|
| 4090 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 4091 |
|
| 4092 |
xeus_model, xeus_train_args = SSLTask.build_model_from_file(
|
| 4093 |
-
|
| 4094 |
-
|
| 4095 |
device,
|
| 4096 |
)
|
| 4097 |
|
|
|
|
| 4090 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 4091 |
|
| 4092 |
xeus_model, xeus_train_args = SSLTask.build_model_from_file(
|
| 4093 |
+
None,
|
| 4094 |
+
'/path/to/checkpoint/here/checkpoint.pth',
|
| 4095 |
device,
|
| 4096 |
)
|
| 4097 |
|