[Model] Add Ling implementation (#20680)

Signed-off-by: vito.yy <vito.yy@antgroup.com>
This commit is contained in:
ant-yy
2025-07-14 22:10:32 +08:00
committed by GitHub
parent e8cc53af5e
commit 38efa28278
4 changed files with 534 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ _TEXT_GENERATION_MODELS = {
"BaiChuanForCausalLM": ("baichuan", "BaiChuanForCausalLM"),
# baichuan-13b, lower case 'c' in the class name
"BaichuanForCausalLM": ("baichuan", "BaichuanForCausalLM"),
"BailingMoeForCausalLM": ("bailing_moe", "BailingMoeForCausalLM"),
"BambaForCausalLM": ("bamba", "BambaForCausalLM"),
"BloomForCausalLM": ("bloom", "BloomForCausalLM"),
"ChatGLMModel": ("chatglm", "ChatGLMForCausalLM"),