Update README.md
Browse files
README.md
CHANGED
@@ -21,11 +21,18 @@ Though it can accept longer phrases its accuracy may degrade on them.
|
|
21 |
### How to use
|
22 |
|
23 |
Install NeMo.
|
|
|
24 |
Download ru_g2p.nemo (this model)
|
|
|
|
|
|
|
|
|
|
|
25 |
Run
|
|
|
26 |
```bash
|
27 |
python ${NEMO_ROOT}/examples/nlp/text_normalization_as_tagging/normalization_as_tagging_infer.py \
|
28 |
-
pretrained_model=ru_g2p.nemo \
|
29 |
inference.from_file=input.txt \
|
30 |
inference.out_file=output.txt \
|
31 |
model.max_sequence_len=512 \
|
|
|
21 |
### How to use
|
22 |
|
23 |
Install NeMo.
|
24 |
+
|
25 |
Download ru_g2p.nemo (this model)
|
26 |
+
```bash
|
27 |
+
git lfs install
|
28 |
+
git clone https://huggingface.co/bene-ges/ru_g2p_ipa_bert_large
|
29 |
+
```
|
30 |
+
|
31 |
Run
|
32 |
+
|
33 |
```bash
|
34 |
python ${NEMO_ROOT}/examples/nlp/text_normalization_as_tagging/normalization_as_tagging_infer.py \
|
35 |
+
pretrained_model=ru_g2p_ipa_bert_large/ru_g2p.nemo \
|
36 |
inference.from_file=input.txt \
|
37 |
inference.out_file=output.txt \
|
38 |
model.max_sequence_len=512 \
|