Comments (9)
已解决,这个文件新建一下就好
另一个问题:entity_extractor.py 文件这个速度是正常的吗?
4
商朝在哪场战役中走向覆灭?
====当前实体mention为:商朝====
====当前实体mention为:在哪====
====当前实体mention为:场====
====当前实体mention为:战役====
====当前实体mention为:走向====
====当前实体mention为:覆灭====
====当前属性mention为:战役中====
====当前属性mention为:商朝====
====当前属性mention为:在哪====
====当前属性mention为:走向====
====当前属性mention为:覆灭====
候选实体为:
<商朝> ['商朝', 2.0, 26.0, 0.0, 2, 7]
<在哪> ['在哪', 2.0, 1.0, 2.0, 2, 3]
<场_(词语释义)> ['场', 1.0, 1.0, 4.0, 1, 2]
<场_(物理学定义)> ['场', 1.0, 1.0, 4.0, 1, 2]
<场_(戏剧术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(视频技术术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(茶家术语)> ['场', 1.0, 1.0, 4.0, 1, 1]
<场_(谭剑飞创作的诗歌)> ['场', 1.0, 1.0, 4.0, 1, 2]
<战役> ['战役', 2.0, 713.0, 5.0, 1, 5]
<巴布亚半岛战役> ['战役', 2.0, 713.0, 5.0, 1, 3]
<公元246年> ['战役', 2.0, 713.0, 5.0, 0, 2]
<走向> ['走向', 2.0, 2254.0, 8.0, 1, 3]
<覆灭> ['覆灭', 2.0, 70.0, 10.0, 1, 3]
<颠危> ['覆灭', 2.0, 70.0, 10.0, 0, 0]
"战役中" ['战役中', 3.0, 1.0, 5.0, 2, 3]
15
耗费时间236.69秒
from ccks2019-ckbqa-4th-codes.
from ccks2019-ckbqa-4th-codes.
增加索引,速度问题已改善,碰见另一个问题在运行tuple_extractor.py文件时进行similarity操作的时候
similarity.py文件中 class SimProcessor 调用了 train.csv ,这个文件数据格式是什么呢
from ccks2019-ckbqa-4th-codes.
@duterscmy 同求similarity.py 中 生成train.csv
的处理脚本~
from ccks2019-ckbqa-4th-codes.
@duterscmy 同求similarity.py 中 生成
train.csv
的处理脚本~
我按照question \t relation \t 正例还是负例(0 or 1)格式处理原问答数据,代码可以正常运行下去
from ccks2019-ckbqa-4th-codes.
0
from ccks2019-ckbqa-4th-codes.
docker运行
bin/neo4j-admin import --database=xxx.db --nodes=import/node.csv --relationships=import/relation.csv
from ccks2019-ckbqa-4th-codes.
增加索引,速度问题已改善
@miaozjs
你好,想请问一下这边的增加索引以提升速度,具体该怎么做呢?
我在这个问题"商朝在哪场战役中走向覆灭?",花费的时间比您的236.69还多2倍
謝謝您
from ccks2019-ckbqa-4th-codes.
已解決,參照 https://neo4j.com/docs/operations-manual/4.2/performance/index-configuration/
from ccks2019-ckbqa-4th-codes.
Related Issues (20)
- 文本匹配模型的准确度?
- 请问 keras和keras-bert用的是什么版本? HOT 1
- neo4j的关系种类数限制是6.5w 请问你是怎么解决的
- 文本匹配模型中dev.csv的构造方式
- 文本匹配模型中dev.csv的构造方式
- 请问train_ner.py里面的corpus_train.pkl和corpus_valid.pkl是怎么得到的呢 HOT 1
- 关于tuple_filter.py中验证集的召回率 HOT 3
- 第一次运行train_ner.py的时候,提示找不到../data/model/ner_model.h5/{saved_model.pbtxt|saved_model.pb} HOT 3
- 有关tuple_filter.py产生的结果指标,一项略低其余正常 HOT 1
- 您好,想问下similarity.py的tf版本和protobuf的版本应该是多少?很多属性值都失效了。 HOT 5
- neo4j查询慢的问题 HOT 3
- 请问pkubase-full.txt可以在哪下载 HOT 8
- tuple_filter.py文件SaveFilterCandiT函数运行error HOT 3
- 该方法是否后续发表论文了? HOT 2
- segment_dic.txt
- 请问双实体的部分没有代码实现吗? HOT 1
- 你好,tuple_filter.py用到的LR模型用到的特征,为什么只有len(mention)?bert_score等其他特征不用吗? HOT 1
- 大佬您好,请问CCKS2019电子病历命名实体识别的数据集有吗 HOT 5
- 请问作者和大家复现时各模块指标都是多少呀? HOT 8
- 内存炸了,大家都可以跑最后的answer_bot吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccks2019-ckbqa-4th-codes.