Update README.md
Browse files
README.md
CHANGED
@@ -47,8 +47,8 @@ Please notice that we encourage you to read the SpeechBrain tutorials and learn
|
|
47 |
# Transcribing your own audio files (in Fongbe)
|
48 |
```python
|
49 |
from speechbrain.pretrained import EncoderASR
|
50 |
-
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-
|
51 |
-
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-
|
52 |
```
|
53 |
|
54 |
# Inference on GPU
|
@@ -70,7 +70,7 @@ pip install -e .
|
|
70 |
3. Run Training:
|
71 |
```bash
|
72 |
cd recipes/DVoice/ASR/CTC
|
73 |
-
python train_with_wav2vec2.py hparams/
|
74 |
```
|
75 |
You can find our training results (models, logs, etc) [here](https://drive.google.com/drive/folders/1vNT7RjRuELs7pumBHmfYsrOp9m46D0ym?usp=sharing).
|
76 |
|
|
|
47 |
# Transcribing your own audio files (in Fongbe)
|
48 |
```python
|
49 |
from speechbrain.pretrained import EncoderASR
|
50 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-wav2vec2-dvoice-fongbe", savedir="pretrained_models/asr-wav2vec2-dvoice-fongbe")
|
51 |
+
asr_model.transcribe_file('speechbrain/asr-wav2vec2-dvoice-fongbe/example_fongbe.wav')
|
52 |
```
|
53 |
|
54 |
# Inference on GPU
|
|
|
70 |
3. Run Training:
|
71 |
```bash
|
72 |
cd recipes/DVoice/ASR/CTC
|
73 |
+
python train_with_wav2vec2.py hparams/train_fon_with_wav2vec.yaml --data_folder=/localscratch/ALFFA_PUBLIC/ASR/FONGBE/data/
|
74 |
```
|
75 |
You can find our training results (models, logs, etc) [here](https://drive.google.com/drive/folders/1vNT7RjRuELs7pumBHmfYsrOp9m46D0ym?usp=sharing).
|
76 |
|