[Model] Initial Support for Chameleon (#5770)
This commit is contained in:
@@ -16,6 +16,9 @@ _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
|
||||
"ChatGLMModel": ("chatglm", "ChatGLMForCausalLM"),
|
||||
"ChatGLMForConditionalGeneration": ("chatglm", "ChatGLMForCausalLM"),
|
||||
"CohereForCausalLM": ("commandr", "CohereForCausalLM"),
|
||||
|
||||
Reference in New Issue
Block a user