[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
@@ -210,6 +210,7 @@ _TEXT_GENERATION_MODELS = {
_EMBEDDING_MODELS = {
# [Text-only]
"BertModel": ("bert", "BertEmbeddingModel"),
"BertForMaskedLM": ("bert", "BertForMaskedLM"),
"BertSpladeSparseEmbeddingModel": ("bert", "BertSpladeSparseEmbeddingModel"),
"BgeM3EmbeddingModel": ("roberta", "BgeM3EmbeddingModel"),
"DeciLMForCausalLM": ("nemotron_nas", "DeciLMForCausalLM"),