Skip to content

Commit

Permalink
Update messages datafile extension to be .jsonl (#115)
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Eyceoz <[email protected]>
  • Loading branch information
Maxusmusti authored Jul 11, 2024
1 parent 7bf1563 commit bcf1070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instructlab/sdg/generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def generate_data(

name = Path(model_name).stem # Just in case it is a file path
date_suffix = datetime.now().replace(microsecond=0).isoformat().replace(":", "_")
output_file_messages = f"messages_{name}_{date_suffix}.json"
output_file_messages = f"messages_{name}_{date_suffix}.jsonl"
output_file_test = f"test_{name}_{date_suffix}.jsonl"
# train data in messages format that will be mixed and split up into train test eventually
output_file_train = f"train_{name}_{date_suffix}.jsonl"
Expand Down

0 comments on commit bcf1070

Please sign in to comment.