xiaopp123 / bert-joint-nlu Goto Github PK
View Code? Open in Web Editor NEW使用bert做领域分类、意图识别和槽位填充任务
使用bert做领域分类、意图识别和槽位填充任务
在model_config.py中这个命令,后面的label_map这是个文件么,麻烦楼主解答一下 最好有一个执行教程
Traceback (most recent call last):
File "E:/8、Chatbot机器人/nlu-master/sample_code/random_output.py", line 33, in
dev_dct = json.load(open(sys.argv[1]), encoding='utf8')
IndexError: list index out of range
Traceback (most recent call last):
File "main.py", line 7, in
from utils import Joint_Processor
File "/Users//nnlm_gen/bert-joint-NLU/utils.py", line 6, in
from bert import modeling, tokenization, optimization
ImportError: cannot import name 'modeling' from 'bert'
我运行的时候没有模型,这个问题怎么处理呢
进程已结束,退出代码-1073741819 (0xC0000005)
看了一下main.py的函数,需要几个参数才可以运行起来
python main.py *** *** ***
git主有空回复一下啦
还有一个问题,main.py 里报eval_input_fn和eval_steps这两个变量不存在,这是不是跟输入有关?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.