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 66ca5df9f08b6084dbde4d9f312fa8ba0a47ecfc
|
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 66ca5df9f08b6084dbde4d9f312fa8ba0a47ecfc
|
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-tav \
|
32 |
+
--lang tav \
|
33 |
+
--local_data_opts "--lang tav" \
|
34 |
+
--train_set train_tav \
|
35 |
+
--valid_set dev_tav \
|
36 |
+
--test_sets dev_tav \
|
37 |
+
--gpu_inference false \
|
38 |
+
--inference_nj 8 \
|
39 |
+
--lm_train_text data/train_tav/text \
|
40 |
+
--bpe_train_text data/train_tav/text
|
41 |
```
|
42 |
|
43 |
<!-- Generated by scripts/utils/show_asr_result.sh -->
|