[VLM][Model] Support image input for Chameleon (#6633)
This commit is contained in:
@@ -16,9 +16,10 @@ _GENERATION_MODELS = {
|
||||
"BaiChuanForCausalLM": ("baichuan", "BaiChuanForCausalLM"), # baichuan-7b
|
||||
"BaichuanForCausalLM": ("baichuan", "BaichuanForCausalLM"), # baichuan-13b
|
||||
"BloomForCausalLM": ("bloom", "BloomForCausalLM"),
|
||||
"ChameleonForCausalLM":
|
||||
("chameleon", "ChameleonForConditionalGeneration"
|
||||
), #TODO(ywang96): fix model name when huggingface fixes it
|
||||
#TODO(ywang96): remove this when huggingface fixes the model repo
|
||||
"ChameleonForCausalLM": ("chameleon", "ChameleonForConditionalGeneration"),
|
||||
"ChameleonForConditionalGeneration":
|
||||
("chameleon", "ChameleonForConditionalGeneration"),
|
||||
"ChatGLMModel": ("chatglm", "ChatGLMForCausalLM"),
|
||||
"ChatGLMForConditionalGeneration": ("chatglm", "ChatGLMForCausalLM"),
|
||||
"CohereForCausalLM": ("commandr", "CohereForCausalLM"),
|
||||
|
||||
Reference in New Issue
Block a user