File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,25 @@ class Config(object):
23
23
config .label_type = 'iobes' #'iob'
24
24
25
25
config .lr = 0.001
26
+ config .lr_decay = 0.05
26
27
config .dropout_ratio = 0.5
27
28
28
29
config .max_grad_norm = 5.0
29
- config .batch_size = 1
30
+ config .batch_size = 10
30
31
config .num_epochs = 100
31
32
32
33
config .print_every = 100
33
34
34
- config .reg_lambda = 0.00007
35
+ config .reg_lambda = 1e-8
35
36
36
37
config .dropout_rate = 0.5
37
38
38
39
config .lower = True
39
40
config .zeros = True
40
41
config .random_init = True
41
42
42
- config .char_embd_dim = 25
43
- config .char_lstm_dim = 25
43
+ config .char_embd_dim = 30
44
+ config .char_lstm_dim = 30
44
45
config .word_emdb_dim = 100
45
46
config .word_lstm_dim = 100
46
47
config .caps_embd_dim = 3
@@ -51,7 +52,7 @@ class Config(object):
51
52
52
53
config .is_cuda = True
53
54
54
- config .is_l2_loss = False
55
+ config .is_l2_loss = True
55
56
56
57
config .model_name = 'model.NER_SOFTMAX_CHAR_CRF'
57
58
config .optimizer = 'sgd_mom'
You can’t perform that action at this time.
0 commit comments