[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

View File

@ -141,6 +141,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
trust_remote_code=True),
"BaichuanForCausalLM": _HfExamplesInfo("baichuan-inc/Baichuan2-7B-chat",
trust_remote_code=True),
"BailingMoeForCausalLM": _HfExamplesInfo("inclusionAI/Ling-lite-1.5",
trust_remote_code=True),
"BambaForCausalLM": _HfExamplesInfo("ibm-ai-platform/Bamba-9B",
extras={"tiny": "hmellor/tiny-random-BambaForCausalLM"}), # noqa: E501
"BloomForCausalLM": _HfExamplesInfo("bigscience/bloom-560m",