Skip to content

Commit 1daafdc

Browse files
authored
Update config.py
1 parent c19c320 commit 1daafdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neural_ner/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Config(object):
2222
config.test_file='eng.testb'
2323
config.label_type= 'iobes' #'iob'
2424

25-
config.lr = 0.001
25+
config.lr = 0.015
2626
config.lr_decay = 0.05
2727
config.dropout_ratio = 0.5
2828

@@ -55,7 +55,7 @@ class Config(object):
5555
config.is_l2_loss = True
5656

5757
config.model_name = 'model.NER_SOFTMAX_CHAR_CRF'
58-
config.optimizer = 'sgd_mom'
58+
config.optimizer = 'sgd'
5959

6060
config.use_pretrain_embd = True
6161

0 commit comments

Comments
 (0)