Migrate MistralForCausalLM to LlamaForCausalLM (#2868)

This commit is contained in:
Roy
2024-02-21 18:25:05 -08:00
committed by GitHub
parent 5574081c49
commit 344020c926
3 changed files with 6 additions and 379 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ _MODELS = {
"LlamaForCausalLM": ("llama", "LlamaForCausalLM"),
# For decapoda-research/llama-*
"LLaMAForCausalLM": ("llama", "LlamaForCausalLM"),
"MistralForCausalLM": ("mistral", "MistralForCausalLM"),
"MistralForCausalLM": ("llama", "LlamaForCausalLM"),
"MixtralForCausalLM": ("mixtral", "MixtralForCausalLM"),
"QuantMixtralForCausalLM": ("mixtral_quant", "MixtralForCausalLM"),
# transformers's mpt class has lower case