[Feat] Add Support for BertForMaskedLM to vLLM (#48463)

Signed-off-by: atalhens <sneh.lata@nutanix.com>
This commit is contained in:
Snehlata
2026-07-13 20:56:25 +00:00
committed by GitHub
parent 9a21f0d1a3
commit 7738ef35b8
4 changed files with 158 additions and 2 deletions
+1
View File
@@ -576,6 +576,7 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
_EMBEDDING_EXAMPLE_MODELS = {
# [Text-only]
"BertModel": _HfExamplesInfo("BAAI/bge-base-en-v1.5"),
"BertForMaskedLM": _HfExamplesInfo("google-bert/bert-base-uncased"),
"BertSpladeSparseEmbeddingModel": _HfExamplesInfo(
"naver/splade-v3",
hf_overrides={"architectures": ["BertSpladeSparseEmbeddingModel"]},