[Model] Add support for Nanbeige4.2 (transformers backend) (#56071)

Signed-off-by: zqlcode <lizongqiang@kanzhun.com>
Signed-off-by: zql <37731799+zqlcode@users.noreply.github.com>
Co-authored-by: zqlcode <lizongqiang@kanzhun.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
zql
2026-09-14 15:06:01 +00:00
committed by GitHub
co-authored by zqlcode Harry Mellor
parent 4be3dcf0fc
commit b3124a8237
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -461,6 +461,10 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
trust_remote_code=True,
is_available_online=False,
),
"NanbeigeForCausalLM": _HfExamplesInfo(
"Nanbeige/Nanbeige4.2-3B",
trust_remote_code=True,
),
"OlmoForCausalLM": _HfExamplesInfo("allenai/OLMo-1B-hf"),
"Olmo2ForCausalLM": _HfExamplesInfo("allenai/OLMo-2-0425-1B"),
"Olmo3ForCausalLM": _HfExamplesInfo("allenai/Olmo-3-7B-Instruct"),