[Model] Initialize Phi-3-vision support (#4986)

This commit is contained in:
Isotr0py
2024-06-17 19:34:33 -07:00
committed by GitHub
parent fa9e385229
commit daef218b55
8 changed files with 571 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ _GENERATION_MODELS = {
"OrionForCausalLM": ("orion", "OrionForCausalLM"),
"PhiForCausalLM": ("phi", "PhiForCausalLM"),
"Phi3ForCausalLM": ("llama", "LlamaForCausalLM"),
"Phi3VForCausalLM": ("phi3v", "Phi3VForCausalLM"),
"QWenLMHeadModel": ("qwen", "QWenLMHeadModel"),
"Qwen2ForCausalLM": ("qwen2", "Qwen2ForCausalLM"),
"Qwen2MoeForCausalLM": ("qwen2_moe", "Qwen2MoeForCausalLM"),