Skip to content

Commit 2e86503

Browse files
Arsh ZahedArsh Zahed
authored andcommitted
Update invalid dataset error message
1 parent 1313db2 commit 2e86503

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/together/utils/files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ def _check_jsonl(file: Path) -> Dict[str, Any]:
120120
raise InvalidFileFormatError(
121121
message=(
122122
f"Error parsing file. Invalid format on line {idx + 1} of the input file. "
123-
'Example of valid json: {"text": "my sample string"}. '
123+
"Datasets must follow text, conversational, or instruction format. For more"
124+
"information, see https://docs.together.ai/docs/fine-tuning-data-preparation"
124125
),
125126
line_number=idx + 1,
126127
error_source="line_type",

0 commit comments

Comments
 (0)