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]: UIE模型schema定义问题 #6386

Open 240400968 opened 1 year ago

240400968 commented 1 year ago

请提出你的问题

任务中存在很多类型的关系,每类关系涉及实体的类型不同,一个句子存在一个或多个关系,UIE实现实体关系抽取时需定义关系schema,这时候关系schema会非常复杂且长度很大。在这种情况下,UIE的效果预估会不佳,我应该怎么用UIE处理这个场景呢?

tianchiguaixia commented 1 year ago

那可以不走关系,只定义实体。抽取实体。关系通过其他模型或者规则填入