transiteration
commited on
Commit
•
7ffd472
1
Parent(s):
9017e74
Update README.md
Browse files
README.md
CHANGED
@@ -42,15 +42,22 @@ model = nemo_asr.models.ASRModel.restore_from(restore_path="stt_kz_quartznet15x5
|
|
42 |
#### How to Train
|
43 |
|
44 |
```bash
|
45 |
-
python3 train.py
|
46 |
-
--
|
|
|
|
|
|
|
|
|
47 |
--model_save_path path/to/save/model.nemo
|
48 |
```
|
49 |
|
50 |
#### How to Evaluate
|
51 |
|
52 |
```bash
|
53 |
-
python3 evaluate.py
|
|
|
|
|
|
|
54 |
```
|
55 |
|
56 |
#### How to Transcribe Audio File
|
|
|
42 |
#### How to Train
|
43 |
|
44 |
```bash
|
45 |
+
python3 train.py \
|
46 |
+
--train_manifest path/to/manifest.json \
|
47 |
+
--val_manifest path/to/manifest.json \
|
48 |
+
--accelerator "gpu" \
|
49 |
+
--batch_size BATCH_SIZE \
|
50 |
+
--num_epochs NUM_EPOCHS \
|
51 |
--model_save_path path/to/save/model.nemo
|
52 |
```
|
53 |
|
54 |
#### How to Evaluate
|
55 |
|
56 |
```bash
|
57 |
+
python3 evaluate.py \
|
58 |
+
--model_path /path/to/model.nemo \
|
59 |
+
--test_manifest path/to/manifest.json \
|
60 |
+
--batch_size BATCH_SIZE
|
61 |
```
|
62 |
|
63 |
#### How to Transcribe Audio File
|