Skip to content

Commit 62e2d1d

Browse files
committed
support new processor arg video_maxlen_ttl
1 parent b697261 commit 62e2d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llamafactory/data/mm_plugin.py

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def _cal_max_frames_each_video(durations: list, video_maxlen_ttl: int, video_max
104104
)
105105
return max_nums_of_frames
106106

107+
107108
def _get_paligemma_token_type_ids(imglens: list[int], seqlens: list[int], processor: "MMProcessor") -> list[list[int]]:
108109
r"""Get paligemma token type ids for computing loss.
109110

0 commit comments

Comments
 (0)