Socket
Socket
Sign inDemoInstall

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.6.0-alpha.12 to 0.6.0-alpha.13

lib/binding/v0.6.0-alpha.13/linux-x64/electron-v1.6/deepspeech.node

3

client.js

@@ -32,3 +32,2 @@ #!/usr/bin/env node

parser.addArgument(['--model'], {required: true, help: 'Path to the model (protocol buffer binary file)'});
parser.addArgument(['--alphabet'], {required: true, help: 'Path to the configuration file specifying the alphabet used by the network'});
parser.addArgument(['--lm'], {help: 'Path to the language model binary file', nargs: '?'});

@@ -59,3 +58,3 @@ parser.addArgument(['--trie'], {help: 'Path to the language model trie file created with native_client/generate_trie', nargs: '?'});

const model_load_start = process.hrtime();
var model = new Ds.Model(args['model'], args['alphabet'], args['beam_width']);
var model = new Ds.Model(args['model'], args['beam_width']);
const model_load_end = process.hrtime(model_load_start);

@@ -62,0 +61,0 @@ console.error('Loaded model in %ds.', totalTime(model_load_end));

@@ -28,3 +28,2 @@ 'use strict';

* @param {string} aModelPath The path to the frozen model graph.
* @param {string} aAlphabetConfigPath The path to the configuration file specifying the alphabet used by the network. See alphabet.h.
* @param {number} aBeamWidth The beam width used by the decoder. A larger beam width generates better results at the cost of decoding time.

@@ -31,0 +30,0 @@ *

{
"name" : "deepspeech-gpu",
"version" : "0.6.0-alpha.12",
"version" : "0.6.0-alpha.13",
"description" : "DeepSpeech NodeJS bindings",

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

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

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

Sorry, the diff of this file is not supported yet

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