[New Model] Support BertForTokenClassification / Named Entity Recognition (NER) task#24872
Merged
DarkLight1337 merged 17 commits intovllm-project:mainfrom Sep 18, 2025
Merged
Conversation
046a80e to
d0078ec
Compare
e9bf5b1 to
ed3dba4
Compare
Signed-off-by: wang.yuqi <noooop@126.com>
Collaborator
Author
|
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. |
Contributor
|
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
noooop
commented
Sep 16, 2025
Collaborator
Author
|
Ready for review |
5 tasks
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
1 task
Signed-off-by: wang.yuqi <noooop@126.com>
Collaborator
Author
|
@DarkLight1337 |
DarkLight1337
approved these changes
Sep 18, 2025
Member
DarkLight1337
left a comment
There was a problem hiding this comment.
LGTM if the test can pass
Collaborator
Author
|
You didn't using auto-merge.. |
debroy-rh
pushed a commit
to debroy-rh/vllm
that referenced
this pull request
Sep 19, 2025
…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>
5 tasks
ABC12345anouys
pushed a commit
to ABC12345anouys/vllm
that referenced
this pull request
Sep 25, 2025
…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>
charlifu
pushed a commit
to ROCm/vllm
that referenced
this pull request
Sep 25, 2025
…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>
1 task
5 tasks
choprahetarth
pushed a commit
to Tandemn-Labs/vllm
that referenced
this pull request
Oct 11, 2025
…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>
lywa1998
pushed a commit
to lywa1998/vllm
that referenced
this pull request
Oct 20, 2025
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.