aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples/lmptb/m-tests
diff options
context:
space:
mode:
authortxh18 <cloudygooseg@gmail.com>2015-11-11 20:24:34 +0800
committertxh18 <cloudygooseg@gmail.com>2015-11-11 20:24:34 +0800
commit73402335834c990dbe6a7729ace7a830ed2f91ae (patch)
treed53384e6da7efbdb635030603aab7ab35a78b006 /nerv/examples/lmptb/m-tests
parent5761e68ec1b73ed867443fb2687739395f22f2f9 (diff)
added a little debug info in reader
Diffstat (limited to 'nerv/examples/lmptb/m-tests')
-rw-r--r--nerv/examples/lmptb/m-tests/tnn_test.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/nerv/examples/lmptb/m-tests/tnn_test.lua b/nerv/examples/lmptb/m-tests/tnn_test.lua
index a2c38f0..c4890b6 100644
--- a/nerv/examples/lmptb/m-tests/tnn_test.lua
+++ b/nerv/examples/lmptb/m-tests/tnn_test.lua
@@ -238,15 +238,15 @@ valid_fn = data_dir .. '/ptb.valid.txt.adds'
test_fn = data_dir .. '/ptb.test.txt.adds'
global_conf = {
- lrate = 0.1, wcost = 1e-6, momentum = 0,
+ lrate = 1, wcost = 1e-6, momentum = 0,
cumat_type = nerv.CuMatrixFloat,
mmat_type = nerv.MMatrixFloat,
nn_act_default = 0,
hidden_size = 200,
- chunk_size = 15,
- batch_size = 1,
- max_iter = 25,
+ chunk_size = 5,
+ batch_size = 10,
+ max_iter = 20,
param_random = function() return (math.random() / 5 - 0.1) end,
train_fn = train_fn,