-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[utc] add small scale models #4716
Conversation
Thanks for your contribution! |
"utc-pico": { | ||
"task_class": ZeroShotTextClassificationTask, | ||
"task_flag": "zero_shot_text_classification-utc-pico", | ||
}, | ||
}, | ||
"default": {"model": "utc-large"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为了兼容宣传中的示例,默认模型暂时还是utc-large,其他地方均改为了utc-base
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要用户输入吗?用户对 utc-large
有感知吗?没有的话可以切换
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认模型不需要用户输入。小模型在相同的case下与 utc-large 结果有出入。
TODO:根据 uie-base 构造替换当前示例。
Codecov Report
@@ Coverage Diff @@
## develop #4716 +/- ##
===========================================
+ Coverage 42.97% 43.25% +0.28%
===========================================
Files 434 435 +1
Lines 61956 61966 +10
===========================================
+ Hits 26626 26805 +179
+ Misses 35330 35161 -169
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"utc-pico": { | ||
"task_class": ZeroShotTextClassificationTask, | ||
"task_flag": "zero_shot_text_classification-utc-pico", | ||
}, | ||
}, | ||
"default": {"model": "utc-large"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要用户输入吗?用户对 utc-large
有感知吗?没有的话可以切换
PR types
Others
PR changes
Others
Description
utc-xbase
,utc-base
,utc-medium
,utc-micro
,utc-mini
,utc-nano
andutc-pico
.