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

Former-commit-id: 999c7c8fe0
This commit is contained in:
hoshi-hiyouga
2025-01-31 03:00:29 +08:00
committed by GitHub
parent f6779b0e0c
commit e8c1979b79
8 changed files with 77 additions and 30 deletions

View File

@@ -59,19 +59,19 @@ class ProcessorArguments:
"""
image_resolution: int = field(
default=512 * 512,
metadata={"help": "Keeps the number of pixels of image below this resolution."},
default=768 * 768,
metadata={"help": "The maximum number of pixels of image inputs."},
)
video_resolution: int = field(
default=128 * 128,
metadata={"help": "Keeps the number of pixels of video below this resolution."},
default=256 * 256,
metadata={"help": "The maximum number of pixels of video inputs."},
)
video_fps: float = field(
default=2.0,
metadata={"help": "The frames to sample per second for video inputs."},
)
video_maxlen: int = field(
default=64,
default=128,
metadata={"help": "The maximum number of sampled frames for video inputs."},
)