Add Internlm2 (#2666)

This commit is contained in:
Fengzhe Zhou
2024-02-01 09:27:40 -08:00
committed by GitHub
parent 93b38bea5d
commit cd9e60c76c
4 changed files with 330 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ _MODELS = {
"GPTJForCausalLM": ("gpt_j", "GPTJForCausalLM"),
"GPTNeoXForCausalLM": ("gpt_neox", "GPTNeoXForCausalLM"),
"InternLMForCausalLM": ("internlm", "InternLMForCausalLM"),
"InternLM2ForCausalLM": ("internlm2", "InternLM2ForCausalLM"),
"LlamaForCausalLM": ("llama", "LlamaForCausalLM"),
# For decapoda-research/llama-*
"LLaMAForCausalLM": ("llama", "LlamaForCausalLM"),