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

UIE 多分类问题咨询 #2919

Closed Lavender-SK closed 1 year ago

Lavender-SK commented 2 years ago

您好, 我准备用UIE解决一个多分类or多标签问题,但是标签类别特别多,有100多类,如果将prompt构造成: XX分类[类别1,类别2,类别3,...],那么整个prompt的长度就会非常长,甚至达到或超过512,不知道有没有好的解决方法

wawltor commented 2 years ago

如果是这样的场景就不太建议使用UIE来做多标签分类,你可以尝试使用我们下面的链接来说使用多标签分类 https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/text_classification

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天,即将关闭。