mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-04 17:59:18 +08:00
Update dataset.py
Fix typo in a parameter name.
This commit is contained in:
@@ -380,7 +380,7 @@ def preprocess(
|
||||
)
|
||||
else:
|
||||
conversations[0]["content"] = (
|
||||
image_placeholder + "\n" + conversation[0]["content"]
|
||||
image_placeholder + "\n" + conversations[0]["content"]
|
||||
)
|
||||
input_dict = conversation_to_ids(conversations, tokenizer, llm_type, new_schema, max_length)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user