[Model]: Support internlm3 (#12037)

This commit is contained in:
RunningLeon
2025-01-15 19:35:17 +08:00
committed by GitHub
parent 3adf0ffda8
commit 97eb97b5a4
4 changed files with 28 additions and 15 deletions

View File

@@ -60,6 +60,7 @@ _TEXT_GENERATION_MODELS = {
"InternLMForCausalLM": ("llama", "LlamaForCausalLM"),
"InternLM2ForCausalLM": ("internlm2", "InternLM2ForCausalLM"),
"InternLM2VEForCausalLM": ("internlm2_ve", "InternLM2VEForCausalLM"),
"InternLM3ForCausalLM": ("llama", "LlamaForCausalLM"),
"JAISLMHeadModel": ("jais", "JAISLMHeadModel"),
"JambaForCausalLM": ("jamba", "JambaForCausalLM"),
"LlamaForCausalLM": ("llama", "LlamaForCausalLM"),