GithubHelp home page GithubHelp logo

rpersie / lstm_ctc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mobvoi/lstm_ctc

0.0 2.0 0.0 1.35 MB

LSTM CTC End2End Speech Recognition.

License: Other

Python 59.99% Shell 36.09% Perl 3.92%

lstm_ctc's Introduction

MOE

Mobvoi E2E speech recognition (MOE) uses high rank LSTM-CTC based models. The toolkit is inspired by Kaldi and EESEN. Data preparation, feature processing and WFST based graph operation is fork from Kaldi. LSTM-CTC deep model training is built based on Tensorflow. WFST based method from EESEN is applied to leverge token, lexicon and language model (TLG) for decoding.

Installation

The toolkit is tested on Ubuntu 16.04 LST. It requires python2.7, Tensorflow 1.8 (We haven't tested for higher version of Tensorflow), Kaldi and EESEN.

  • We put the Kaldi, EESEN and our LSTM-CTC toolkit in the same directory level. Otherwise, you may need to modify the path file (e.g. path.sh) accordingly.
 mkdir MOE
 cd MOE
  • Install tensorflow using virtual environment. Assume the python2.7 is installed.
sudo apt update
sudo apt install python-dev python-pip
sudo pip install -U virtualenv  # system-wide install
virtualenv --system-site-packages -p python2.7 tensorflow1.8
source ./tensorflow1.8/bin/activate
pip install --upgrade pip 
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp27-none-linux_x86_64.whl
python -c "import tensorflow as tf; print(tf.__version__)"
  • Clone and install Kaldi. The INSTALL file in Kaldi gives very detailed steps.

  • Clone and install EESEN. Follow the INSTALL to do installation

Experiment

We give the detailed experiment setup for WSJ and Librispeech. Refer to RESULT under each example setup for experiment detailed results.

  • Due to the GPU operation non-deterministic in model training, the result may not be reproduced exactly every time, especially for small dataset such as WSJ. To address this issue, we run the same setting on the same data multiple times. In this way we could give more meaningful comparison. For both WSJ and LibriSpeech, we ran the same setting 5 times for both baseline and treatment. The overal comparison for WSJ is result and for LibriSpeech is result.

References

This is the code we used for the following paper.

Yangyang Shi, Mei-Yuh Hwang, and Xin Lei, "END-TO-END SPEECH RECOGNITION USING A HIGH RANK LSTM-CTC BASED MODEL" submitted to ICASSP 2019

lstm_ctc's People

Contributors

shiyang1983 avatar

Watchers

James Cloos avatar Rpersie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.