Commit d018e4ef authored by sanlu's avatar sanlu

更新了0105一体机类的模型

parent 0478e6ba
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -154,7 +154,7 @@ class LSTMNER:
return param_dict
if __name__ == '__main__':
ner = LSTMNER('0101')
ner = LSTMNER('0105')
while 1:
a = input('请输入产品名称:')
#print(ner.class_dict)
......
......@@ -39,7 +39,7 @@ class LSTMNER:
self.class_dict = dict_create(categorycode)
self.EMBEDDING_DIM = 300
self.EPOCHS = 5
self.BATCH_SIZE = 64
self.BATCH_SIZE = 32
self.NUM_CLASSES = len(self.class_dict)
self.VOCAB_SIZE = len(self.word_dict)
self.TIME_STAMPS = 150
......@@ -209,5 +209,5 @@ class LSTMNER:
f.close()
if __name__ == '__main__':
ner = LSTMNER('0507')
ner = LSTMNER('0105')
ner.train_model()
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
[
g
)
p
n
2
J
/
c
S
b
I
A
#
E
1
m
X
5
k
f
M
v

6
;
Y
B
l
3
9
7
W
8
u
U
a
"
?
s
e
|
+
F
线
4
Z
P
Q
&
w
r
i
V
(
0
N
R
h
广
C
o
H
x
y
]
T
L
K
@
z
d
:
G
D
%
.
-
O
UNK
t
*
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment