You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
微调 Llama-3.2-11B-Vision-Instruct 模型时
使用openai格式数据,如 {"messages": [{"role": "system", "content": "You are an assistant that identifies uncommon cheeses."}, {"role": "user", "content": "What is this cheese?"}, {"role": "user", "content": [{"type": "image_url", "image_url": {"url": "https://upload.wikimedia.org/wikipedia/commons/3/36/Danbo_Cheese.jpg"}}]}, {"role": "assistant", "content": "Danbo"}]}
加载数据会报错 pyarrow.lib.ArrowInvalid: JSON parse error: Column(/messages/[]/content) changed from string to array in row 0 或者 ValueError: Failed to convert pandas DataFrame to Arrow Table from file /workspace/text.jsonl.
我的panda版本已经>2.0了 pandas==2.3.0
Others
如何支持openai这种格式呢?
The text was updated successfully, but these errors were encountered:
Reminder
System Info
llamafactory
version: 0.9.2.dev0Reproduction
llamafactory-cli train vision.yaml
Expected behavior
微调 Llama-3.2-11B-Vision-Instruct 模型时
使用
openai
格式数据,如{"messages": [{"role": "system", "content": "You are an assistant that identifies uncommon cheeses."}, {"role": "user", "content": "What is this cheese?"}, {"role": "user", "content": [{"type": "image_url", "image_url": {"url": "https://upload.wikimedia.org/wikipedia/commons/3/36/Danbo_Cheese.jpg"}}]}, {"role": "assistant", "content": "Danbo"}]}
加载数据会报错
pyarrow.lib.ArrowInvalid: JSON parse error: Column(/messages/[]/content) changed from string to array in row 0
或者ValueError: Failed to convert pandas DataFrame to Arrow Table from file /workspace/text.jsonl.
我的panda版本已经>2.0了
pandas==2.3.0
Others
如何支持openai这种格式呢?
The text was updated successfully, but these errors were encountered: