Git Product home page Git Product logo

Comments (15)

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

zhengxiaoxuer avatar zhengxiaoxuer commented on July 22, 2024

恩恩感谢!请问您用的requirement及其版本都有哪些

from ccks2019-ckbqa-4th-codes.

zhengxiaoxuer avatar zhengxiaoxuer commented on July 22, 2024

请问keras版本用的哪个,版本问题会报错

from ccks2019-ckbqa-4th-codes.

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

zhengxiaoxuer avatar zhengxiaoxuer commented on July 22, 2024

我的版本和你的是一样的,最后发现是keras_bert包的问题,更新包之后就可以了,感谢!

from ccks2019-ckbqa-4th-codes.

MrRace avatar MrRace commented on July 22, 2024

question_2_mention.pkl这个文件在prop_extractor.py还是有用到。那我是在train_ner.py的时候保存train和valid数据集中问句对应的实体吗?

from ccks2019-ckbqa-4th-codes.

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

ZainZhou avatar ZainZhou commented on July 22, 2024

请问作者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.

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

ZainZhou avatar ZainZhou commented on July 22, 2024

@duterscmy 模糊匹配加上也效果很差,而且加上之后速度特别慢。想请问一下 entity_mention = corpus[i]['entity_mention']从之前mention_extractor.py生成的entity_mention字段为什么在prop_extractor.py里导入了但是没有使用?是不是因为没有用这个的原因呢?

from ccks2019-ckbqa-4th-codes.

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

ZainZhou avatar ZainZhou commented on July 22, 2024

@duterscmy 我是在valid上跑的,不是测试集呀

from ccks2019-ckbqa-4th-codes.

ZainZhou avatar ZainZhou commented on July 22, 2024

@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.

ZainZhou avatar ZainZhou commented on July 22, 2024

@duterscmy answer_bot.py运行会报AttributeError: 'AnswerByPkubase' object has no attribute 'correct_index'

from ccks2019-ckbqa-4th-codes.

duterscmy avatar duterscmy commented on July 22, 2024

from ccks2019-ckbqa-4th-codes.

Related Issues (20)

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.