Skip to content

Commit

Permalink
[Model] Add LlamaEmbeddingModel as an embedding Implementation of Lla…
Browse files Browse the repository at this point in the history
…maModel (vllm-project#9806)

Signed-off-by: Sumit Dubey <[email protected]>
  • Loading branch information
jsato8094 authored and sumitd2 committed Nov 14, 2024
1 parent ae6019f commit a1d3604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/model_executor/models/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
# [Text-only]
"BertModel": ("bert", "BertEmbeddingModel"),
"Gemma2Model": ("gemma2", "Gemma2EmbeddingModel"),
"LlamaModel": ("llama", "LlamaEmbeddingModel"),
"MistralModel": ("llama", "LlamaEmbeddingModel"),
"Qwen2ForRewardModel": ("qwen2_rm", "Qwen2ForRewardModel"),
"Qwen2ForSequenceClassification": (
Expand Down

0 comments on commit a1d3604

Please sign in to comment.