Migrate InternLMForCausalLM to LlamaForCausalLM (#2860)

Co-authored-by: Roy <jasonailu87@gmail.com>
This commit is contained in:
Philipp Moritz
2024-02-13 17:12:05 -08:00
committed by GitHub
co-authored by Roy
parent 2a543d6efe
commit 7eacffd951
3 changed files with 5 additions and 302 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ _MODELS = {
"GPTBigCodeForCausalLM": ("gpt_bigcode", "GPTBigCodeForCausalLM"),
"GPTJForCausalLM": ("gpt_j", "GPTJForCausalLM"),
"GPTNeoXForCausalLM": ("gpt_neox", "GPTNeoXForCausalLM"),
"InternLMForCausalLM": ("internlm", "InternLMForCausalLM"),
"InternLMForCausalLM": ("llama", "LlamaForCausalLM"),
"InternLM2ForCausalLM": ("internlm2", "InternLM2ForCausalLM"),
"LlamaForCausalLM": ("llama", "LlamaForCausalLM"),
# For decapoda-research/llama-*