Skip to content

Releases: mozilla/DeepSpeech

v0.5.0-alpha.5

08 Apr 14:57
15adf00
Compare
Choose a tag to compare
v0.5.0-alpha.5 Pre-release
Pre-release
Merge pull request #2019 from lissyx/bump-v0.5.0-alpha-5

Bump VERSION to 0.5.0-alpha.5

v0.5.0-alpha.4

20 Mar 20:26
c092213
Compare
Choose a tag to compare
v0.5.0-alpha.4 Pre-release
Pre-release
Merge pull request #1969 from lissyx/bump-v0.5.0-alpha.4

Bump VERSION to v0.5.0-alpha.4

v0.5.0-alpha.3

20 Mar 06:49
6c1fce5
Compare
Choose a tag to compare
v0.5.0-alpha.3 Pre-release
Pre-release
Merge pull request #1966 from lissyx/bump-v0.5.0-alpha.3

Bump VERSION to v0.5.0-alpha.3

v0.5.0-alpha.2

13 Mar 14:00
16379ef
Compare
Choose a tag to compare
v0.5.0-alpha.2 Pre-release
Pre-release
Merge pull request #1951 from lissyx/force-rebuild

Force rebuild

v0.5.0-alpha.1

24 Jan 17:34
8f2c3f0
Compare
Choose a tag to compare
v0.5.0-alpha.1 Pre-release
Pre-release
Merge pull request #1851 from lissyx/bump-v0.5.0-alpha.1

Bump VERSION to 0.5.0-alpha.1

v0.5.0-alpha.0

23 Jan 13:46
8a7a5fc
Compare
Choose a tag to compare
v0.5.0-alpha.0 Pre-release
Pre-release
Merge pull request #1846 from lissyx/bump-v0.5.0-alpha.0

Bump VERSION to 0.5.0-alpha.0

Deep Speech 0.4.1

10 Jan 14:47
0e40db6
Compare
Choose a tag to compare

General

This is the 0.4.1 release of Deep Speech, an open speech-to-text engine. This release includes source code

v0.4.1.tar.gz

and a trained model

deepspeech-0.4.1-models.tar.gz

trained on American English which achieves an 8.26% word error rate on the LibriSpeech clean test corpus (models with "rounded" in their file name have rounded weights and those with a "*.pbmm" extension are memory mapped and much more memory efficient), and example audio

audio-0.4.1.tar.gz

which can be used to test the engine and checkpoint files

deepspeech-0.4.1-checkpoint.tar.gz

which can be used as the basis for further fine-tuning.

Notable changes from the previous release

Hyperparameters for fine-tuning

The hyperparameters used to train the model are useful for fine tuning. Thus, we document them here along with the hardware used, a server with 8 TitanX Pascal GPUs (12GB of VRAM).

  • train_files Fisher, LibriSpeech, Switchboard training corpora, as well as a pre-release snapshot of the English Common Voice training corpus.
  • dev_files LibriSpeech clean and other dev corpora, as well as a pre-release snapshot of the English Common Voice validation corpus.
  • test_files LibriSpeech clean test corpus
  • train_batch_size 24
  • dev_batch_size 48
  • test_batch_size 48
  • epoch 30
  • learning_rate 0.0001
  • display_step 0
  • validation_step 1
  • dropout_rate 0.15
  • checkpoint_step 1
  • n_hidden 2048
  • lm_alpha 0.75
  • lm_beta 1.85

The weights with the best validation loss were selected at the end of the 30 epochs.

Bindings

This release also includes a Python based command line tool deepspeech, installed through

pip install deepspeech

Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:

pip install deepspeech-gpu

Also, it exposes bindings for the following languages

  • Python (Versions 2.7, 3.4, 3.5, 3.6 and 3.7) installed via
    pip install deepspeech
    Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:
    pip install deepspeech-gpu
  • NodeJS (Versions 4.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, and 11.x) installed via
    npm install deepspeech
    
    Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:
    npm install deepspeech-gpu
    
  • C++ which requires the appropriate shared objects are installed from native_client.tar.xz (See the section in the main README which describes native_client.tar.xz installation.)

In addition there are third party bindings that are supported by external developers, for example

  • Rust which is installed by following the instructions on the external Rust repo.
  • Go which is installed by following the instructions on the external Go repo.

Supported Platforms

  • OS X 10.10, 10.11, 10.12, 10.13 and 10.14
  • Linux x86 64 bit with a modern CPU (Needs at least AVX/FMA)
  • Linux x86 64 bit with a modern CPU + NVIDIA GPU (Compute Capability at least 3.0, see NVIDIA docs)
  • Raspbian Stretch on Raspberry Pi 3
  • ARM64 built against Debian/ARMbian Stretch and tested on LePotato boards
  • Java Android bindings / demo app. Early preview, tested only on Pixel 2 device, TF Lite model only

Known Issues

  • Feature caching speeds training but increases memory usage
  • Current v2 TRIE handling still triggers ~600MB memory usage

