CUED-RNNLM toolkit present an implementation of RNNLM training (on GPU), and efficient evaluation(on CPU). We have recently released CUED-RNNLM v1.0, which support LSTM, GRU, Highway structure, as well as more flexible deep structure.
more recently, we released CUED-RNNLM v1.1, which support su-RNNLMs.
Code and example for lattice rescoring on HTK and Kaldi lattice are available as well, please feel free to send me email (chenxie95@gmail.com) if you observed any issues.
We strongly recommend you to use CUED-RNNLM v1.0 and CUED-RNNLM v1.1 (for su-RNNLM), and the old version (CUED-RNNLM v0.1) won't be maintained
CUED-RNNLM.v1.1 - CUED-RNNLM.v1.0 - CUED-RNNLM.v0.1 - Contact - Reference - License
HTK Lattice Rescore example (including su-RNNLM lattice rescoring)
HTK HLRescore, HTK Lattice Rescore example
Kaldi Patch (support to rescore Kaldi lattice directly), Kaldi Lattice Rescore example
CUED RNNLM Toolkit Document v1.0
Recipe for training and evaluation (PPL and N-best rescoring)
cued-rnnlm v0.1 (both linux and windows supported)
cued-rnnlm v0.1a (modify gradient clipping for NCE training with shared noise sample(under testing))
tools to evaluate cued-rnnlm on CPU
HTK 3.4.1 patch(RNNLM latrescore supported in HLRescore) HTKLib change file list HTKTools change file list
Example of RNNLM lattice rescore
Kaldi lattice to HTK lattice Convert Tools HTK and Kaidi Lattices
HTK 3.5 supports RNNLMs generated by CUED-RNNLM toolkit for lattice rescoring now!
rnnlm is invoked by typing the commend line
-train | RNNLM training (GPU supported only) |
-ppl | RNNLM evaluation for calculation of perplexity (CPU supported only) |
-nbest | RNNLM evaluation for N best rescoring (CPU supported only) |
-sample | Sample a specified number of words from a well-trained RNNLM (GPU supported only) |
Xie Chen - chenxie95 at gmail.com
This work is supported by Toshiba Research Europe Ltd, Cambridge Research Lab. It was also supported by EPSRC grant EP/I031022/1 (Natural Speech Technology).
We would like to thank Andreas Stolcke for porting it into windows (MS Visual C) and valuable advices.
We would like to thank Ricky Chan for providing the Kaldi lattice rescoring code for CUED-RNNLM v0.1
This toolkit is freely available under the BSD license and copyright from the RNNLM toolkit.