Code Monkey home page Code Monkey logo

Comments (5)

crownpku avatar crownpku commented on August 22, 2024

是你自己的数据吗,还是用的仓库中原本的示意数据?

from information-extraction-chinese.

KobeLA24 avatar KobeLA24 commented on August 22, 2024

用的我自己的,我发现在用Initial.py生成train_q&a.txt和test_q&a.txt会出现三个问题:
1.关系类型标号对应出现错误,如:在我的train.txt中明明应该对应关系1的两个实体,在train_q&a.txt中的关系label却是0.
2.在test_q&a.txt出现了两个实体后面跟着两个关系,如实体1 实体2 0 1这种情况
以上问题不知道原因在哪
3.生成的train_q&a.txt中样本数小于train.txt, test_q&a.txt样本数小于test.txt
希望作者能给出好的解决方法,非常感谢

from information-extraction-chinese.

crownpku avatar crownpku commented on August 22, 2024

数据在你那里,你得自己debug啊....
相应异常情况的数据拿出来,按行跑程序,看看哪里出的问题呗...

from information-extraction-chinese.

KobeLA24 avatar KobeLA24 commented on August 22, 2024

好的👌

from information-extraction-chinese.

KobeLA24 avatar KobeLA24 commented on August 22, 2024

你好,我看了仓库中的数据,train.txt中1000个样本,但用initial.py生成train_q&a.txt中只有967个样本,你可以用仓库数据帮我看下怎么回事么?感谢!

from information-extraction-chinese.

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.