Skip to content
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

[Question]: 关于uie模型用于句子的情感分析任务 #4344

Closed
yunshifengyu opened this issue Jan 4, 2023 · 5 comments
Closed

[Question]: 关于uie模型用于句子的情感分析任务 #4344

yunshifengyu opened this issue Jan 4, 2023 · 5 comments
Labels
question Further information is requested stale

Comments

@yunshifengyu
Copy link

请提出你的问题

关于uie模型的介绍中对于情感倾向分析的分类只有[正向,负向],请问可以增加其分类吗?比如设置成[开心,生气,伤心,喜欢,厌恶,恐惧,惊讶]这种较细粒度的分类。
如果可以的话需要调整哪些部分的代码呢?还是只需要在构建数据集时增加options参数呢?
如果是的话,是否只需要运行
python doccano.py
--doccano_file ./data/doccano_cls.json
--task_type cls
--save_dir ./data
--splits 0.8 0.1 0.1
--schema_lang ch
--options "伤心" "开心" "厌恶" "喜欢" "生气" "惊讶" "恐惧"
后续微调步骤不变?

@yunshifengyu yunshifengyu added the question Further information is requested label Jan 4, 2023
@github-actions github-actions bot added the triage label Jan 4, 2023
@datalee
Copy link

datalee commented Jan 5, 2023

不建议这么做,直接用分类就好了,哈哈哈哈哈

@yunshifengyu
Copy link
Author

不建议这么做,直接用分类就好了,哈哈哈哈哈

这个微调任务不是就是一个分类任务嘛,直接用分类应该咋搞呢,小白不太懂

@datalee
Copy link

datalee commented Jan 5, 2023

不建议这么做,直接用分类就好了,哈哈哈哈哈

这个微调任务不是就是一个分类任务嘛,直接用分类应该咋搞呢,小白不太懂

严格来说,这个是抽取任务,会抽空,或者抽出来多个

@sijunhe sijunhe removed the triage label Jan 10, 2023
@github-actions
Copy link

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

@github-actions github-actions bot added the stale label Mar 12, 2023
@github-actions
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

3 participants