Instructions to use speechbrain/asr-wav2vec2-switchboard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use speechbrain/asr-wav2vec2-switchboard with speechbrain:
from speechbrain.pretrained import EncoderASR model = EncoderASR.from_hparams( "speechbrain/asr-wav2vec2-switchboard" ) model.transcribe_file("file.wav") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 54 |
## Transcribing Your Own Audio Files
|
| 55 |
|
| 56 |
```python
|
| 57 |
-
from speechbrain.
|
| 58 |
|
| 59 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-switchboard", savedir="pretrained_models/asr-wav2vec2-switchboard")
|
| 60 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-switchboard/example.wav')
|
|
|
|
| 54 |
## Transcribing Your Own Audio Files
|
| 55 |
|
| 56 |
```python
|
| 57 |
+
from speechbrain.inference.ASR import EncoderASR
|
| 58 |
|
| 59 |
asr_model = EncoderASR.from_hparams(source="speechbrain/asr-wav2vec2-switchboard", savedir="pretrained_models/asr-wav2vec2-switchboard")
|
| 60 |
asr_model.transcribe_file('speechbrain/asr-wav2vec2-switchboard/example.wav')
|