[Model] Add HrmTextForCausalLM (Hierarchical Reasoning Model — Text) (#43098)

Signed-off-by: Wuyifei <wuyifei@me.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
yifei wu
2026-06-16 22:41:41 +08:00
committed by GitHub
co-authored by Harry Mellor
parent 3d34f8cbdc
commit a52205bccf
8 changed files with 658 additions and 0 deletions
+4
View File
@@ -335,6 +335,10 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
"hpcai-tech/grok-1", trust_remote_code=True
),
"Grok1ForCausalLM": _HfExamplesInfo("xai-org/grok-2", trust_remote_code=True),
"HrmTextForCausalLM": _HfExamplesInfo(
"sapientinc/HRM-Text-1B",
min_transformers_version="5.9.0",
),
"HunYuanDenseV1ForCausalLM": _HfExamplesInfo("tencent/Hunyuan-7B-Instruct"),
"HunYuanMoEV1ForCausalLM": _HfExamplesInfo(
"tencent/Hunyuan-A13B-Instruct", trust_remote_code=True