Skip to content

Commit edcd50a

Browse files
committed
fix config
1 parent 98badb2 commit edcd50a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neural_ner/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Config(object):
44
pass
55

66
config = Config()
7-
root_dir = os.path.join(os.path.expanduser('~'), 'Downloads/sequence_prediction')
7+
root_dir = os.path.join(os.path.expanduser('~'), 'sequence_prediction')
88
config.data_dir = os.path.join(root_dir, 'CoNLL-2003')
99
config.log_root = os.path.join(root_dir, 'log')
1010

@@ -40,6 +40,6 @@ class Config(object):
4040

4141
config.vocab_size = int(4e5)
4242

43-
config.is_cuda = False
43+
config.is_cuda = True
4444

45-
config.is_l2_loss = False
45+
config.is_l2_loss = False

0 commit comments

Comments
 (0)