Skip to content

[Question]使用paddlenlp的uie模型同义词不起作用 #5610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
guiniao opened this issue Apr 11, 2023 · 1 comment
Closed

[Question]使用paddlenlp的uie模型同义词不起作用 #5610

guiniao opened this issue Apr 11, 2023 · 1 comment
Assignees
Labels
question Further information is requested triage

Comments

@guiniao
Copy link

guiniao commented Apr 11, 2023

请提出你的问题

使用paddlenlp的uie模型提取评论的属性-观点词-情感极性,配置synonyms.txt同义词,模型训练好后,利用同义词提取不起作用,问什么,这个同义词也需要大量样本训练吗

@guiniao guiniao added the question Further information is requested label Apr 11, 2023
@w5688414
Copy link
Contributor

w5688414 commented May 8, 2024

同义词是构造数据集的,如果想让模型理解您添加的同义词,需要做一些数据工程。

https://github.com/PaddlePaddle/PaddleNLP/blob/829e7f03a5a99d3c5c912a6908462fa076426e85/applications/sentiment_analysis/unified_sentiment_extraction/label_studio.py#L398C46-L398C73

@paddle-bot paddle-bot bot closed this as completed May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage
Projects
None yet
Development

No branches or pull requests

3 participants