Tanel commited on
Commit
6d99fe6
1 Parent(s): 4131987

First commit

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -26,21 +26,23 @@ To use it on a server for browser-based ASR:
26
  * Install [Sherpa](https://github.com/k2-fsa/sherpa)
27
  * Clone this model locally:
28
 
29
-
30
  git lfs install
31
  git clone https://huggingface.co/TalTechNLP/icefall_pruned_transducer_stateless7_streaming_et
 
32
 
33
  * Set SHERPA_ROOT_DIR to the sherpa root directory
34
 
35
  * Start serving on port 6006:
36
 
37
-
38
  sherpa-online-websocket-server --use-gpu=false --decode-chunk-size=32 \
39
  --encoder-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/encoder_jit_trace.pt \
40
  --decoder-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/decoder_jit_trace.pt \
41
  --joiner-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/joiner_jit_trace.pt \
42
  --tokens=icefall_pruned_transducer_stateless7_streaming_et/data/lang_bpe_1000/tokens.txt \
43
  --doc-root=${SHERPA_ROOT_DIR}/sherpa/bin/web --decoding-method=modified_beam_search
 
44
 
45
  * Open in browser: http://localhost:6006 (also works via ssh tunnel) and go to "Streaming-Record" tab
46
 
 
26
  * Install [Sherpa](https://github.com/k2-fsa/sherpa)
27
  * Clone this model locally:
28
 
29
+ ```
30
  git lfs install
31
  git clone https://huggingface.co/TalTechNLP/icefall_pruned_transducer_stateless7_streaming_et
32
+ ```
33
 
34
  * Set SHERPA_ROOT_DIR to the sherpa root directory
35
 
36
  * Start serving on port 6006:
37
 
38
+ ```
39
  sherpa-online-websocket-server --use-gpu=false --decode-chunk-size=32 \
40
  --encoder-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/encoder_jit_trace.pt \
41
  --decoder-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/decoder_jit_trace.pt \
42
  --joiner-model=icefall_pruned_transducer_stateless7_streaming_et/exp/1d/joiner_jit_trace.pt \
43
  --tokens=icefall_pruned_transducer_stateless7_streaming_et/data/lang_bpe_1000/tokens.txt \
44
  --doc-root=${SHERPA_ROOT_DIR}/sherpa/bin/web --decoding-method=modified_beam_search
45
+ ```
46
 
47
  * Open in browser: http://localhost:6006 (also works via ssh tunnel) and go to "Streaming-Record" tab
48