Comments (8)
你可以打印tag_to_id查看少了哪些标签,然后根据代码排查原因。
from bertner.
你可以打印tag_to_id查看少了哪些标签,然后根据代码排查原因。
嗯嗯,谢谢
from bertner.
应该有六种实体,但是输出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.
@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现
from bertner.
@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现
我知道了,是因为我的数据太长,后面的都被截断了,所以没识别那个类别。
from bertner.
@mingxixixi 可能是你测试数据集中没有第六个类别。你Po的这段,是程序在测试集上的表现
博主,能不能把预测的结果按输入数据的那种格式输出呢
from bertner.
我自己改了一下输出,但是数据和标签因为有[SEP]和[CLS]对应不上,
离 O
家 O
出 O
走 [SEP]
湖 [CLS]
北 B-LOC
省 I-LOC
京 I-LOC
山 I-LOC
县 I-LOC
怎么可以让输出的标签中没有[SEP][CLS]呢,求助
from bertner.
@mingxixixi 你可以参考之前的输出接口。我在输入数据的时候,是把这两个标记处理掉的,输出时也是截断的
from bertner.
Related Issues (20)
- 如何 将生成的ckpt文件转换为pb文件
- 项目引用格式 HOT 1
- 训练出来模型,同样话predict出来结果不一致,大概是5次中有一次不一样 HOT 10
- ModuleNotFoundError: No module named 'tensorflow.contrib' HOT 1
- What is the use of the .dev file in data? HOT 3
- ner_predict.utf8预测结果的问题 HOT 2
- ValueError: Couldn't find 'checkpoint' file or checkpoints in given directory chinese_L-12_H-768_A-12/bert_model.ckpt HOT 1
- 代码复现第4步(训练)遇到问题 HOT 3
- 训练结果相关问题
- GPU没有被使用
- 如何加入早停机制呢,放钩子? HOT 1
- config_file HOT 1
- lstm_outputs = self.biLSTM_layer(lstm_inputs, self.lstm_dim, self.lengths)为什么 lstm_outputs的维度是(?,?,786)这里的问号为什么不是实数呢?) HOT 4
- 用其他数据集跑,因为数据集标签不同,报错“ KeyError: 'B-Project' ”,请问如何解决? HOT 2
- 请问data里的bio是怎么生成的,如何进行bio标注
- 没有日志 HOT 1
- 有关iteration step epoch的问题 HOT 1
- 有关评估指标的问题 HOT 5
- 请教一下 HOT 1
- 请教一下 precision recall为零的原因
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 bertner.