[Model][Ernie4.5-VL] Support video metadata for timestamp rendering (#31274)

Signed-off-by: dengsonghe <dengsonghe@baidu.com>
Co-authored-by: dengsonghe <dengsonghe@baidu.com>
This commit is contained in:
SongHe
2025-12-25 22:07:15 +08:00
committed by GitHub
parent 030fc44914
commit 2d6001f491
2 changed files with 82 additions and 5 deletions

View File

@@ -104,7 +104,8 @@ _IGNORE_MM_KEYS = {
}
MM_DATA_PATCHES = {
# GLM4.1V and Qwen3-VL requires video metadata to be included in the input
# Ernie4.5-VL, GLM4.1V and Qwen3-VL requires video metadata
"ernie4_5_moe_vl": qwen3_vl_patch_mm_data,
"glm4v": glm4_1v_patch_mm_data,
"glm4v_moe": glm4_1v_patch_mm_data,
"qwen3_vl": qwen3_vl_patch_mm_data,