Update README.md
Browse files
README.md
CHANGED
@@ -49,8 +49,8 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
49 |
### Transcribing your own audio files (in Korean)
|
50 |
```python
|
51 |
from speechbrain.pretrained import EncoderDecoderASR
|
52 |
-
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-transformerlm-ksponspeech", run_opts={"device":"cuda"})
|
53 |
-
asr_model.transcribe_file("ddwkim/asr-conformer-transformerlm-ksponspeech/record_0_16k.wav")
|
54 |
```
|
55 |
|
56 |
### Inference on GPU
|
@@ -78,7 +78,7 @@ pip install .
|
|
78 |
3. Run Training:
|
79 |
```bash
|
80 |
cd recipes/KsponSpeech/ASR/transformer
|
81 |
-
python train.py hparams/
|
82 |
```
|
83 |
You can find our training results (models, logs, etc) at the subdirectories.
|
84 |
|
|
|
49 |
### Transcribing your own audio files (in Korean)
|
50 |
```python
|
51 |
from speechbrain.pretrained import EncoderDecoderASR
|
52 |
+
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-small-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-small-transformerlm-ksponspeech", run_opts={"device":"cuda"})
|
53 |
+
asr_model.transcribe_file("ddwkim/asr-conformer-small-transformerlm-ksponspeech/record_0_16k.wav")
|
54 |
```
|
55 |
|
56 |
### Inference on GPU
|
|
|
78 |
3. Run Training:
|
79 |
```bash
|
80 |
cd recipes/KsponSpeech/ASR/transformer
|
81 |
+
python train.py hparams/conformer_small.yaml --data_folder=your_data_folder
|
82 |
```
|
83 |
You can find our training results (models, logs, etc) at the subdirectories.
|
84 |
|