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
12.18k stars 2.95k forks source link

[Bug]: model_zoo/utils.py, #744, all_relation_examples在is_train=True下均为空。 #3294

Closed Q-amazing closed 1 year ago

Q-amazing commented 2 years ago

软件环境

- paddlepaddle:
- paddlepaddle-gpu: 
- paddlenlp:

重复问题

错误描述

model_zoo/utils.py, #744, all_relation_examples在is_train=True下均为空。
print(all_relation_examples)
# all_relation_examples=[]
导致doccano.py在转换uie模型数据进行微调训练任务中,关系抽取的语料为空。

稳定复现步骤 & 代码

python doccano.py \ --doccano_file ./data/doccano_ext.json \ --task_type ext \ --save_dir ./data \ --splits 0.8 0.2 0

wawltor commented 2 years ago

您好,你提的问题我们已经修复了,谢谢给我们提出问题!

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。