CNTK/ExampleSetups/SLU
Dong Yu 802b2194b5 change CNTK book author list to include additional contributors and sort in alphabetical order.
Change SLU/lstmNDl.txt to use outputs as the output node to be consistent with simple network builder.

Modify README and rename old README to KaldiReaderReadme
2015-12-04 17:54:44 -08:00
..
README.txt Experiment setup update for G2P 2015-05-29 22:45:24 -07:00
conlleval.pl First Release of CNTK 2014-08-29 16:21:42 -07:00
feat.txt First Release of CNTK 2014-08-29 16:21:42 -07:00
globals.config SLU example update 2015-05-20 14:11:16 -07:00
lbl.txt First Release of CNTK 2014-08-29 16:21:42 -07:00
lstmNDL.txt change CNTK book author list to include additional contributors and sort in alphabetical order. 2015-12-04 17:54:44 -08:00
rnnlu.config fix bugs in SLU/LSTMNDL.txt and clean SLU/rnnlu.config. 2015-12-04 10:00:38 -08:00
rnnluModelEditor.txt values of optional args in NDL and MEL can now be in quotes, which is recommended for future BrainScript compatibility for all strings; 2015-11-26 23:52:04 -08:00
score.sh "Correct Fix for bugs in SLU example in CNTKBook" 2014-12-04 16:23:14 -08:00

README.txt

These examples demonstrate several ways to train and evaluate acoustic models using CNTK. 
Below is a brief description of the examples. 

** Note that these examples are designed to demonstrate functionality of CNTK. The particular parameter settings do not necessarily result in state of the art performance. **

To Use:
=======
Modify the following files:
* globals.config in "configs" to reflect your current experimental setup)
* modify "DeviceNumber" in globals.config to specify CPU (<0) or GPU (>=0)
* all SCP files (lists of files) in "lib/scp" to point to your feature files

Run the command line with both globals.config and the desired config, separated by a +
* for example: cntk configFile=globals.config+rnnlu.config

* note that full paths to config files need to be provided if you are not inside the config directory
* for example 
*  C:\dev\cntk5\x64\release\CNTK.exe configFile=C:\dev\cntk5\ExampleSetups\SLU\globals.config+C:\dev\cntk5\ExampleSetups\SLU\rnnlu.config

Scoring
* ./score.sh 
* however, need to supply feature and lable files, which are not included in this 
* distribution due to copy right issues.

Path Definitions:
=================
* globals.config [defines paths to feature and label files and experiments]

Check training loss
==========================
$ grep Finish log_LSTM_LSTMTest.log
Finished Epoch[1]: [Training Set] Train Loss Per Sample = 0.62975813    EvalErr Per Sample = 0.62975813   Ave Learn Rate Per Sample = 0.1000000015  Epoch Time=5250.689
Finished Epoch[1]: [Validation Set] Train Loss Per Sample = 0.2035009  EvalErr Per Sample = 0.2035009

------ code changed and the following need to be verified ----
------ May 29 2015
--------------------------------------------------------------
Network Training Examples:
==========================
* rnnlu.config 

# iter 10, learning rate 0.1
accuracy:  98.01%; precision:  93.75%; recall:  94.04%; FB1:  93.89
# iter 20, learning rate 0.1
accuracy:  98.04%; precision:  94.05%; recall:  94.15%; FB1:  94.10
# iter 30, leraning rate 0.1
accuracy:  98.03%; precision:  94.05%; recall:  94.15%; FB1:  94.10