调优数据集异常日志说明
调优任务创建后,状态显示为“运行失败”,报错“ModelArts.6001:Unknown error, please contact the operation and maintenance personnel or check the log to locate the specific problem.”,您可以参照下表对日志进行定位。
控制台选择格式(预期格式) | 实际格式 | 关键日志 |
|---|---|---|
MOSS | Alpaca | KeyError: 'chat' |
ShareGPT | KeyError: 'chat' | |
Alpaca | MOSS | KeyError: 'instruction' |
Alpaca增量预训练 | KeyError: 'instruction' | |
ShareGPT | KeyError: 'instruction' | |
ShareGPT | MOSS | KeyError: 'conversations' |
Alpaca | KeyError: 'conversations' | |
Alpaca增量预训练格式 | 普通的Alpaca | KeyError: 'text' |
MOSS | KeyError: 'text' | |
ShareGPT | KeyError: 'text' |
训练类型 | 实际格式 | 关键日志 |
|---|---|---|
调优 | 增量预训练(csv/xlsx) | ValueError: The columns must be arranged like [conversation_id,human,assistant]. |
ValueError: The columns of lora must be arranged like ["conversation_id", "human", "assistant"]. | ||
ValueError: The columns of sft must be arranged like ["conversation_id", "human", "assistant"]. | ||
增量预训练 | 调优(csv/xlsx) | ValueError: The columns of pretrain must be arranged like ["conversation_id", "text"]. |

对于csv、xlsx文件,平台会根据训练类型的不同,将其转为Alpaca格式或MOSS格式,选择预期的数据类型无效。

