@@ -84,20 +84,21 @@ Installation of OpenSeq2Seq for speech recognition
8484CTC-based speech recognition models can use the following decoders to get a transcription out of a model's state:
8585
8686 * greedy decoder, the fastest, but might yield spelling errors (can be enabled with ``"use_language_model": False ``)
87- * beam search decoder with language model rescoring, the most accurate, but the slowest (can be enabled with `` "use_language_model": True ``)
87+ * beam search decoder with language model (LM) rescoring, the most accurate, but the slowest
8888
89- You can find more information about these decoders at :doc: ` DeepSpeech 2 page < /speech-recognition/deepspeech2 >` .
89+ You can find more information about these decoders at :ref: ` decoders-ref ` section .
9090
9191CTC beam search decoder with language model rescoring is an optional component and might be used for speech recognition inference only.
9292
93- Since TensorFlow does not support it by default, you will need to build TensorFlow
94- from sources with a custom CTC decoder operation. In order to do that, follow
95- the steps below. Alternatively, you can disable language model by setting
96- "use_language_model" parameter of decoder to False, but that will lead to a
97- worse model accuracy.
93+ There are two implementations of CTC beam search decoder with LM rescoring in OpenSeq2Seq:
9894
99- How to install a CTC decoder with language model to TensorFlow (optional)
100- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95+ * Baidu CTC decoder (the recommended). It can be installed with ``scripts/install_decoders.sh `` command.
96+ To test the installation please run ``python scripts/ctc_decoders_test.py ``.
97+
98+ * Custom native TF op (rather deprecated). See installation instructions below.
99+
100+ How to build a custom native TF op for CTC decoder with language model (optional)
101+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101102
102103First of all, make sure that you installed CUDA >= 10.0, cuDNN >= 7.4, NCCL >= 2.3.
103104
0 commit comments