[Model] GLM adaptation (#34124)

This commit is contained in:
Jee Jee Li
2026-02-09 17:32:52 +08:00
committed by GitHub
parent 5a5c43511a
commit 978a37c823
7 changed files with 13 additions and 3 deletions
+3
View File
@@ -275,6 +275,9 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
"zai-org/GLM-4.7-Flash",
min_transformers_version="5.0.0",
),
"GlmMoeDsaForCausalLM": _HfExamplesInfo(
"zai-org/GLM-5", min_transformers_version="5.0.1", is_available_online=False
),
"GPT2LMHeadModel": _HfExamplesInfo("openai-community/gpt2", {"alias": "gpt2"}),
"GPTBigCodeForCausalLM": _HfExamplesInfo(
"bigcode/starcoder",