Giter VIP home page Giter VIP logo

Comments (8)

yumath avatar yumath commented on August 17, 2024

你可以打印tag_to_id查看少了哪些标签,然后根据代码排查原因。

from bertner.

mingxixixi avatar mingxixixi commented on August 17, 2024

你可以打印tag_to_id查看少了哪些标签,然后根据代码排查原因。

嗯嗯,谢谢

from bertner.

mingxixixi avatar mingxixixi commented on August 17, 2024

应该有六种实体,但是输出5个,这是什么问题呢
2019-11-13 11:45:51,501 - log/train.log - INFO - : precision: 0.00%; recall: 0.00%; FB1: 0.00 0

2019-11-13 11:45:51,501 - log/train.log - INFO - ANT: precision: 0.00%; recall: 0.00%; FB1: 0.00 187

2019-11-13 11:45:51,501 - log/train.log - INFO - LOC: precision: 0.00%; recall: 0.00%; FB1: 0.00 0

2019-11-13 11:45:51,501 - log/train.log - INFO - ORG: precision: 0.00%; recall: 0.00%; FB1: 0.00 98

2019-11-13 11:45:51,501 - log/train.log - INFO - PER: precision: 0.00%; recall: 0.00%; FB1: 0.00 0

2019-11-13 11:45:51,501 - log/train.log - INFO - TIM: precision: 2.54%; recal

from bertner.

yumath avatar yumath commented on August 17, 2024

@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现

from bertner.

mingxixixi avatar mingxixixi commented on August 17, 2024

@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现

我知道了,是因为我的数据太长,后面的都被截断了,所以没识别那个类别。

from bertner.

mingxixixi avatar mingxixixi commented on August 17, 2024

@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现

博主,能不能把预测的结果按输入数据的那种格式输出呢

from bertner.

mingxixixi avatar mingxixixi commented on August 17, 2024

我自己改了一下输出,但是数据和标签因为有[SEP]和[CLS]对应不上,
离 O
家 O
出 O
走 [SEP]

湖 [CLS]
北 B-LOC
省 I-LOC
京 I-LOC
山 I-LOC
县 I-LOC
怎么可以让输出的标签中没有[SEP][CLS]呢,求助

from bertner.

yumath avatar yumath commented on August 17, 2024

@mingxixixi 你可以参考之前的输出接口。我在输入数据的时候,是把这两个标记处理掉的,输出时也是截断的

from bertner.

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.