[model] add qwen2.5 vl models (#6779)

Former-commit-id: ed46fb4f6194c30060b908092464dded12e5787c
This commit is contained in:
hoshi-hiyouga
2025-01-31 03:00:29 +08:00
committed by GitHub
parent 222423bcef
commit 800de98dc8
8 changed files with 77 additions and 30 deletions

View File

@@ -286,3 +286,11 @@ _register_composite_model(
vision_model_keys=["visual.patch_embed", "visual.blocks"],
language_model_keys=["model", "lm_head"],
)
_register_composite_model(
model_type="qwen2_5_vl",
projector_key="visual.merger",
vision_model_keys=["visual.patch_embed", "visual.blocks"],
language_model_keys=["model", "lm_head"],
)