-
-
Couldn't load subscription status.
- Fork 10.9k
[New Model] Support BertForTokenClassification / Named Entity Recognition (NER) task #24872
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
Conversation
046a80e to
d0078ec
Compare
e9bf5b1 to
ed3dba4
Compare
Signed-off-by: wang.yuqi <noooop@126.com>
|
try: examples/online_serving/ner.py But it's definitely not very user-friendly Do you ok with that. or We still need to further optimize the API. |
|
That's great! The implementation really depends on the popularity of the token classification API. For now, a basic implementation should be more than enough imo. If more people start using it, it might be worthwhile to create a complete end-to-end flow. |
4cc1ba0 to
5a5ef91
Compare
d5ebbb6 to
dd1d36f
Compare
|
Ready for review |
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: wang.yuqi <noooop@126.com>
|
@DarkLight1337 |
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 if the test can pass
|
You didn't using auto-merge.. |
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: charlifu <charlifu@amd.com>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn>
…tion (NER) task (vllm-project#24872) Signed-off-by: wang.yuqi <noooop@126.com> Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
Purpose
Support BertForTokenClassification / Named Entity Recognition (NER) task
fix bert + Flex Attention + torch.comple by @Isotr0py
(see: #24872 (comment)
Fix #24752
Fix #25060
Test Plan
tests/models/language/pooling/test_token_classification.py
Test Result
pass
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.