Bump transformers version for Llama 3.1 hotfix and patch Chameleon (#6690)

This commit is contained in:
Roger Wang
2024-07-23 13:47:48 -07:00
committed by GitHub
parent 507ef787d8
commit 1bedf210e3
7 changed files with 32 additions and 177 deletions

View File

@@ -16,8 +16,6 @@ _GENERATION_MODELS = {
"BaiChuanForCausalLM": ("baichuan", "BaiChuanForCausalLM"), # baichuan-7b
"BaichuanForCausalLM": ("baichuan", "BaichuanForCausalLM"), # baichuan-13b
"BloomForCausalLM": ("bloom", "BloomForCausalLM"),
#TODO(ywang96): remove this when huggingface fixes the model repo
"ChameleonForCausalLM": ("chameleon", "ChameleonForConditionalGeneration"),
"ChameleonForConditionalGeneration":
("chameleon", "ChameleonForConditionalGeneration"),
"ChatGLMModel": ("chatglm", "ChatGLMForCausalLM"),