Instructions to use aioxlabs/dvoice-darija with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use aioxlabs/dvoice-darija with speechbrain:
from speechbrain.pretrained import EncoderASR model = EncoderASR.from_hparams( "aioxlabs/dvoice-darija" ) model.transcribe_file("file.wav") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
|
|
| 49 |
# Transcribing your own audio files (in Darija)
|
| 50 |
```python
|
| 51 |
from speechbrain.pretrained import EncoderASR
|
| 52 |
-
asr_model = EncoderASR.from_hparams(source="
|
| 53 |
asr_model.transcribe_file('./the_path_to_your_audio_file')
|
| 54 |
```
|
| 55 |
|
|
|
|
| 49 |
# Transcribing your own audio files (in Darija)
|
| 50 |
```python
|
| 51 |
from speechbrain.pretrained import EncoderASR
|
| 52 |
+
asr_model = EncoderASR.from_hparams(source="aioxlabs/dvoice-darija", savedir="pretrained_models/asr-wav2vec2-dvoice-dar")
|
| 53 |
asr_model.transcribe_file('./the_path_to_your_audio_file')
|
| 54 |
```
|
| 55 |
|