Contact/Getting Help

  1. FAQ - We have a list of common questions, and their answers, in our FAQ. When just getting started, it's best to first check the FAQ to see if your question is addressed.
  2. Discourse Forums - If your question is not addressed in the FAQ, the Discourse Forums is the next place to look. They contain conversations on General Topics, Using Deep Speech, Alternative Platforms, and Deep Speech Development.
  3. IRC - If your question is not addressed by either the FAQ or Discourse Forums, you can contact us on the #machinelearning channel on Mozilla IRC; people there can try to answer/help
  4. Issues - Finally, if all else fails, you can open an issue in our repo if there is a bug with the current code base.

Contributors to 0.4.1 release

Deep Speech 0.4.0

10 Jan 14:49
48ad711
Compare
Choose a tag to compare

General

This is the 0.4.0 release of Deep Speech, an open speech-to-text engine. This release includes source code

v0.4.0.tar.gz

and a trained model

deepspeech-0.4.0-models.tar.gz

trained on American English which achieves an 8.26% word error rate on the LibriSpeech clean test corpus (The incorrect model was uploaded this will be fixed in 0.4.1) (models with "rounded" in their file name have rounded weights and those with a "*.pbmm" extension are memory mapped and much more memory efficient), and example audio

audio-0.4.0.tar.gz

which can be used to test the engine and checkpoint files

deepspeech-0.4.0-checkpoint.tar.gz

which can be used as the basis for further fine-tuning.

Notable changes from the previous release

Hyperparameters for fine-tuning

The hyperparameters used to train the model are useful for fine tuning. Thus, we document them here along with the hardware used, a server with 8 TitanX Pascal GPUs (12GB of VRAM).

  • train_files Fisher, LibriSpeech, Switchboard training corpora, as well as a pre-release snapshot of the English Common Voice training corpus.
  • dev_files LibriSpeech clean and other dev corpora, as well as a pre-release snapshot of the English Common Voice validation corpus.
  • test_files LibriSpeech clean test corpus
  • train_batch_size 24
  • dev_batch_size 48
  • test_batch_size 48
  • epoch 30
  • learning_rate 0.0001
  • display_step 0
  • validation_step 1
  • dropout_rate 0.15
  • checkpoint_step 1
  • n_hidden 2048
  • lm_alpha 0.75
  • lm_beta 1.85

The weights with the best validation loss were selected at the end of the 30 epochs.

Bindings

This release also includes a Python based command line tool deepspeech, installed through

pip install deepspeech

Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:

pip install deepspeech-gpu

Also, it exposes bindings for the following languages

  • Python (Versions 2.7, 3.4, 3.5, 3.6 and 3.7) installed via
    pip install deepspeech
    Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:
    pip install deepspeech-gpu
  • NodeJS (Versions 4.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, and 11.x) installed via
    npm install deepspeech
    
    Alternatively, quicker inference can be performed using a supported NVIDIA GPU on Linux. (See below to find which GPU's are supported.) This is done by instead installing the GPU specific package:
    npm install deepspeech-gpu
    
  • C++ which requires the appropriate shared objects are installed from native_client.tar.xz (See the section in the main README which describes native_client.tar.xz installation.)

In addition there are third party bindings that are supported by external developers, for example

  • Rust which is installed by following the instructions on the external Rust repo.
  • Go

Supported Platforms

  • OS X 10.10, 10.11, 10.12, 10.13 and 10.14
  • Linux x86 64 bit with a modern CPU (Needs at least AVX/FMA)
  • Linux x86 64 bit with a modern CPU + NVIDIA GPU (Compute Capability at least 3.0, see NVIDIA docs)
  • Raspbian Stretch on Raspberry Pi 3
  • ARM64 built against Debian/ARMbian Stretch and tested on LePotato boards

Known Issues

  • Feature caching speeds training but increases memory usage
  • Current v2 TRIE handling still triggers ~600MB memory usage
  • Incorrect model was uploaded to release which will be fixed in 0.4.1

Contact/Getting Help

  1. FAQ - We have a list of common questions, and their answers, in our FAQ. When just getting started, it's best to first check the FAQ to see if your question is addressed.
  2. Discourse Forums - If your question is not addressed in the FAQ, the Discourse Forums is the next place to look. They contain conversations on General Topics, Using Deep Speech, Alternative Platforms, and Deep Speech Development.
  3. IRC - If your question is not addressed by either the FAQ or Discourse Forums, you can contact us on the #machinelearning channel on Mozilla IRC; people there can try to answer/help
  4. Issues - Finally, if all else fails, you can open an issue in our repo if there is a bug with the current code base.

Contributors to 0.4.0 release

v0.4.0-alpha.3

19 Dec 11:34
b976032
Compare
Choose a tag to compare
v0.4.0-alpha.3 Pre-release
Pre-release
Merge pull request #1800 from lissyx/bump-v0.4.0-alpha.3

Bump VERSION to 0.4.0-alpha.3

v0.4.0-alpha.2

14 Dec 11:54
d316839
Compare
Choose a tag to compare
v0.4.0-alpha.2 Pre-release
Pre-release
Merge pull request #1789 from lissyx/fix-nc-asset-name

Move nc_asset_name to extra