PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
11.71k stars 2.86k forks source link

[Question]: 使用ernie-layout模型推理时对预测结果中的每个entity都漏最后一个字 #8645

Closed bohui-lv closed 1 week ago

bohui-lv commented 1 week ago

请提出你的问题

在使用ernie-layout模型进行文档信息抽取任务时,训练好的模型在预测时对每个entity都把最后一个字识别成了OTHER,导致漏掉,如图所示,图中蓝色框label是QUSTION,紫色框label是ANSWER 请问这是为什么? image