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.16k stars 2.94k forks source link

[Question]: Save 0 examples to ./document/data\train.txt. #9317

Open wastom opened 4 weeks ago

wastom commented 4 weeks ago

请提出你的问题

python label_studio.py --label_studio_file ./document/data/label_studio.json --save_dir ./document/data --splits 0.8 0.1 0.1 --task_type ext 使用label_studio.py 转化txt的时候txt为空,只是实体提取,没有进行关系抽取,不知道为什么最后输出为空。

1111

paddlenlp 2.6.1 paddleocr 2.6 paddlepaddle 2.6.0 paddlepaddle-gpu 2.6.1 numpy 1.24.4

wawltor commented 4 weeks ago

可以提供下label studio的数据标注的截图吗?

wastom commented 4 weeks ago

可以提供下label studio的数据标注的截图吗?

2222
wawltor commented 4 weeks ago

relations里面有标注信息吗?

wastom commented 4 weeks ago

relations里面有标注信息吗?

没有,我只是打算进行实体提取,所以没加relations