tinker_cookbook.exceptions.DataFormatError
class tinker_cookbook.exceptions.DataFormatError(DataError)
Data is not in the expected format.
Raised when input data (JSONL files, HuggingFace datasets, conversation
dicts, etc.) is structurally malformed — e.g. a missing messages
field in a JSONL line, or a conversation with too few tokens.