Giter Site home page Giter Site logo

bert-kbqa-nlpcc2017's Introduction

bert-kbqa-NLPCC2017

A trial of kbqa based on bert for NLPCC2016/2017 Task 5

Step1: Get the entity from question with BERT-BiLSTM-CRF

Step2: Map the question to the sematically similartiy candidate attribute

bert-kbqa-nlpcc2017's People

Contributors

jkszw2014 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bert-kbqa-nlpcc2017's Issues

服了

没说不步骤,这个东西怎么搞

调试NER_BERT-BiLSTM-CRF任务运行在线预测失败问题

hi 大家好!

我是新手一枚,WIN10环境下调试NER_BERT-BiLSTM-CRF任务,
运行在线预测代码:python terminal_predict.py,提示下面错误:
checkpoint path:F:\bert-kbqa-master\NER_BERT-BiLSTM-CRF\output\checkpoint
going to restore checkpoint
WARNING:tensorflow:UnknownError: NewRandomAccessFile failed to Create/Open: F:\bert-kbqa-master\NER_BERT-BiLSTM-CRF\output\checkpoint : \udcbeܾ\udcf8\udcb7\udcc3\udcceʡ\udca3
; Input/output error
WARNING:tensorflow:F:\bert-kbqa-master\NER_BERT-BiLSTM-CRF\output\checkpoint: Checkpoint ignored
Traceback (most recent call last):
File "terminal_predict.py", line 67, in
saver.restore(sess, tf.train.latest_checkpoint(FLAGS.output_dir))
File "C:\Users\Admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1526, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.

12345

因为提示未找到“output\checkpoint”,所以自己创建“output\checkpoint”文件夹,想问下成功运行在线预测的时候output\checkpoint文件有什么文件。
output\checkpoint : \udcbeܾ\udcf8\udcb7\udcc3\udcceʡ\udca3

谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.