Comments (15)
from ccks2019-ckbqa-4th-codes.
恩恩感谢!请问您用的requirement及其版本都有哪些
from ccks2019-ckbqa-4th-codes.
请问keras版本用的哪个,版本问题会报错
from ccks2019-ckbqa-4th-codes.
from ccks2019-ckbqa-4th-codes.
我的版本和你的是一样的,最后发现是keras_bert包的问题,更新包之后就可以了,感谢!
from ccks2019-ckbqa-4th-codes.
question_2_mention.pkl这个文件在prop_extractor.py
还是有用到。那我是在train_ner.py的时候保存train和valid数据集中问句对应的实体吗?
from ccks2019-ckbqa-4th-codes.
from ccks2019-ckbqa-4th-codes.
请问作者prop_extractor.py运行后发现recall只有0.31是否过于低了?
单主语且主语为属性值问题中,能找到所有主语属性值的比例为:0.31
平均每个问题属性为:1.35
[15, 24, 90, 124, 125, 177, 208, 218, 227, 242, 258, 265, 280, 289, 294, 324, 325, 335, 339, 360, 381, 386, 388, 391]
[292, 343, 356, 370]
得到实体mention
耗费时间61.33秒
from ccks2019-ckbqa-4th-codes.
from ccks2019-ckbqa-4th-codes.
@duterscmy 模糊匹配加上也效果很差,而且加上之后速度特别慢。想请问一下 entity_mention = corpus[i]['entity_mention']
从之前mention_extractor.py生成的entity_mention字段为什么在prop_extractor.py里导入了但是没有使用?是不是因为没有用这个的原因呢?
from ccks2019-ckbqa-4th-codes.
from ccks2019-ckbqa-4th-codes.
@duterscmy 我是在valid上跑的,不是测试集呀
from ccks2019-ckbqa-4th-codes.
@duterscmy 还有一个问题就是在tuple_filter.py中在获取feature时的维度问题。
if len(gold_tuple) == len(set(gold_tuple).intersection(set(t))):
X.append([features[9][0][1]])
Y.append([1])
else:
X.append([features[9][0][1]])
Y.append([0])
在tuple_extractor.py生成的feature里只有['entity','mention',sim2]三个呀
from ccks2019-ckbqa-4th-codes.
@duterscmy answer_bot.py运行会报AttributeError: 'AnswerByPkubase' object has no attribute 'correct_index'
from ccks2019-ckbqa-4th-codes.
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.