Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deepspeech-gpu

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepspeech-gpu - npm Package Compare versions

Comparing version 0.4.0-alpha.3 to 0.4.0

lib/binding/v0.4.0/linux-x64/libdeepspeech.so

9

client.js

@@ -18,7 +18,6 @@ #!/usr/bin/env node

// The alpha hyperparameter of the CTC decoder. Language Model weight
const LM_WEIGHT = 1.50;
const LM_ALPHA = 0.75;
// Valid word insertion weight. This is used to lessen the word insertion penalty
// when the inserted word is part of the vocabulary
const VALID_WORD_COUNT_WEIGHT = 2.10;
// The beta hyperparameter of the CTC decoder. Word insertion bonus.
const LM_BETA = 1.85;

@@ -106,3 +105,3 @@

model.enableDecoderWithLM(args['alphabet'], args['lm'], args['trie'],
LM_WEIGHT, VALID_WORD_COUNT_WEIGHT);
LM_ALPHA, LM_BETA);
const lm_load_end = process.hrtime(lm_load_start);

@@ -109,0 +108,0 @@ console.error('Loaded language model in %ds.', totalTime(lm_load_end));

{
"name": "deepspeech-gpu",
"version": "0.4.0-alpha.3",
"version": "0.4.0",
"description": "DeepSpeech NodeJS bindings",

@@ -11,3 +11,3 @@ "main": "./index",

"license": "MPL-2.0",
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.4.0-alpha.3#project-deepspeech",
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.4.0#project-deepspeech",
"files": [

@@ -14,0 +14,0 @@ "README.md",

@@ -28,2 +28,4 @@ # Project DeepSpeech

Please ensure you have the required [CUDA dependency](#cuda-dependency).
See the output of `deepspeech -h` for more information on the use of `deepspeech`. (If you experience problems running `deepspeech`, please check [required runtime dependencies](native_client/README.md#required-dependencies)).

@@ -36,2 +38,3 @@

- [Getting the pre-trained model](#getting-the-pre-trained-model)
- [CUDA dependency](#cuda-dependency)
- [Using the model](#using-the-model)

@@ -75,3 +78,4 @@ - [Using the Python package](#using-the-python-package)

```bash
wget -O - https://github.com/mozilla/DeepSpeech/releases/download/v0.3.0/deepspeech-0.3.0-models.tar.gz | tar xvfz -
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.4.0/deepspeech-0.4.0-models.tar.gz
tar xvfz deepspeech-0.4.0-models.tar.gz
```

@@ -88,2 +92,6 @@

### CUDA dependency
The GPU capable builds (Python, NodeJS, C++ etc) depend on the same CUDA runtime as upstream TensorFlow. Currently with TensorFlow r1.12 it depends on CUDA 9.0 and CuDNN v7.2.
### Using the Python package

@@ -140,2 +148,4 @@

Please ensure you have the required [CUDA dependency](#cuda-dependency).
Note: the following command assumes you [downloaded the pre-trained model](#getting-the-pre-trained-model).

@@ -167,3 +177,3 @@

```bash
python3 util/taskcluster.py --branch "v0.2.0-alpha.6 --target ."
python3 util/taskcluster.py --branch "v0.2.0-alpha.6" --target "."
```

@@ -198,2 +208,4 @@

Please ensure you have the required [CUDA dependency](#cuda-dependency).
### Installing bindings from source

@@ -240,2 +252,4 @@

Please ensure you have the required [CUDA dependency](#cuda-dependency).
### Common Voice training data

@@ -242,0 +256,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc