mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-04 17:59:18 +08:00
update max_length
This commit is contained in:
@@ -317,7 +317,7 @@ def preprocess(
|
|||||||
llm_type=None,
|
llm_type=None,
|
||||||
patch_size=14,
|
patch_size=14,
|
||||||
batch_vision=False,
|
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
|
single(multi) image(s) preprocess, the image(s) will be placed at the top of the conversation
|
||||||
|
|||||||
Reference in New Issue
Block a user