Skip to main content

rnnlm

Train, export, and evaluate RNNLM for ASR.

Install

Install from pypi.

pip install rnnlm

Install in editable mode from repository root:

pip install -e .

CLI

After installation, use:

rnnlm train --help
rnnlm ppl --help
rnnlm export --help

Examples:

rnnlm train --num-epochs 30 --batch-size 400 --exp-dir rnn_lm/exp --lm-data data/train.txt --lm-data-valid data/valid.txt --bpe-model data/bpe.model
rnnlm ppl --epoch 29 --avg 5 --exp-dir rnn_lm/exp --lm-data data/test.txt --bpe-model data/bpe.model
rnnlm export --epoch 29 --avg 5 --exp-dir rnn_lm/exp --jit 1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rnnlm-0.1.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rnnlm-0.1.1-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file rnnlm-0.1.1.tar.gz.

File metadata

  • Download URL: rnnlm-0.1.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rnnlm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4f3905746805c65d1b0770518e07b1aca71584dfcc6c674938e3de26e9ca02ba
MD5 1a7640c8b63a22cb56623bafe2572a6f
BLAKE2b-256 ef5d424afdea03d08018ead7bae1fdcee5ecf02f4ae39cbe47b44086be2c645a

See more details on using hashes here.

File details

Details for the file rnnlm-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rnnlm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rnnlm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d4e2e340be5f4f19fbec9c097bd50d9418524a1630ccc6e49d7111918952153
MD5 f2fa16621aa5179f7e048f01d22c6b7d
BLAKE2b-256 b010f692759434fd7ddfe5bb840da0e2d4982e1babfd64406586ec67d95d1692

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page