GaoQ1/ner-slot_filling

执行训练语句,python train_evaluate.py --clean True --train True --model_type bilstm 直接跳转进了python

Happy-AiLearn opened this issue · 3 comments

您好:我用python3.6,训练出现下面情况

Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 0.699 seconds.
Prefix dict has been built succesfully.
开始训练模型!!!
13724it [00:00, 133884.01it/s]
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

请问了解为什么吗?

If u r linux/Unix, use "ctrl + D",
If windows, use "ctrl + Z". to go on training or evaluating.

为什么给出的例子的意图识别准确率很低

您好:我用python3.6,训练出现下面情况

Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 0.699 seconds.
Prefix dict has been built succesfully.
开始训练模型!!!
13724it [00:00, 133884.01it/s]
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

请问了解为什么吗?

你只需要将until文件夹下的loder.py文件的第42行的

code.interact(local=locals())

给注释掉就好了,这段代码只是用来调试的