[Model] Add LlamaEmbeddingModel as an embedding Implementation of LlamaModel (#9806)
This commit is contained in:
parent
0ce7798f44
commit
ac3d748dba
@ -95,6 +95,7 @@ _EMBEDDING_MODELS = {
|
|||||||
# [Text-only]
|
# [Text-only]
|
||||||
"BertModel": ("bert", "BertEmbeddingModel"),
|
"BertModel": ("bert", "BertEmbeddingModel"),
|
||||||
"Gemma2Model": ("gemma2", "Gemma2EmbeddingModel"),
|
"Gemma2Model": ("gemma2", "Gemma2EmbeddingModel"),
|
||||||
|
"LlamaModel": ("llama", "LlamaEmbeddingModel"),
|
||||||
"MistralModel": ("llama", "LlamaEmbeddingModel"),
|
"MistralModel": ("llama", "LlamaEmbeddingModel"),
|
||||||
"Qwen2ForRewardModel": ("qwen2_rm", "Qwen2ForRewardModel"),
|
"Qwen2ForRewardModel": ("qwen2_rm", "Qwen2ForRewardModel"),
|
||||||
"Qwen2ForSequenceClassification": (
|
"Qwen2ForSequenceClassification": (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user