From b25404e2943d4c251b538e6a071be3b5843d5c46 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Fri, 24 Apr 2020 16:50:31 +0200 Subject: [PATCH] Bump VERSION to 0.7.0 and update docs --- README.rst | 18 +++++++++--------- VERSION | 2 +- doc/USING.rst | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index ba007ed9..8ab32dbc 100644 --- a/README.rst +++ b/README.rst @@ -14,9 +14,9 @@ Project DeepSpeech DeepSpeech is an open source Speech-To-Text engine, using a model trained by machine learning techniques based on `Baidu's Deep Speech research paper `_. Project DeepSpeech uses Google's `TensorFlow `_ to make the implementation easier. -**NOTE:** This documentation applies to the **MASTER version** of DeepSpeech only. **Documentation for the latest stable version** is published on `deepspeech.readthedocs.io `_. +**NOTE:** This documentation applies to the **0.7.0 version** of DeepSpeech only. **Documentation for all versions** is published on `deepspeech.readthedocs.io `_. -To install and use deepspeech all you have to do is: +To install and use DeepSpeech all you have to do is: .. code-block:: bash @@ -27,16 +27,16 @@ To install and use deepspeech all you have to do is: # Install DeepSpeech pip3 install deepspeech - # Download pre-trained English model and extract - curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.6.1/deepspeech-0.6.1-models.tar.gz - tar xvf deepspeech-0.6.1-models.tar.gz + # Download pre-trained English model files + curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.pbmm + curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.scorer # Download example audio files - curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.6.1/audio-0.6.1.tar.gz - tar xvf audio-0.6.1.tar.gz + curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/audio-0.7.0.tar.gz + tar xvf audio-0.7.0.tar.gz # Transcribe an audio file - deepspeech --model deepspeech-0.6.1-models/output_graph.pbmm --scorer deepspeech-0.6.1-models/kenlm.scorer --audio audio/2830-3980-0043.wav + deepspeech --model deepspeech-0.7.0-models.pbmm --scorer deepspeech-0.7.0-models.scorer --audio audio/2830-3980-0043.wav A pre-trained English model is available for use and can be downloaded using `the instructions below `_. A package with some example audio files is available for download in our `release notes `_. @@ -52,7 +52,7 @@ Quicker inference can be performed using a supported NVIDIA GPU on Linux. See th pip3 install deepspeech-gpu # Transcribe an audio file. - deepspeech --model deepspeech-0.6.1-models/output_graph.pbmm --scorer deepspeech-0.6.1-models/kenlm.scorer --audio audio/2830-3980-0043.wav + deepspeech --model deepspeech-0.7.0-models.pbmm --scorer deepspeech-0.7.0-models.scorer --audio audio/2830-3980-0043.wav Please ensure you have the required `CUDA dependencies `_. diff --git a/VERSION b/VERSION index de6d403a..faef31a4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.0-alpha.4 +0.7.0 diff --git a/doc/USING.rst b/doc/USING.rst index c4993935..7a98813e 100644 --- a/doc/USING.rst +++ b/doc/USING.rst @@ -28,12 +28,12 @@ The GPU capable builds (Python, NodeJS, C++, etc) depend on the same CUDA runtim Getting the pre-trained model ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -If you want to use the pre-trained English model for performing speech-to-text, you can download it (along with other important inference material) from the DeepSpeech `releases page `_. Alternatively, you can run the following command to download and unzip the model files in your current directory: +If you want to use the pre-trained English model for performing speech-to-text, you can download it (along with other important inference material) from the DeepSpeech `releases page `_. Alternatively, you can run the following command to download the model files in your current directory: .. code-block:: bash - wget https://github.com/mozilla/DeepSpeech/releases/download/v0.6.1/deepspeech-0.6.1-models.tar.gz - tar xvfz deepspeech-0.6.1-models.tar.gz + wget https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.pbmm + wget https://github.com/mozilla/DeepSpeech/releases/download/v0.7.0/deepspeech-0.7.0-models.scorer Model compatibility ^^^^^^^^^^^^^^^^^^^ @@ -106,7 +106,7 @@ Note: the following command assumes you `downloaded the pre-trained model <#gett .. code-block:: bash - deepspeech --model models/output_graph.pbmm --scorer models/kenlm.scorer --audio my_audio_file.wav + deepspeech --model deepspeech-0.7.0-models.pbmm --scorer deepspeech-0.7.0-models.scorer --audio my_audio_file.wav The ``--scorer`` argument is optional, and represents an external language model to be used when transcribing the audio. @@ -166,7 +166,7 @@ Note: the following command assumes you `downloaded the pre-trained model <#gett .. code-block:: bash - ./deepspeech --model models/output_graph.pbmm --scorer models/kenlm.scorer --audio audio_input.wav + ./deepspeech --model deepspeech-0.7.0-models.pbmm --scorer deepspeech-0.7.0-models.scorer --audio audio_input.wav See the help output with ``./deepspeech -h`` and the :github:`native client README ` for more details.