update max_length

This commit is contained in:
qianyu chen
2024-08-15 11:05:14 +08:00
committed by GitHub
parent 8befa86b5e
commit 6f2e885144

View File

@@ -317,7 +317,7 @@ def preprocess(
llm_type=None,
patch_size=14,
batch_vision=False,
max_length=None,
max_length=2048,
):
"""
single(multi) image(s) preprocess, the image(s) will be placed at the top of the conversation