Update inference instructions
Browse files
README.md
CHANGED
@@ -17,12 +17,27 @@ This model was trained by Pavel Denisov using americasnlp22 recipe in [espnet](h
|
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
|
|
|
|
|
|
|
20 |
```bash
|
21 |
cd espnet
|
22 |
git checkout fc62b1ce3e50c5ef8a2ac8cedb0d92ac41df54ca
|
23 |
pip install -e .
|
24 |
cd egs2/americasnlp22/asr1
|
25 |
-
./run.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
```
|
27 |
|
28 |
<!-- Generated by scripts/utils/show_asr_result.sh -->
|
|
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
|
20 |
+
Follow the [ESPnet installation instructions](https://espnet.github.io/espnet/installation.html)
|
21 |
+
if you haven't done that already.
|
22 |
+
|
23 |
```bash
|
24 |
cd espnet
|
25 |
git checkout fc62b1ce3e50c5ef8a2ac8cedb0d92ac41df54ca
|
26 |
pip install -e .
|
27 |
cd egs2/americasnlp22/asr1
|
28 |
+
./run.sh \
|
29 |
+
--skip_data_prep false \
|
30 |
+
--skip_train true \
|
31 |
+
--download_model espnet/americasnlp22-asr-quy \
|
32 |
+
--lang quy \
|
33 |
+
--local_data_opts "--lang quy" \
|
34 |
+
--train_set train_quy \
|
35 |
+
--valid_set dev_quy \
|
36 |
+
--test_sets dev_quy \
|
37 |
+
--gpu_inference false \
|
38 |
+
--inference_nj 8 \
|
39 |
+
--lm_train_text data/train_quy/text \
|
40 |
+
--bpe_train_text data/train_quy/text
|
41 |
```
|
42 |
|
43 |
<!-- Generated by scripts/utils/show_asr_result.sh -->
|