Fix log message on writing JSONL data to file

This commit is contained in:
Debanjum Singh Solanky 2022-09-10 21:40:08 +03:00
parent ec675d27d3
commit f97308bef2

View file

@ -44,7 +44,7 @@ def dump_jsonl(jsonl_data, output_path):
with open(output_path, 'w', encoding='utf-8') as f: with open(output_path, 'w', encoding='utf-8') as f:
f.write(jsonl_data) f.write(jsonl_data)
logger.info(f'Wrote {len(jsonl_data)} lines to jsonl at {output_path}') logger.info(f'Wrote jsonl data to {output_path}')
def compress_jsonl_data(jsonl_data, output_path): def compress_jsonl_data(jsonl_data, output_path):